eqiora.formulation
Choose a mathematical formulation and inspect the resolved choice.
View sourceExample: choose a conservative form
Section titled “Example: choose a conservative form”With model and mesh from a scalar elliptic setup in
modeling:
import eqiora
plan = eqiora.resolve( model, mesh=mesh, spatial=eqiora.fvm.CellCenteredTpfa(), formulation=eqiora.formulation.IntegralConservative,)This pairs a conservative mathematical form with a finite-volume policy.
Use PrimalGalerkin with scalar Q1 finite elements and MixedGalerkin with
mixed velocity/pressure elements. The formulation, the spatial method, and the
model must all be compatible.
FormulationKind
Section titled “FormulationKind”Formulation families that a resolved Plan can use.
FirstOrderEvolution is the first-order form produced by automatic time normalization.
FormulationSelectionMode
Section titled “FormulationSelectionMode”See eqiora.FormulationSelectionMode.
Whether a Formulation was selected automatically or supplied explicitly.
FormulationView
Section titled “FormulationView”Mathematical formulation chosen when the Model was resolved into a Plan.
PrimalGalerkin
Section titled “PrimalGalerkin”Primal Galerkin form used by scalar and displacement fields.
PrimalGalerkin: Final[FormulationKind]MixedGalerkin
Section titled “MixedGalerkin”Mixed Galerkin form used by coupled velocity-pressure fields.
MixedGalerkin: Final[FormulationKind]IntegralConservative
Section titled “IntegralConservative”Integral-conservative form used by face-flux finite volumes.
IntegralConservative: Final[FormulationKind]