config
Definitions of boundary/domain conditions for a scalar transport equation.
- class FarField(fields: transportfields | None = None)
Farfield condition for a scalar transport equation.
The farfield condition imposes the value $phi_{infty}$ at the prescribed boundaries. This imposes the value, by taking a look at the characteristics which determine if this is an inlet or an outlet. Additionally, this also is imposed via the viscous fluxes, if diffusion is included as well.
- Note:
See
add_farfield_formulation
for the implementation of the farfield condition in the HDG formulation. Similarly,add_farfield_formulation
for a standard DG formulation.
- class transportfields(other: ngsdict = None, **kwargs)
Mutable mapping for flow quantities.
Literal mathematical symbols as key names are converted to their respective quantities, if predefined. Values are converted to NGSolve CoefficientFunctions.
>>> fields = transportfields(phi=1.0) >>> fields {'phi': CoefficientFunction((1.0))}
- phi
phi \(\phi\)