Functions | Variables
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< psiuReactionThermo > pThermo (psiuReactionThermo::New(mesh))
 
thermo validate (args.executable(), "ha", "ea")
 
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
 
Info<< "min(b) = "<< min(b).value()<< endl;Info<< "\nReading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);mesh.setFluxRequired(p.name());Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
 
 if (composition.contains("ft"))
 
fields add (b)
 
fields add (thermo.he())
 

Variables

psiuReactionThermo & thermo = pThermo()
 
basicMultiComponentMixture & composition = thermo.composition()
 
volScalarField & p = thermo.p()
 
const volScalarField & psi = thermo.psi()
 
volScalarField & b = composition.Y("b")
 Wien displacement law constant: default SI units: [m.K]. More...
 
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));Info<< "Creating field Xi\n"<< endl;volScalarField Xi(IOobject("Xi", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating the unstrained laminar flame speed\n"<< endl;autoPtr< laminarFlameSpeed > unstrainedLaminarFlameSpeed (laminarFlameSpeed::New(thermo))
 
Info<< "Reading strained laminar flame speed field Su\n"<< endl;volScalarField Su(IOobject("Su", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);dimensionedScalar SuMin=0.01 *Su.average();dimensionedScalar SuMax=4 *Su.average();Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), Xi *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
 

Function Documentation

◆ pThermo()

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

◆ validate()

thermo validate ( args.  executable(),
"ha"  ,
"ea"   
)

◆ rho()

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

◆ turbulence()

Info<< "min(b) = " << min(b).value() << endl;Info<< "\nReading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);mesh.setFluxRequired(p.name());Info<< "Creating turbulence model\n" << endl;autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::New(rho, U, phi, thermo )

◆ if()

if ( composition.  contains"ft")

Definition at line 134 of file createFields.H.

References composition, and fields.

◆ add() [1/2]

fields add ( b  )

◆ add() [2/2]

fields add ( thermo.  he())

Variable Documentation

◆ thermo

psiuReactionThermo& thermo = pThermo()

Definition at line 7 of file createFields.H.

◆ composition

basicMultiComponentMixture& composition = thermo.composition()

Definition at line 10 of file createFields.H.

◆ p

volScalarField& p = thermo.p()

Definition at line 25 of file createFields.H.

◆ psi

const volScalarField& psi = thermo.psi()

Definition at line 26 of file createFields.H.

◆ b

volScalarField& b = composition.Y("b")

Wien displacement law constant: default SI units: [m.K].

Definition at line 28 of file createFields.H.

Referenced by bufferedAccumulator::accumulateAndResetBuffer(), greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), bufferedAccumulator::addToBuffers(), Foam::vectorTools::areAcute(), Foam::vectorTools::areObtuse(), Foam::vectorTools::areOrthogonal(), Foam::vectorTools::areParallel(), arcEdge::calcAngle(), primitiveMesh::calcEdges(), controlMeshRefinement::calcSecondDerivative(), axesRotation::calcTransform(), FSD< CombThermoType, ThermoType >::calculateSourceNorm(), tetrahedron::circumCentre(), tetrahedron::circumRadius(), triSurfaceTools::collapseEdges(), edge::compare(), triFace::compare(), face::compare(), SSG< BasicTurbulenceModel >::correct(), interfaceProperties::correctContactAngle(), Foam::vectorTools::cosPhi(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), slidingInterface::coupleInterface(), Foam::vectorTools::degAngleBetween(), globalIndexAndTransform::determineTransformPermutations(), dmat_uniform(), pairPotentialList::dr(), edge::edge(), Foam::eigenValues(), globalIndexAndTransform::encodeTransformIndex(), pairPotentialList::energy(), instant::equal(), WallLocalSpringSliderDashpot< CloudType >::evaluateWall(), tetCell::face(), searchableSphere::findLine(), searchableCylinder::findLine(), searchableCone::findLine(), searchableCylinder::findLineAll(), searchableCone::findLineAll(), searchableSphere::findLineAny(), searchableCylinder::findLineAny(), searchableCone::findLineAny(), treeDataTriSurface::findNearest(), searchableCone::findNearestAndNormal(), forAll(), pairPotentialList::force(), isoSurfaceCell::genPointTris(), hashbig(), Foam::HasherDual(), Foam::HasherInt(), hashlittle(), hashlittle2(), hashword(), hashword2(), if(), Foam::interpolate(), Raster::interpValue(), jenkins_hashbig(), jenkins_hashlittle(), Smagorinsky< BasicTurbulenceModel >::k(), directionInfo::lowest(), main(), processorPolyPatch::matchFace(), homogeneousMixture< ThermoType >::mixture(), inhomogeneousMixture< ThermoType >::mixture(), egrMixture< ThermoType >::mixture(), slidingInterface::modifyMotionPoints(), Moment< Type >::Moment(), particle< Type >::movingTetLambda(), treeDataTriSurface::nearestCoords(), line::nearestDist(), offsetSurface::offsetSurface(), onLine(), Foam::operator!=(), Foam::operator&(), procLess::operator()(), lessProcPatches::operator()(), globalIndexAndTransform::less::operator()(), labelRange::less::operator()(), normalLess::operator()(), instant::less::operator()(), UList::less::operator()(), UList::greater::operator()(), Foam::operator*(), Foam::operator+(), Boussinesq::operator+=(), Foam::operator-(), Boussinesq::operator-=(), Foam::operator/(), Foam::operator<(), Foam::operator<<(), Foam::operator<=(), Boussinesq::operator=(), Switch::operator=(), Foam::operator==(), Foam::operator>(), Foam::operator>=(), Foam::operator>>(), pairPotentialList::pairPotentialFunction(), pairPotentialList::pairPotentialIndex(), partTet::partTet(), Vector2D< scalar >::perp(), plane::plane(), plane::planePlaneIntersect(), Foam::pow(), SHA1::processBlock(), booleanSurface::propagateSide(), Foam::vectorTools::radAngleBetween(), pairPotentialList::rCut(), pairPotentialList::rCutSqr(), Foam::readBool(), triSurface::readNAS(), pairPotentialList::readPairPotentialDict(), PairCollision< CloudType >::realRealInteraction(), pairPotentialList::rMin(), face::sameVertices(), normal::sample(), bufferedAccumulator::setSizes(), faceAreaIntersect::setTriPoints(), SVD::sign(), Foam::sqrtSumSqr(), triSurface::subsetMeshMap(), Foam::Swap(), swapec(), test(), tetCell::tetCell(), tetPoints::tetPoints(), globalIndexAndTransform::transformIndicesForPatches(), triFace::triFace(), lduAddressing::triIndex(), triPoints::triPoints(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), regIOobject::upToDate(), basicThermo::validate(), vbedg(), and PengRobinsonGas::Z().

◆ unstrainedLaminarFlameSpeed

Info<< "Creating field dpdt\n" << endl;volScalarField dpdt( IOobject ( "dpdt", runTime.timeName(), mesh ), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n" << endl;volScalarField K("K", 0.5*magSqr(U));Info<< "Creating field Xi\n" << endl;volScalarField Xi( IOobject ( "Xi", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);Info<< "Creating the unstrained laminar flame speed\n" << endl;autoPtr<laminarFlameSpeed> unstrainedLaminarFlameSpeed(laminarFlameSpeed::New(thermo))

Definition at line 95 of file createFields.H.

◆ fields

Info<< "Reading strained laminar flame speed field Su\n" << endl;volScalarField Su( IOobject ( "Su", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);dimensionedScalar SuMin = 0.01*Su.average();dimensionedScalar SuMax = 4*Su.average();Info<< "Calculating turbulent flame speed field St\n" << endl;volScalarField St( IOobject ( "St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), Xi*Su);multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields

Definition at line 132 of file createFields.H.