ogstools.ogs6py.processes module#

Copyright (c) 2012-2024, OpenGeoSys Community (http://www.opengeosys.org)
Distributed under a Modified BSD License.

See accompanying file LICENSE or http://www.opengeosys.org/project/license

class ogstools.ogs6py.processes.Processes[source]#

Bases: BuildTree

Class for managing the processes section in the project file.

__init__(tree)[source]#
add_process_variable(process_variable='', process_variable_name='')[source]#

Adds a process variable.

Parameters#

process_variable : str process_variable_name : str

add_secondary_variable(internal_name, output_name)[source]#

Adds a secondary variable.

Parameters#

internal_variable : str output_name : str

set_process(**args)[source]#

Set basic process properties. Any pair tag=”value” translates to <tag>value</tag> in process section.

Parameters#

name : str type : str integration_order : str darcy_gravity/specific_body_force : list or tuple

set_constitutive_relation(**args)[source]#

Sets constituitive relation.

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_bhe_type(bhe_type)[source]#

Adds a BHE type-

add_bhe_component(index=0, **args)[source]#

Adds a BHE component.

add_surfaceflux(**args)[source]#

Add a SurfaceFlux.

Parameters#

mesh : str property_name : str

Raises#

KeyError

DESCRIPTION.

Returns#

None.