Go to the documentation of this file.
35 p_rgh.boundaryField(),
38 - (
mesh.Sf().boundaryField() &
U.boundaryField())
39 )/(
mesh.magSf().boundaryField()*
rAUf.boundaryField())
46 while (
pimple.correctNonOrthogonal())
58 if (
pimple.finalNonOrthogonalIter())
63 U.correctBoundaryConditions();
79 if (
p_rgh.needReference())
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
const surfaceScalarField & ghf
surfaceScalarField phig(-rAUf *ghf *fvc::snGrad(rhok) *mesh.magSf())
tmp< surfaceScalarField > interpolate(const RhoType &rho)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
setSnGrad< fixedFluxPressureFvPatchScalarField >(p_rgh.boundaryField(),(phiHbyA.boundaryField() - MRF.relative(mesh.Sf().boundaryField() &U.boundaryField()))/(mesh.magSf().boundaryField() *rAUf.boundaryField()))
Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating phaseChangeTwoPhaseMixture\n"<< endl;autoPtr< phaseChangeTwoPhaseMixture > mixture
interfaceProperties interface(alpha1, U, mixture())
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
const volScalarField & vDotvP
Pair< tmp< volScalarField > > vDotP
fvMatrix< scalar > fvScalarMatrix
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
surfaceVectorField n(mesh.Sf()/mesh.magSf())
const dimensionedScalar & pSat
const volScalarField & gh
const volScalarField & vDotcP
GeometricField< vector, fvPatchField, volMesh > volVectorField
volScalarField rAU("rAU", 1.0/UEqn().A())
scalar getRefCellValue(const volScalarField &field, const label refCelli)
Return the current value of field in the reference cell.
MRF makeRelative(phiHbyA)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dictionary & pimple
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))