Welcome to Genepy’s documentation!
genepy is a python module designed to evaluate symbolic (mathematic) expression to build analytical velocity functions varying in space and time, define the rheological parameters of a long-term geodynamic model, and generate input file for pTatin3d. It is a pre-processing tool.
This module can:
evaluate and print mathematical expression for the velocity and initial plastic strain distribution
attribute rheological parameters to regions identified by a tag (integer value)
handle simple mesh refinement for a structured mesh using linear interpolation
generate options file for pTatin3d simulations
Some examples can be found in scripts subdirectory. Check out the Usage section for further information, including how to install the project.
Note
This module is still under development.
Contents
- Usage
- Installation
- Building a model
- Building a mesh with Gmsh for the initial geometry and boundary conditions
- Example: simple model, linear viscous rheology
- Example: oblique model, non-linear rheology
- Example: strike-slip model, rotated velocity field and mesh refinement
- Example: Two phases model, extension followed by compression
- Arbitrary Lagrangian Eulerian (ALE) model
- Run pTatin3d
- Module genepy
- Initial conditions
- Domain
- Mesh refinement
- Rotation
- Gaussian
- Plastic strain
- Heat source
- ICs pTatin3d options generation
- Boundary conditions
- Velocity
VelocityVelocityLinearVelocityLinear.VelocityLinearVelocityLinear.VelocityLinear.normVelocityLinear.VelocityLinear.alphaVelocityLinear.VelocityLinear.typeVelocityLinear.VelocityLinear.dirVelocityLinear.VelocityLinear.uOVelocityLinear.VelocityLinear.uLVelocityLinear.VelocityLinear.aVelocityLinear.VelocityLinear.bVelocityLinear.VelocityLinear.vertical_evaluatedVelocityLinear.VelocityLinear.uVelocityLinear.VelocityLinear.grad_uVelocityLinear.VelocityLinear.u_dir_horizontalVelocityLinear.VelocityLinear.u_dir
VelocityLinear.boundary_vector()VelocityLinear.evaluate_velocity_and_gradient_symbolic()VelocityLinear.evaluate_velocity_numeric()VelocityLinear.evaluate_velocity_symbolic()VelocityLinear.evaluate_vertical_velocity()VelocityLinear.evaluate_vertical_velocity_coefficients()VelocityLinear.velocity_boundary()VelocityLinear.velocity_coefficients()VelocityLinear.velocity_coefficients_1d()VelocityLinear.velocity_function()VelocityLinear.velocity_function_1d()
VelocityLinearAsymmetricVelocityTimeDependantVelocityInversionVelocityInversion.VelocityInversionVelocityInversion.VelocityInversion.phasesVelocityInversion.VelocityInversion.breakpointsVelocityInversion.VelocityInversion.slopesVelocityInversion.VelocityInversion.uVelocityInversion.VelocityInversion.grad_uVelocityInversion.VelocityInversion.u_dir_horizontalVelocityInversion.VelocityInversion.u_dir
VelocityInversion.evaluate_velocity_and_gradient_symbolic()VelocityInversion.evaluate_velocity_symbolic()VelocityInversion.get_time_zero_velocity()VelocityInversion.plot_1D_velocity()VelocityInversion.velocity_function()VelocityInversion.velocity_function_derivative()
VelocityCompose
- Options generation
- Velocity
- Material parameters
- Wrapper for material parameters
- Parent class for all material parameters.
- Density
- Viscosity
- Constant viscosity
- Frank-Kamenetskii viscosity
- Depth-dependent viscosity
- Arrhenius viscosity
ViscosityArrheniusViscosityArrhenius.ViscosityArrheniusViscosityArrhenius.ViscosityArrhenius.preexpAViscosityArrhenius.ViscosityArrhenius.AscaleViscosityArrhenius.ViscosityArrhenius.entalpyViscosityArrhenius.ViscosityArrhenius.VmolViscosityArrhenius.ViscosityArrhenius.nexpViscosityArrhenius.ViscosityArrhenius.TrefViscosityArrhenius.ViscosityArrhenius.model_nameViscosityArrhenius.ViscosityArrhenius.region
ViscosityArrhenius.arrhenius_flow_laws()
ViscosityArrhenius2ViscosityArrheniusDislDiffViscosityArrheniusDislDiff.ViscosityArrheniusDislDiffViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.preexpA_diffViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.Ascale_diffViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.entalpy_diffViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.Vmol_diffViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.pexp_diffViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.gsizeViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.preexpA_dislViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.Ascale_dislViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.entalpy_dislViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.Vmol_dislViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.nexp_dislViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.TrefViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.model_nameViscosityArrheniusDislDiff.ViscosityArrheniusDislDiff.region
- Pasticity
- No plasticity
- VonMises plasticity
- Drucker-Prager plasticity
PlasticDruckerPragerPlasticDruckerPrager.PlasticDruckerPragerPlasticDruckerPrager.PlasticDruckerPrager.frictionPlasticDruckerPrager.PlasticDruckerPrager.friction_infPlasticDruckerPrager.PlasticDruckerPrager.cohesionPlasticDruckerPrager.PlasticDruckerPrager.cohesion_infPlasticDruckerPrager.PlasticDruckerPrager.tension_cutoffPlasticDruckerPrager.PlasticDruckerPrager.highstress_cutoffPlasticDruckerPrager.PlasticDruckerPrager.healing_ratePlasticDruckerPrager.PlasticDruckerPrager.model_namePlasticDruckerPrager.PlasticDruckerPrager.region
- Plastic strain softening
- Temperature-dependent softening
- Energy
- Model
- Markers management
- Passive tracers
- Surface processes
- Initial conditions