Go to the documentation of this file.
42 #include "createPhi.H"
44 mesh.setFluxRequired(
p.name());
60 Info<<
"Reading transportProperties\n" <<
endl;
69 Info<<
"Creating compressibilityModel\n" <<
endl;
70 autoPtr<barotropicCompressibilityModel>
psiModel =
73 thermodynamicProperties,
87 mesh.setFluxRequired(
p.name());
88 mesh.setFluxRequired(
rho.name());
91 autoPtr<incompressible::turbulenceModel>
turbulence
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Ostream & endl(Ostream &os)
Add newline and flush stream.
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
PtrList< dimensionedScalar > rhoMin(fluidRegions.size())
autoPtr< compressible::turbulenceModel > turbulence
const volScalarField & psi
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar & pSat
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Info<< "Reading field p\n"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", 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);mesh.setFluxRequired(p.name());surfaceScalarField rhoPhi(IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho) *phi);Info<< "Reading transportProperties\n"<< endl;incompressibleTwoPhaseMixture mixture(U, phi);volScalarField &alphav(mixture.alpha1());alphav.oldTime();volScalarField &alphal(mixture.alpha2());Info<< "Creating compressibilityModel\n"<< endl;autoPtr< barotropicCompressibilityModel > psiModel
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), Urel+SRF->U())