pyoomph.expressions.coordsys module

class pyoomph.expressions.coordsys.BaseDifferentialGeometryCoordinateSystem[source]

Bases: BaseCoordinateSystem

A coordinate system that uses differential geometry to define grad, div, etc. This is just a base class. Please inherit from this class and implement at least the method get_real_position_vector_from_mesh_coordinates().

add_additional_parametric_variable(name, value_to_substitute=0, dx_integration_factor=None)[source]

Add a new local coordinate to the coordinate system. This can be e.g. phi in an axisymmetric coordinate system

Return type:

Expression

additional_local_coordinates

Additional local coordinates (used for e.g. additional normal mode)

additional_vector_component_suffixes

Additional vector components (used for e.g. additional normal mode)

max_nodal_dimension

Select the maximum supported nodal dimension of the mesh

use_subexpressions

Use subexpressions for the transformations

vector_component_suffixes

Select suffixes of the vector components