Go to the documentation of this file.
3 Info<<
"Reading field p_rgh\n" <<
endl;
31 #include "createPhi.H"
33 Info<<
"Constructing twoPhaseMixtureThermo\n" <<
endl;
39 Info<<
"Reading thermophysical properties\n" <<
endl;
51 IOobject::READ_IF_PRESENT,
69 #include "readGravitationalAcceleration.H"
95 compressibleInterPhaseTransportModel
turbulence
107 #include "createMRF.H"
118 nonInt.insert(
"grad(p_rgh)");
119 nonInt.insert(
"nHat");
120 nonInt.insert(
"surfaceIntegrate(phi)");
121 nonInt.insert(
"surfaceIntegrate(phiHbyA)");
122 nonInt.insert(
"cellMask");
123 nonInt.insert(
"cellDisplacement");
124 nonInt.insert(
"interpolatedCells");
125 nonInt.insert(
"cellInterpolationWeight");
126 nonInt.insert(
"pcorr");
const dimensionSet dimPressure
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
const dimensionedScalar & rho1
surfaceScalarField & rhoPhi
Info<< "Reading field U\n"<< 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\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
surfaceScalarField faceMask(localMin< scalar >(mesh).interpolate(cellMask))
Ostream & endl(Ostream &os)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
volScalarField & alpha1(thermo->alpha1())
const dimensionedScalar & rho2
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
surfaceScalarField alphaPhi10(alphaPhi10Header, phi *fvc::interpolate(alpha1))
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< vector, fvPatchField, volMesh > volVectorField
Creates mask for interpolated cells.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensionedScalar pMin("pMin", dimPressure, fluid)
bool insert(const Key &key)
Creates mask for blocked out cells.
HashSet< word, Hash< word > > wordHashSet
A HashSet with word keys and string hasher.
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
volScalarField & alpha2(thermo->alpha2())
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)