1 Info<< "Reading field p_rgh\n" << endl;
15 Info<< "Reading field U\n" << endl;
29 #include "createPhi.H"
31 multiphaseMixture mixture(U, phi);
33 // Need to store rho for ddt(rho, U)
41 IOobject::READ_IF_PRESENT
48 // Construct incompressible turbulence model
49 autoPtr<incompressible::turbulenceModel> turbulence
51 incompressible::turbulenceModel::New(U, phi, mixture)
54 #include "readGravitationalAcceleration.H"
56 Info<< "Calculating field g.h\n" << endl;
57 volScalarField gh("gh", g & mesh.C());
58 surfaceScalarField ghf("ghf", g & mesh.Cf());
74 scalar pRefValue = 0.0;
79 mesh.solutionDict().subDict("PIMPLE"),
84 if (p_rgh.needReference())
86 p += dimensionedScalar
90 pRefValue - getRefCellValue(p, pRefCell)