createFieldRefs.H
Go to the documentation of this file.
1 volScalarField& alpha2(mixture.alpha2());
2 
3 const dimensionedScalar& rho1 = mixture.rho1();
4 const dimensionedScalar& rho2 = mixture.rho2();
5 
6 twoPhaseChangeModel& phaseChange = phaseChangePtr();
7 tmp<volScalarField> rAU;
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:58
volScalarField & alpha2(mixture.alpha2())
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
tmp< volScalarField > rAU
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Constructing compressibleTwoPhaseMixture\"<< endl;compressibleTwoPhaseMixture mixture(U, phi);autoPtr< twoPhaseChangeModel > phaseChangePtr(twoPhaseChangeModel::New(mixture))