1 Info<< "Reading field pd\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 Info<< "Calculating field g.h\n" << endl;
49 volScalarField gh("gh", g & mesh.C());
50 surfaceScalarField ghf("gh", g & mesh.Cf());
67 scalar pdRefValue = 0.0;
68 setRefCell(pd, mesh.solutionDict().subDict("PISO"), pdRefCell, pdRefValue);
70 scalar pRefValue = 0.0;
72 if (pd.needReference())
74 pRefValue = readScalar
76 mesh.solutionDict().subDict("PISO").lookup("pRefValue")
79 p += dimensionedScalar
83 pRefValue - getRefCellValue(p, pdRefCell)
87 // Construct incompressible turbulence model
88 autoPtr<incompressible::turbulenceModel> turbulence
90 incompressible::turbulenceModel::New(U, phi, mixture)