ogstools.ogs6py.processes module#
- class ogstools.ogs6py.processes.Processes[source]#
Bases:
BuildTreeClass for managing the processes section in the project file.
- add_process_variable(process_variable='', process_variable_name='')[source]#
Adds a process variable.
- add_secondary_variable(internal_name, output_name)[source]#
Adds a secondary variable.
param: internal_variable: param: output_name:
- Return type:
- set_process(**args)[source]#
Set basic process properties. Any pair tag=”value” translates to <tag>value</tag> in process section.
- Return type:
Parameters#
name : str type : str integration_order : str darcy_gravity/specific_body_force : list or tuple
- set_constitutive_relation(**args)[source]#
Sets constituitive relation.
- Return type:
Parameters#
Any pair property=”parameter_name” translates to <property>parameter_name</property> in constitutive_relation section if more constitutuitive relations are given use id key word.
- add_surfaceflux(**args)[source]#
Add a SurfaceFlux.
- Return type:
Parameters#
mesh : str property_name : str
Raises#
- KeyError
DESCRIPTION.
Returns#
None.
- set_ice_constitutive_relation(*, id=None, **args)[source]#
Sets ice constituitive relation.
- Parameters:
args (
Any) – Keyword arguments describing the constitutive relation. Anyproperty="parameter_name"pair is translated to<property>parameter_name</property>in theice_constitutive_relationsection.- Example:
>>> project.processes.set_ice_constitutive_relation( ... type="LinearElasticIsotropic", ... youngs_modulus="E", ... poissons_ratio="nu", ... )
- Return type: