ogs6py.classes.processes

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

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

class ogs6py.classes.processes.Processes

Bases: BuildTree

Class for managing the processes section in the project file.

add_process_variable(**args)

Adds a process variable.

Parameters:
  • process_variable (str) –

  • process_variable_name (str) –

  • secondary_variable (str) –

  • output_name (str) –

add_surfaceflux(**args)

Add SurfaceFlux

Parameters:
  • mesh (str) –

  • property_name (str) –

Raises:

KeyError – DESCRIPTION.

Return type:

None.

classmethod populate_tree(tag, text='', attr=None, children=None)

method to create dictionary from an xml entity

set_constitutive_relation(**args)

Sets constituitive relation

Parameters:
  • to (any pair tag="value" translates) –

  • section (<tag>value</tag> in process) –

set_process(**args)

Set basic process properties.

Parameters:
  • name (str) –

  • type (str) –

  • integration_order (str) –

  • darcy_gravity (list or tuple) – holding darcy accelleration as vector

  • to (any pair tag="value" translates) –

  • section (<tag>value</tag> in process) –