ogs6py.classes.processvars

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.processvars.ProcessVars

Bases: BuildTree

Managing the process variables section in the project file.

add_bc(**args)

Adds a boundary condition.

Parameters:
  • process_variable_name (str) –

  • type (str) –

  • geometrical_set (str) –

  • geometry (str) –

  • component (int or str) –

  • parameter (str) –

  • bc_object (str) –

  • mesh (str) –

add_st(**args)

add a source term

Parameters:
  • process_variable_name (str) –

  • type (str) –

  • geometrical_set (str) –

  • geometry (str) –

  • component (int or str) –

  • parameter (str) –

  • source_term_object (str) –

  • mesh (str) –

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

method to create dictionary from an xml entity

set_ic(**args)

Set initial conditions.

Parameters:
  • process_variable_name (str) –

  • components (int or str) –

  • order (int or str) –

  • initial_condition` (str) –