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(p_rgh.name());PtrList< volScalarField > | rAUs |
|
PtrList< surfaceScalarField > | rAUfs |
|
◆ fluidPtr()
Info<< "Creating phaseSystem\n" << endl;autoPtr<phaseSystem> fluidPtr |
( |
phaseSystem::New(mesh) |
| ) |
|
◆ pMin()
dimensionedScalar pMin |
( |
"pMin" |
, |
|
|
dimPressure |
, |
|
|
fluid |
|
|
) |
| |
◆ fluid
Definition at line 11 of file createFields.H.
Referenced by NicenoKEqn< BasicMomentumTransportModel >::bubbleG(), LaheyKEpsilon< BasicMomentumTransportModel >::bubbleG(), mixtureKEpsilon< BasicMomentumTransportModel >::bubbleG(), mixtureKEpsilon< BasicMomentumTransportModel >::correct(), continuousGasKEpsilon< BasicMomentumTransportModel >::correctNut(), mixtureKEpsilon< BasicMomentumTransportModel >::correctNut(), mixtureKEpsilon< BasicMomentumTransportModel >::Ct2(), for(), forAll(), continuousGasKEqn< BasicMomentumTransportModel >::liquidTurbulence(), continuousGasKEpsilon< BasicMomentumTransportModel >::liquidTurbulence(), SmagorinskyZhang< BasicMomentumTransportModel >::read(), NicenoKEqn< BasicMomentumTransportModel >::read(), LaheyKEpsilon< BasicMomentumTransportModel >::read(), kOmegaSSTSato< BasicMomentumTransportModel >::read(), continuousGasKEpsilon< BasicMomentumTransportModel >::rhoEff(), mixtureKEpsilon< BasicMomentumTransportModel >::rhogEff(), mixtureKEpsilon< BasicMomentumTransportModel >::rholEff(), and while().
◆ phases
phaseSystem::phaseModelList& phases = fluid.phases() |
volScalarField& p = phases[0].thermoRef().p() |
◆ 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(p_rgh.name());PtrList<volScalarField> rAUs |
◆ rAUfs
PtrList<surfaceScalarField> rAUfs |