OpenPisco.PhysicalSolvers.OpenFoamSteadyState module#

OpenPisco.PhysicalSolvers.OpenFoamSteadyState.CheckIntegrity(GUI=False)[source]#
OpenPisco.PhysicalSolvers.OpenFoamSteadyState.CheckIntegrity3D(GUI: bool = False)[source]#
class OpenPisco.PhysicalSolvers.OpenFoamSteadyState.OpenFoamSteadyState(openFoamConfig: Optional[OpenFoamGeneralConfig] = None)[source]#

Bases: SolverBase

ComputeAuxiliaryField(name)[source]#
ComputeShearStress()[source]#
ComputeStrain()[source]#
ComputeStress()[source]#
CreateCaseDirectories()[source]#
DefineSolverConfig()[source]#
GetAuxiliaryField(name, on='Centroids', onCleanMesh=True, index=None)[source]#

Retrieve an auxiliary field on the computational support specified by the keyword “on”

Parameters
  • name (name of the field to be retrieved) – _description_

  • on (FN, optional) – computational support of the field, by default FN.Nodes

  • index (Optional[int], optional) – index of the field to be retrieved (if needed), by default None

Raises

NotImplementedError – To be redefined in derived class if needed

GetCellField(name, onCleanMesh=True, index=None)[source]#
GetGradientVelocity()[source]#
GetNodalField(name, onCleanMesh=True, index=None)[source]#
GetNodalSolution(onCleanMesh=True)[source]#

Retrieve the PDE solution at mesh nodes

Parameters

i (int, optional) – solution index, by default 0

Raises

NotImplementedError – to be redefined in derived class

GetSolution()[source]#
PostSolver()[source]#
PrepareBoundaryConditions()[source]#
SetSolverInterface()[source]#
Solve()[source]#
SolveByLevelSet(levelset)[source]#
WriteBoundaryConditions()[source]#
WriteControlDict()[source]#
WriteFVSchemes()[source]#
WriteFVSolution()[source]#
WriteMomentumTransport()[source]#
WritePhysicalProperties()[source]#
WriteSupport()[source]#
WriteVariableConditions(variableName, fieldType, dimensions)[source]#