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 thermophysical properties\n"<< endl;autoPtr< rhoThermo > pThermo (rhoThermo::New(mesh))
thermo validate (args.executable(), "h", "e")
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), thermo.rho())
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
 Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());label pRefCell=0;scalar pRefValue=0.0;if(p_rgh.needReference()){ setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue);p+=dimensionedScalar("p", p.dimensions(), pRefValue - getRefCellValue(p, pRefCell));}dimensionedScalar initialMass("initialMass", fvc::domainIntegrate(rho));{ wordHashSet &nonInt=const_cast< wordHashSet & > (Stencil::New(mesh).nonInterpolatedFields())
nonInt insert ("HbyA")
nonInt insert ("grad(p_rgh)")
nonInt insert ("surfaceIntegrate(phi)")
nonInt insert ("surfaceIntegrate(phiHbyA)")
nonInt insert ("cellMask")
nonInt insert ("cellDisplacement")
nonInt insert ("interpolatedCells")
nonInt insert ("cellInterpolationWeight")

Variables

rhoThermo & thermo = pThermo()
volScalarField & p = thermo.p()

Function Documentation

◆ pThermo()

Info<< "Reading thermophysical properties\n"<< endl;autoPtr< rhoThermo > pThermo ( rhoThermo::New(mesh) )

References mesh.

◆ validate()

thermo validate ( args. executable(),
"h" ,
"e"  )

References args.

◆ rho()

volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE) ,
thermo. rho() )

References mesh, and runTime.

◆ turbulence()

Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence ( compressible::turbulenceModel::New(rho, U, phi, thermo) )

◆ Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());label pRefCell=0;scalar pRefValue=0.0;if(p_rgh.needReference()){ setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue);p+=dimensionedScalar("p", p.dimensions(), pRefValue - getRefCellValue(p, pRefCell));}dimensionedScalar initialMass("initialMass", fvc::domainIntegrate(rho));{ wordHashSet &nonInt=const_cast< wordHashSet & >()

Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());label pRefCell=0;scalar pRefValue=0.0;if(p_rgh.needReference()){ setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue);p+=dimensionedScalar("p", p.dimensions(), pRefValue - getRefCellValue(p, pRefCell));}dimensionedScalar initialMass("initialMass", fvc::domainIntegrate(rho));{ wordHashSet &nonInt=const_cast< wordHashSet & > ( Stencil::New(mesh).nonInterpolatedFields() )

References gh, mesh, p, p_rgh, phi, pimple, pRefCell, pRefValue, rho, runTime, and U.

◆ insert() [1/8]

nonInt insert ( "HbyA" )

◆ insert() [2/8]

nonInt insert ( "grad(p_rgh)" )

◆ insert() [3/8]

nonInt insert ( "surfaceIntegrate(phi)" )

◆ insert() [4/8]

nonInt insert ( "surfaceIntegrate(phiHbyA)" )

◆ insert() [5/8]

nonInt insert ( "cellMask" )

◆ insert() [6/8]

nonInt insert ( "cellDisplacement" )

◆ insert() [7/8]

nonInt insert ( "interpolatedCells" )

◆ insert() [8/8]

nonInt insert ( "cellInterpolationWeight" )

Variable Documentation

◆ thermo

rhoThermo& thermo = pThermo()

Definition at line 4 of file createFields.H.

◆ p

volScalarField& p = thermo.p()

Definition at line 20 of file createFields.H.