Loading...
Searching...
No Matches
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

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);autoPtr< twoPhaseMixtureEThermo > thermo (new twoPhaseMixtureEThermo(U, phi))
volScalarField & alpha1 (thermo->alpha1())
volScalarField & alpha2 (thermo->alpha2())
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), alpha1 *rho1+alpha2 *rho2)
rho oldTime ()
surfaceScalarField rhoPhi (IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho) *phi)
interfaceProperties interface (alpha1, U, thermo->transportPropertiesDict())
autoPtr< incompressible::turbulenceModel > turbulence (incompressible::turbulenceModel::New(U, phi, thermo()))
 setRefCell (p, p_rgh, pimple.dict(), pRefCell, pRefValue)
 if (p_rgh.needReference())
mesh setFluxRequired (p_rgh.name())
mesh setFluxRequired (alpha1.name())
dimensionedScalar Prt ("Prt", dimless, thermo->transportPropertiesDict())
volScalarField kappaEff (IOobject("kappaEff", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), thermo->kappa())
volScalarField rhoCp (IOobject("rhoCp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *thermo->Cp())

Variables

Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
const dimensionedScalar & rho1 = thermo->rho1()
const dimensionedScalar & rho2 = thermo->rho2()
volScalarField & p = thermo->p()
label pRefCell = 0
scalar pRefValue = 0.0

Function Documentation

◆ thermo()

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);autoPtr< twoPhaseMixtureEThermo > thermo ( new twoPhaseMixtureEThermoU, phi)

References phi, and U.

◆ alpha1()

volScalarField & alpha1 ( thermo-> alpha1())

◆ alpha2()

volScalarField & alpha2 ( thermo-> alpha2())

◆ rho()

volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE) ,
alpha1 *rho1+alpha2 * rho2 )

References alpha1, alpha2, mesh, rho1, rho2, and runTime.

◆ oldTime()

rho oldTime ( )

References rho.

◆ rhoPhi()

surfaceScalarField rhoPhi ( IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE) ,
fvc::interpolate(rho) * phi )

References mesh, phi, rho, and runTime.

◆ interface()

interfaceProperties interface ( alpha1 ,
U ,
thermo-> transportPropertiesDict() )

◆ turbulence()

autoPtr< incompressible::turbulenceModel > turbulence ( incompressible::turbulenceModel::New(U, phi, thermo()) )

References phi, and U.

◆ setRefCell()

setRefCell ( p ,
p_rgh ,
pimple. dict(),
pRefCell ,
pRefValue  )

References p, p_rgh, pimple, pRefCell, and pRefValue.

◆ if()

if ( p_rgh. needReference())

Definition at line 109 of file createFields.H.

References gh, p, p_rgh, pRefCell, pRefValue, and rho.

◆ setFluxRequired() [1/2]

mesh setFluxRequired ( p_rgh. name())

References mesh, and p_rgh.

◆ setFluxRequired() [2/2]

mesh setFluxRequired ( alpha1. name())

References alpha1, and mesh.

◆ Prt()

dimensionedScalar Prt ( "Prt" ,
dimless ,
thermo-> transportPropertiesDict() )

◆ kappaEff()

volScalarField kappaEff ( IOobject("kappaEff", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE) ,
thermo-> kappa() )

References mesh, and runTime.

◆ rhoCp()

volScalarField rhoCp ( IOobject("rhoCp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE) ,
rho *thermo-> Cp() )

References mesh, rho, rhoCp, and runTime.

Variable Documentation

◆ mixture

Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n" << endl;autoPtr<temperaturePhaseChangeTwoPhaseMixture> mixture
Initial value:
=
temperaturePhaseChangeTwoPhaseMixture::New(thermo(), mesh)
dynamicFvMesh & mesh
psiReactionThermo & thermo

Definition at line 39 of file createFields.H.

Referenced by alpha1(), alpha2(), egrMixture< ThermoType >::cellMixture(), homogeneousMixture< ThermoType >::cellMixture(), inhomogeneousMixture< ThermoType >::cellMixture(), veryInhomogeneousMixture< ThermoType >::cellMixture(), egrMixture< ThermoType >::cellProducts(), inhomogeneousMixture< ThermoType >::cellProducts(), veryInhomogeneousMixture< ThermoType >::cellProducts(), egrMixture< ThermoType >::cellReactants(), inhomogeneousMixture< ThermoType >::cellReactants(), veryInhomogeneousMixture< ThermoType >::cellReactants(), homogeneousMixture< ThermoType >::cellVolMixture(), inhomogeneousMixture< ThermoType >::cellVolMixture(), veryInhomogeneousMixture< ThermoType >::cellVolMixture(), contErr(), correct(), correctRho(), correctThermo(), for(), forAllConstIters(), if(), if(), if(), if(), if(), if(), 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<< "Constructing twoPhaseMixtureThermo\n"<< endl;twoPhaseMixtureThermo mixture(U, phi);volScalarField &alpha1(mixture.alpha1());volScalarField &alpha2(mixture.alpha2());Info<< "Reading thermophysical properties\n"<< endl;const volScalarField &rho1=mixture.thermo1().rho();const volScalarField &rho2=mixture.thermo2().rho();volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), alpha1 *rho1+alpha2 *rho2);dimensionedScalar pMin("pMin", dimPressure, mixture);mesh.setFluxRequired(p_rgh.name());mesh.setFluxRequired(alpha1.name());surfaceScalarField rhoPhi(IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho) *phi);volScalarField dgdt(alpha1 *fvc::div(phi));compressibleInterPhaseTransportModel turbulence(rho, U, phi, rhoPhi, alphaPhi10, mixture);{ wordHashSet &nonInt=const_cast< wordHashSet & >(), p_rghEqnComps(), egrMixture< ThermoType >::patchFaceMixture(), homogeneousMixture< ThermoType >::patchFaceMixture(), inhomogeneousMixture< ThermoType >::patchFaceMixture(), veryInhomogeneousMixture< ThermoType >::patchFaceMixture(), egrMixture< ThermoType >::patchFaceProducts(), inhomogeneousMixture< ThermoType >::patchFaceProducts(), veryInhomogeneousMixture< ThermoType >::patchFaceProducts(), egrMixture< ThermoType >::patchFaceReactants(), inhomogeneousMixture< ThermoType >::patchFaceReactants(), veryInhomogeneousMixture< ThermoType >::patchFaceReactants(), homogeneousMixture< ThermoType >::patchFaceVolMixture(), inhomogeneousMixture< ThermoType >::patchFaceVolMixture(), veryInhomogeneousMixture< ThermoType >::patchFaceVolMixture(), phic(), phic(), phig(), phig(), phig(), phig(), phir(), rho2f(), EulerImplicit< ChemistryModel >::solve(), TEqn(), turbulence(), turbulence(), turbulence(), turbulence(), turbulence(), UdmModelPtr(), UEqn(), and while().

◆ rho1

const dimensionedScalar& rho1 = thermo->rho1()

Definition at line 46 of file createFields.H.

◆ rho2

const dimensionedScalar& rho2 = thermo->rho2()

Definition at line 47 of file createFields.H.

◆ p

volScalarField& p = thermo->p()

Definition at line 96 of file createFields.H.

◆ pRefCell

label pRefCell = 0

Definition at line 98 of file createFields.H.

◆ pRefValue

scalar pRefValue = 0.0

Definition at line 99 of file createFields.H.