3 Info<<
"Reading field p_rgh\n" <<
endl;
31 #include "createPhi.H" 33 Info<<
"Reading transportProperties\n" <<
endl;
34 immiscibleIncompressibleTwoPhaseMixture
mixture(
U,
phi);
50 IOobject::READ_IF_PRESENT,
65 IOobject::READ_IF_PRESENT
85 #include "readGravitationalAcceleration.H" 108 mesh.solutionDict().subDict(
"PIMPLE"),
113 if (
p_rgh.needReference())
136 IOobject::READ_IF_PRESENT,
148 Info<<
"Constructing kinematicCloud " <<
endl;
163 kinematicCloud.particleProperties().subDict(
"constantProperties")
164 .get<scalar>(
"alphaMax")
169 alphac =
max(1.0 - kinematicCloud.theta(), alphacMin);
170 alphac.correctBoundaryConditions();
182 PhaseCompressibleTurbulenceModel
184 immiscibleIncompressibleTwoPhaseMixture
188 PhaseCompressibleTurbulenceModel
190 immiscibleIncompressibleTwoPhaseMixture
202 #include "createMRF.H" volScalarField mu(IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), laminarTransport.nu() *rhoInfValue)
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
const word zeroGradientType
A zeroGradient patch field type.
const dimensionedScalar & rho1
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
Ostream & endl(Ostream &os)
Add newline and flush stream.
setRefCell(p, pimple.dict(), pRefCell, pRefValue)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
volScalarField & alpha1(thermo->alpha1())
const dimensionSet dimless
Dimensionless.
GeometricField< vector, fvPatchField, volMesh > volVectorField
scalar getRefCellValue(const volScalarField &field, const label refCelli)
Return the current value of field in the reference cell.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField & alpha2(thermo->alpha2())
const dimensionedScalar & rho2
const uniformDimensionedVectorField & g
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
KinematicCloud< Cloud< basicKinematicParcel > > basicKinematicCloud
const volScalarField & gh
messageStream Info
Information stream (stdout output on master, null elsewhere)
surfaceScalarField & rhoPhi
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
static constexpr const zero Zero
Global zero (0)