createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.


Info<< "Creating phaseSystem\"<< endl;autoPtr< phaseSystem > fluidPtr (phaseSystem::New(mesh))
dimensionedScalar pMin ("pMin", dimPressure, fluid)


phaseSystem & fluid = fluidPtr()
phaseSystem::phaseModelList & phases = fluid.phases()
volScalarField & p = phases[0].thermoRef().p()
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);label pRefCell=0;scalar pRefValue=0.0;if(fluid.incompressible()){ p=max(p_rgh+fluid.rho() *gh, pMin);if(p_rgh.needReference()) { setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue);p+=dimensionedScalar("p", p.dimensions(), pRefValue - getRefCellValue(p, pRefCell));p_rgh=p - fluid.rho() *gh;}}mesh.setFluxRequired(;PtrList< volScalarField > rAUs
PtrList< surfaceScalarField > rAUfs

Function Documentation

◆ fluidPtr()

Info<< "Creating phaseSystem\n" << endl;autoPtr<phaseSystem> fluidPtr ( phaseSystem::New(mesh )

◆ pMin()

dimensionedScalar pMin ( "pMin"  ,
dimPressure  ,

Referenced by pressureControl::limit(), pressureControl::pressureControl(), and while().

Here is the caller graph for this function:

Variable Documentation

◆ fluid

◆ phases

phaseSystem::phaseModelList& phases = fluid.phases()

Definition at line 12 of file createFields.H.

Referenced by forAll(), if(), and while().

◆ p

volScalarField& p = phases[0].thermoRef().p()

Definition at line 23 of file createFields.H.

◆ rAUs

Info<< "Reading field p_rgh\n" << endl;volScalarField p_rgh( IOobject ( "p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);label pRefCell = 0;scalar pRefValue = 0.0;if (fluid.incompressible()){ p = max(p_rgh + fluid.rho()*gh, pMin); if (p_rgh.needReference()) { setRefCell ( p, p_rgh, pimple.dict(), pRefCell, pRefValue ); p += dimensionedScalar ( "p", p.dimensions(), pRefValue - getRefCellValue(p, pRefCell) ); p_rgh = p - fluid.rho()*gh; }}mesh.setFluxRequired(;PtrList<volScalarField> rAUs

Definition at line 67 of file createFields.H.

Referenced by forAll(), if(), and while().

◆ rAUfs

PtrList<surfaceScalarField> rAUfs

Definition at line 68 of file createFields.H.

Referenced by forAll(), if(), and while().