Go to the source code of this file.
|
Info<< "Reading thermophysical properties\"<< endl;autoPtr< fluidReactionThermo > | pThermo (fluidReactionThermo::New(mesh)) |
|
thermo | validate (args.executable(), "h", "e") |
|
volScalarField | rho (IOobject("rho", runTime.timeName(), mesh), thermo.rho()) |
|
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField &p=thermo.p();mesh.schemes().setFluxRequired(p.name());Info<< "Creating turbulence model.\"<< nl;autoPtr< compressible::momentumTransportModel > | turbulence (compressible::momentumTransportModel::New(rho, U, phi, thermo)) |
|
Info<< "Creating thermophysical transport model\"<< endl;autoPtr< fluidReactionThermophysicalTransportModel > | thermophysicalTransport (fluidReactionThermophysicalTransportModel::New(turbulence(), thermo)) |
|
Info<< "Creating reaction model\"<< endl;autoPtr< combustionModel > | reaction (combustionModel::New(thermo, turbulence())) |
|
| forAll (Y, i) |
|
fields | add (thermo.he()) |
|
|
fluidReactionThermo & | thermo = pThermo() |
|
basicSpecieMixture & | composition = thermo.composition() |
|
PtrList< volScalarField > & | Y = composition.Y() |
|
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureReference pressureReference(p, p_rgh, pimple.dict(), thermo.incompressible());mesh.schemes().setFluxRequired(p_rgh.name());hydrostaticInitialisation(p_rgh, p, rho, U, gh, ghf, pRef, thermo, pimple.dict());Info<< "Creating field dpdt\"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar(p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\"<< endl;volScalarField K("K", 0.5 *magSqr(U));dimensionedScalar initialMass=fvc::domainIntegrate(rho);multivariateSurfaceInterpolationScheme< scalar >::fieldTable | fields |
|
◆ pThermo()
Info<< "Reading thermophysical properties\n" << endl;autoPtr<fluidReactionThermo> pThermo |
( |
fluidReactionThermo::New(mesh) |
| ) |
|
◆ validate()
thermo validate |
( |
args. |
executable(), |
|
|
"h" |
, |
|
|
"e" |
|
|
) |
| |
◆ rho()
volScalarField rho |
( |
IOobject("rho", runTime.timeName(), mesh) |
, |
|
|
thermo. |
rho() |
|
) |
| |
◆ turbulence()
Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);volScalarField& p = thermo.p();mesh.schemes().setFluxRequired(p.name());Info << "Creating turbulence model.\n" << nl;autoPtr<compressible::momentumTransportModel> turbulence |
( |
compressible::momentumTransportModel::New(rho, U, phi, thermo) |
| ) |
|
◆ thermophysicalTransport()
Info<< "Creating thermophysical transport model\n" << endl;autoPtr<fluidReactionThermophysicalTransportModel> thermophysicalTransport |
( |
fluidReactionThermophysicalTransportModel::New(turbulence(), thermo) |
| ) |
|
◆ reaction()
Info<< "Creating reaction model\n" << endl;autoPtr<combustionModel> reaction |
( |
combustionModel::New(thermo, turbulence()) |
| ) |
|
◆ forAll()
◆ add()
◆ thermo
fluidReactionThermo& thermo = pThermo() |
◆ composition
basicSpecieMixture& composition = thermo.composition() |
PtrList<volScalarField>& Y = composition.Y() |
◆ fields
Info<< "Reading field p_rgh\n" << endl;volScalarField p_rgh( IOobject ( "p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);pressureReference pressureReference( p, p_rgh, pimple.dict(), thermo.incompressible());mesh.schemes().setFluxRequired(p_rgh.name());hydrostaticInitialisation( p_rgh, p, rho, U, gh, ghf, pRef, thermo, pimple.dict());Info<< "Creating field dpdt\n" << endl;volScalarField dpdt( IOobject ( "dpdt", runTime.timeName(), mesh ), mesh, dimensionedScalar(p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n" << endl;volScalarField K("K", 0.5*magSqr(U));dimensionedScalar initialMass = fvc::domainIntegrate(rho);multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields |
Definition at line 131 of file createFields.H.
Referenced by pointFieldDecomposer::patchFieldDecomposer::directAddressing(), regionSizeDistribution::divide(), nearWallFields::fields(), sampledSurfaces::fields(), regionSizeDistribution::fields(), fieldAverage::fields(), if(), Foam::MapConsistentVolFields(), Foam::MapDimensionedFields(), fvMeshAdder::MapDimFields(), Foam::MapGeometricFields(), Foam::MapLagrangianFields(), fvMeshAdder::MapPointFields(), fvMeshAdder::MapSurfaceFields(), Foam::MapVolFields(), fvMeshAdder::MapVolFields(), Foam::MeshToMeshMapVolFields(), Foam::min(), multivariateScheme< Type, Scheme >::multivariateScheme(), multivariateSelectionScheme< Type >::multivariateSelectionScheme(), NamedEnum< compressibleField, 8 >::names(), Foam::NaNGeometricFields(), convectionScheme< Type >::New(), isNotEqOp< T >::operator()(), fvMeshDistribute::printFieldInfo(), Foam::readFields(), Foam::readUniformFields(), and Foam::UnMapped().