createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

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();pressureReference pressureReference(p, pimple.dict(), false);mesh.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())
 

Variables

fluidReactionThermo & thermo = pThermo()
 
basicSpecieMixture & composition = thermo.composition()
 
PtrList< volScalarField > & Y = composition.Y()
 
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
 

Function Documentation

◆ 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();pressureReference pressureReference(p, pimple.dict(), false);mesh.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()

forAll ( Y  ,
 
)

Definition at line 94 of file createFields.H.

◆ add()

fields add ( thermo.  he())

Variable Documentation

◆ thermo

fluidReactionThermo& thermo = pThermo()

Definition at line 5 of file createFields.H.

◆ composition

basicSpecieMixture& composition = thermo.composition()

Definition at line 8 of file createFields.H.

◆ Y

PtrList<volScalarField>& Y = composition.Y()

Definition at line 9 of file createFields.H.

◆ fields

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 92 of file createFields.H.