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))
 
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))
 
 if (composition.contains("ft"))
 
fields add (b)
 
fields add (thermo.he())
 

Variables

psiuReactionThermo & thermo = pThermo()
 
basicSpecieMixture & composition = thermo.composition()
 
volScalarField & p = thermo.p()
 
volScalarField & b = composition.Y("b")
 Wien displacement law constant: default SI units: [m.K]. More...
 
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 )

◆ unstrainedLaminarFlameSpeed()

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 )

◆ if()

if ( composition.  contains"ft")

Definition at line 118 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

basicSpecieMixture& composition = thermo.composition()

Definition at line 10 of file createFields.H.

◆ p

volScalarField& p = thermo.p()

Definition at line 25 of file createFields.H.

◆ b

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

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

Definition at line 27 of file createFields.H.

Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), LuoSvendsen::addToBinaryBreakupRate(), bufferedAccumulator< Type >::addToBuffers(), SubStrings< StringType >::append(), Foam::appendTriLabels(), triangle2D::area(), Foam::vectorTools::areAcute(), Foam::areaInvDistSqrWeightedNormal(), Foam::vectorTools::areObtuse(), Foam::vectorTools::areOrthogonal(), Foam::vectorTools::areParallel(), Foam::FieldOps::assign(), BarycentricTensor< Cmpt >::BarycentricTensor(), tetrahedron< Point, PointRef >::bounds(), Foam::checkDims(), tetrahedron< Point, PointRef >::circumCentre(), tetrahedron< Point, PointRef >::circumRadius(), triSurfaceTools::collapseEdges(), Pair< word >::compare(), edge::compare(), triFace::compare(), face::compare(), SSG< BasicTurbulenceModel >::correct(), Foam::vectorTools::cosPhi(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), PengRobinsonGas< Specie >::Cp(), PengRobinsonGas< Specie >::CpMCv(), cubicEqn::cubicEqn(), PengRobinsonGas< Specie >::Cv(), Foam::vectorTools::degAngleBetween(), quadraticEqn::derivative(), cubicEqn::derivative(), dmat_uniform(), pairPotentialList::dr(), Foam::eigenValues(), globalIndexAndTransform::encodeTransformIndex(), pairPotentialList::energy(), linearEqn::error(), quadraticEqn::error(), cubicEqn::error(), Foam::expandLeadingTag(), NURBS3DSurface::findClosestSurfacePoint(), searchableCylinder::findLine(), searchableCone::findLine(), searchableSphere::findLine(), searchableCylinder::findLineAny(), searchableCone::findLineAny(), searchableSphere::findLineAny(), Foam::findTimeIndex(), forAll(), pairPotentialList::force(), Foam::getSTLpoint(), Foam::HasherInt(), Foam::HSV_to_RGB(), if(), Foam::interpolate(), MinMax< scalar >::intersect(), topoBoolSet::invert(), Vector2D< label >::isClose(), Smagorinsky< BasicTurbulenceModel >::k(), reader::options::keepFluid(), reader::options::keepPorous(), reader::options::keepSolid(), Foam::LAB_to_XYZ(), LBFGS::LBFGSUpdate(), linearEqn::linearEqn(), triangle2D::lineIntersectionPoint(), triangle2D::lineIntersects(), voxelMeshSearch::makeMesh(), processorPolyPatch::matchFace(), Foam::max(), stdFoam::max(), normal::meanValue(), reader::options::mergeInterfaces(), blockMesh::mesh(), Foam::min(), stdFoam::min(), homogeneousMixture< ThermoType >::mixture(), egrMixture< ThermoType >::mixture(), inhomogeneousMixture< ThermoType >::mixture(), slidingInterface::modifyMotionPoints(), Moment< Type >::Moment(), token::compound::moved(), Switch::name(), line< Point, PointRef >::nearestDist(), McCowan::newtonRapsonF1(), ensightCase::options::nodeValues(), offsetSurface::offsetSurface(), Foam::operator!=(), Foam::operator&(), worldConnectBitOrEq::operator()(), procLess::operator()(), swakModuloOp::operator()(), seriesLess::operator()(), plusEqOp< Key, HashType >::operator()(), vectorLessOp::operator()(), Instant< T >::less::operator()(), lessProcPatches::operator()(), SortableListEFA< Type >::more::operator()(), SortableListDRGEP< Type >::less::operator()(), globalIndexAndTransform::less::operator()(), structuredRenumber::layerLess::operator()(), normalLess::operator()(), boolAndOp< T >::operator()(), natural_sort::less< T >::operator()(), less< T >::operator()(), boolOrOp< T >::operator()(), boolXorOp< T >::operator()(), natural_sort::greater< T >::operator()(), greater< T >::operator()(), plusEqOp< T, Key, HashType >::operator()(), UList< T >::less::operator()(), UList< T >::greater::operator()(), minFirstOp< T1 >::operator()(), compareOp< T >::operator()(), maxFirstOp< T1 >::operator()(), compareOp< Scalar >::operator()(), equalOp< Scalar >::operator()(), notEqualOp< Scalar >::operator()(), less< ListType >::operator()(), greater< ListType >::operator()(), Foam::operator*(), exprResult::operator*=(), Foam::operator+(), Boussinesq< Specie >::operator+=(), MinMax< scalar >::operator+=(), exprResult::operator+=(), Foam::operator-(), Foam::operator<(), Foam::operator<<(), Foam::operator<=(), Boussinesq< Specie >::operator=(), Switch::operator=(), Foam::operator==(), Foam::operator>(), Foam::operator>=(), Foam::operator>>(), Foam::operator^(), Foam::operator|(), updateMethod::outerProd(), MinMax< scalar >::overlaps(), ensightCase::options::overwrite(), pairPotentialList::pairPotentialFunction(), Vector2D< label >::perp(), plane::plane(), plane::planePlaneIntersect(), Foam::pow(), quadraticEqn::quadraticEqn(), Foam::vectorTools::radAngleBetween(), pairPotentialList::rCut(), pairPotentialList::rCutSqr(), NASedgeFormat::read(), NASsurfaceFormat< Face >::read(), reader::options::removeBaffles(), reader::options::renameInterfaces(), SortList< T >::reverseSort(), Foam::RGB_to_HSV(), Foam::RGB_to_XYZ(), pairPotentialList::rMin(), linearEqn::roots(), face::sameVertices(), normal::sample(), multiNormal::sample(), ensightCase::options::separateCloud(), bufferedAccumulator< Type >::setSizes(), SortList< T >::sort(), Foam::sqrtSumSqr(), Foam::Swap(), swapec(), Foam::FieldOps::ternary(), Foam::FieldOps::ternarySelect(), tetCell::tetCell(), tetPoints::tetPoints(), particle< Type >::trackToMovingTri(), particle< Type >::trackToStationaryTri(), globalIndexAndTransform::transformIndicesForPatches(), triangle2D::triangle2D(), triFace::triFace(), fvMeshPrimitiveLduAddressing::triIndex(), lduAddressing::triIndex(), triPoints::triPoints(), pressurePIDControlInletVelocityFvPatchVectorField::updateCoeffs(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), regIOobject::upToDate(), reader::options::useNumberedNames(), basicThermo::validate(), linearEqn::value(), quadraticEqn::value(), cubicEqn::value(), vbedg(), XiReactionRate::write(), Foam::XYZ_to_LAB(), Foam::XYZ_to_RGB(), and PengRobinsonGas< Specie >::Z().

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