Functions | Variables
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

 if (mesh.nCells()!=1)
 
Info<< "Reading initial conditions.\n"<< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=readScalar(initialConditions.lookup("p"));scalar T0=readScalar(initialConditions.lookup("T"));#24"/home/dm2/henry/OpenFOAM/OpenFOAM-3.0.x/applications/solvers/combustion/chemFoam/createFields.H"2 Info<< nl<< "Reading thermophysicalProperties"<< endl;autoPtr< psiChemistryModel > pChemistry (psiChemistryModel::New(mesh))
 
thermo validate (args.executable(),"h")
 
volScalarField rho (IOobject( "rho", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::AUTO_WRITE ), thermo.rho())
 
volScalarField Rspecific (IOobject( "Rspecific", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar( "zero", dimensionSet(dimEnergy/dimMass/dimTemperature), 0.0 ))
 
volVectorField U (IOobject( "U", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedVector("zero", dimVelocity, vector::zero), p.boundaryField().types())
 
OFstream post (args.path()/"chemFoam.out")
 

Variables

psiChemistryModel & chemistry = pChemistry()
 
scalar dtChem = refCast<const psiChemistryModel>(chemistry).deltaTChem()[0]
 
psiReactionThermo & thermo = chemistry.thermo()
 
basicMultiComponentMixture & composition = thermo.composition()
 
PtrList< volScalarField > & Y = composition.Y()
 
volScalarField & p = thermo.p()
 

Function Documentation

if ( mesh.nCells()!  = 1)

Definition at line 1 of file createFields.H.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, mesh, Foam::compressible::New(), Foam::nl, pChemistry(), and readScalar.

Here is the call graph for this function:

Info<< "Reading initial conditions.\n" << endl; IOdictionary initialConditions ( IOobject ( "initialConditions", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) ); scalar p0 = readScalar(initialConditions.lookup("p")); scalar T0 = readScalar(initialConditions.lookup("T"));# 24 "/home/dm2/henry/OpenFOAM/OpenFOAM-3.0.x/applications/solvers/combustion/chemFoam/createFields.H" 2 Info<< nl << "Reading thermophysicalProperties" << endl; autoPtr<psiChemistryModel> pChemistry ( psiChemistryModel::New(mesh )

Referenced by if().

Here is the caller graph for this function:

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

Referenced by surfMesh::surfZones().

Here is the caller graph for this function:

volScalarField rho ( IOobject( "rho", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::AUTO_WRITE )  ,
thermo.  rho() 
)
volScalarField Rspecific ( IOobject( "Rspecific", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::AUTO_WRITE )  ,
mesh  ,
dimensionedScalar( "zero", dimensionSet(dimEnergy/dimMass/dimTemperature), 0.0 )   
)
volVectorField U ( IOobject( "U", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::NO_WRITE )  ,
mesh  ,
dimensionedVector("zero", dimVelocity, vector::zero)  ,
p.  boundaryField).types( 
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

OFstream post ( args.path()/"chemFoam.out"  )

Variable Documentation

psiChemistryModel& chemistry = pChemistry()

Definition at line 29 of file createFields.H.

scalar dtChem = refCast<const psiChemistryModel>(chemistry).deltaTChem()[0]

Definition at line 30 of file createFields.H.

Referenced by if().

psiReactionThermo& thermo = chemistry.thermo()
basicMultiComponentMixture& composition = thermo.composition()
PtrList<volScalarField>& Y = composition.Y()
volScalarField& p = thermo.p()

Definition at line 51 of file createFields.H.

Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), autoLayerDriver::addLayers(), advectiveFvPatchField< Type >::advectiveFvPatchField(), KinematicCloud< CloudType >::alpha(), attachPolyTopoChanger::attach(), FreeStream< CloudType >::autoMap(), Cloud< ParticleType >::autoMap(), SprayParcel< ParcelType >::calcBreakup(), CentredFitSnGradData< Polynomial >::calcFit(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), forces::calcForcesMoment(), ThermoParcel< ParcelType >::calcHeatTransfer(), Stochastic< CloudType >::calculate(), KinematicParcel< ParcelType >::calcVelocity(), polyMesh::cellZones(), polyMeshTetDecomposition::checkFaceTets(), NoInteraction< CloudType >::clone(), NoDamping< CloudType >::clone(), NoPacking< CloudType >::clone(), Rebound< CloudType >::clone(), SphereDragForce< CloudType >::clone(), NoSurfaceFilm< CloudType >::clone(), VirtualMassForce< CloudType >::clone(), GravityForce< CloudType >::clone(), SRFForce< CloudType >::clone(), DistortedSphereDragForce< CloudType >::clone(), ErgunWenYuDragForce< CloudType >::clone(), PlessisMasliyahDragForce< CloudType >::clone(), WenYuDragForce< CloudType >::clone(), PressureGradientForce< CloudType >::clone(), ParamagneticForce< CloudType >::clone(), Relaxation< CloudType >::clone(), LiquidEvaporation< CloudType >::clone(), VoidFraction< CloudType >::clone(), LiftForce< CloudType >::clone(), LocalInteraction< CloudType >::clone(), Implicit< CloudType >::clone(), Explicit< CloudType >::clone(), BrownianMotionForce< CloudType >::clone(), LiquidEvaporationBoil< CloudType >::clone(), NonInertialFrameForce< CloudType >::clone(), PatchPostProcessing< CloudType >::clone(), ParticleTrap< CloudType >::clone(), StandardWallInteraction< CloudType >::clone(), ParticleForce< CloudType >::clone(), ParticleTracks< CloudType >::clone(), ParticleErosion< CloudType >::clone(), CloudFunctionObject< CloudType >::clone(), iC3H8O::clone(), nC3H8O::clone(), C8H10::clone(), H2O::clone(), C6H14::clone(), MultiInteraction< CloudType >::clone(), aC10H7CH3::clone(), Ar::clone(), C2H6O::clone(), bC10H7CH3::clone(), C10H22::clone(), C12H26::clone(), C13H28::clone(), C14H30::clone(), C16H34::clone(), C2H5OH::clone(), C2H6::clone(), C3H6O::clone(), C3H8::clone(), C4H10O::clone(), CH4N2O::clone(), C7H16::clone(), C6H6::clone(), C8H18::clone(), C9H20::clone(), CH3OH::clone(), C7H8::clone(), IC8H18::clone(), MB::clone(), N2::clone(), NonSphereDragForce< CloudType >::clone(), FacePostProcessing< CloudType >::clone(), IDEA::clone(), cyclicAMIPolyPatch::clone(), ThermoSurfaceFilm< CloudType >::clone(), ParticleCollector< CloudType >::clone(), KinematicCloud< Foam::DSMCCloud >::cloneBare(), SuppressionCollision< CloudType >::collide(), ORourkeCollision< CloudType >::collide(), molecule::constantProperties::constantProperties(), face::contactSphereDiameter(), trackedParticle::correctAfterParallelTransfer(), cyclicACMIGAMGInterfaceField::cyclicACMIGAMGInterfaceField(), cyclicAMIGAMGInterfaceField::cyclicAMIGAMGInterfaceField(), cyclicGAMGInterfaceField::cyclicGAMGInterfaceField(), fvFieldDecomposer::decomposeField(), IOstream::defaultPrecision(), Cloud< ParticleType >::deleteParticle(), LiquidEvaporationBoil< CloudType >::dh(), KinematicCloud< CloudType >::Dij(), plane::ray::dir(), KinematicCloud< CloudType >::Dmax(), Foam::domainName(), pitchForkRing::energy(), atmBoundaryLayer::epsilon(), externalCoupledMixedFvPatchField< Type >::externalCoupledMixedFvPatchField(), mappedPatchBase::facePoint(), for(), forAll(), pitchForkRing::force(), FreeStream< CloudType >::FreeStream(), PatchTools::gatherAndMerge(), get_geom_list(), Hash< Foam::label >::Hash(), heThermo< BasicSolidThermo, MixtureType >::he(), findCellParticle::hitPatch(), particle< Type >::hitWallFaces(), if(), ILList< DLListBase, Foam::molecule >::ILList(), Ostream::incrIndent(), FreeStream< CloudType >::inflow(), polyPatch::initMovePoints(), DSMCCloud< ParcelType >::internalEnergyOfSystem(), regionModel::interRegionAMI(), cell::labels(), DSMCCloud< ParcelType >::linearKineticEnergyOfSystem(), KinematicCloud< CloudType >::linearKineticEnergyOfSystem(), DSMCCloud< ParcelType >::linearMomentumOfSystem(), KinematicCloud< CloudType >::linearMomentumOfSystem(), pyramid< Point, PointRef, polygonRef >::mag(), regionModel::mapRegionPatchField(), regionModel::mapRegionPatchInternalField(), DSMCCloud< ParcelType >::massInSystem(), KinematicCloud< CloudType >::massInSystem(), cellDistFuncs::mesh(), MeshedSurface< Face >::MeshedSurface(), layeredEngineMesh::move(), DSMCParcel< ParcelType >::move(), Cloud< ParticleType >::move(), MPPICParcel< ParcelType >::move(), CollidingParcel< ParcelType >::move(), surfaceInterpolation::movePoints(), NamedEnum< Enum, nEnum >::names(), regionModel::nbrCoupledPatchID(), tetrahedron< Point, PointRef >::nearestPoint(), pointPatchField< Type >::New(), fvsPatchField< Type >::New(), fvPatchField< Type >::New(), fvsPatchField< Type >::NewCalculatedType(), fvPatchField< Type >::NewCalculatedType(), surfacePatch::operator!=(), geometricSurfacePatch::operator!=(), listPlusEqOp< T >::operator()(), sigmaRadial::operator()(), Hash< Foam::string >::operator()(), tetrahedron< Point, PointRef >::storeOp::operator()(), Hash< Foam::word >::operator()(), Hash< Foam::fileName >::operator()(), Hash< Foam::wordRe >::operator()(), Hash< Foam::keyType >::operator()(), KinematicParcel< ParcelType >::iNew::operator()(), Foam::operator*(), Foam::operator/(), curvedEdge::operator=(), token::operator=(), surfacePatch::operator==(), dynamicTreeDataPoint::overlaps(), wallBoundedParticle::patchInteraction(), KinematicCloud< CloudType >::penetration(), cell::points(), cellShape::points(), triFace::points(), face::points(), PatchPostProcessing< CloudType >::postPatch(), processorGAMGInterfaceField::processorGAMGInterfaceField(), triangle< Point, PointRef >::ray(), solidParticle::readFields(), MPPICParcel< ParcelType >::readFields(), CollidingParcel< ParcelType >::readFields(), DSMCParcel< ParcelType >::readFields(), ReactingParcel< ParcelType >::readFields(), ReactingMultiphaseParcel< ParcelType >::readFields(), ThermoParcel< ParcelType >::readFields(), SprayParcel< ParcelType >::readFields(), particle< Type >::readFields(), KinematicParcel< ParcelType >::readFields(), UILList< DLListBase, Foam::molecule >::remove(), SLListBase::remove(), autoPtr< T >::reset(), linear< Type >::rho(), KinematicCloud< CloudType >::rhoEff(), CollidingCloud< CloudType >::rotationalKineticEnergyOfSystem(), general::sample(), multiNormal::sample(), coordSet::scalarCoord(), autoPtr< T >::set(), PointIndexHit< Point >::setPoint(), PointHit< point >::setPoint(), liquidMixtureProperties::sigma(), liquidMixtureProperties::size(), ode< ChemistryModel >::solve(), SprayParcel< ParcelType >::solveTABEq(), thermo< Thermo, Type >::thermo(), constantFilmThermo::thermoData::thermoData(), KinematicCloud< CloudType >::theta(), ThermoCloud< CloudType >::Tmax(), ThermoCloud< CloudType >::Tmin(), dictionary::topDict(), CV2D::toPoint2D(), CV2D::toPoint3D(), wallBoundedParticle::TrackingData< CloudType >::TrackingData(), streamLineParticle::trackingData::trackingData(), wallBoundedStreamLineParticle::trackingData::trackingData(), particle< Type >::trackToFace(), heheuPsiThermo< BasicPsiThermo, MixtureType >::Tu(), infiniteReactionRate::type(), thirdBodyArrheniusReactionRate::type(), ArrheniusReactionRate::type(), LandauTellerReactionRate::type(), powerSeriesReactionRate::type(), solidArrheniusReactionRate::type(), JanevReactionRate::type(), LangmuirHinshelwoodReactionRate::type(), FallOffReactionRate< ReactionRate, FallOffFunction >::type(), ChemicallyActivatedReactionRate< ReactionRate, ChemicallyActivationFunction >::type(), hConstThermo< EquationOfState >::typeName(), hRefConstThermo< EquationOfState >::typeName(), constTransport< Thermo >::typeName(), eConstThermo< EquationOfState >::typeName(), polynomialTransport< Thermo, PolySize >::typeName(), janafThermo< EquationOfState >::typeName(), hPolynomialThermo< EquationOfState, PolySize >::typeName(), hPowerThermo< EquationOfState >::typeName(), sutherlandTransport< Thermo >::typeName(), SHF< CloudType >::update(), MPPICParcel< ParcelType >::TrackingData< CloudType >::updateAverages(), ReactingParcel< ParcelType >::updateMassFraction(), meshRefinement::userFaceData(), KinematicCloud< CloudType >::vDotSweep(), coordSet::vectorCoord(), wallBoundedParticle::wallBoundedParticle(), waveTransmissiveFvPatchField< Type >::waveTransmissiveFvPatchField(), while(), OBJedgeFormat::write(), OBJstream::write(), boundaryPatch::write(), dsmcFields::write(), meshToMeshMethod::writeConnectivity(), wallBoundedStreamLineParticle::writeFields(), solidParticle::writeFields(), MPPICParcel< ParcelType >::writeFields(), streamLineParticle::writeFields(), CollidingParcel< ParcelType >::writeFields(), DSMCParcel< ParcelType >::writeFields(), ReactingParcel< ParcelType >::writeFields(), ReactingMultiphaseParcel< ParcelType >::writeFields(), ThermoParcel< ParcelType >::writeFields(), SprayParcel< ParcelType >::writeFields(), KinematicParcel< ParcelType >::writeFields(), Cloud< ParticleType >::writePositions(), liquidMixtureProperties::Xs(), basicSpecieMixture::~basicSpecieMixture(), Gulders::~Gulders(), GuldersEGR::~GuldersEGR(), IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate >::~IrreversibleReaction(), leastSquaresVectors::~leastSquaresVectors(), liquidProperties::~liquidProperties(), multiComponentMixture< ThermoType >::~multiComponentMixture(), NonEquilibriumReversibleReaction< ReactionType, ReactionThermo, ReactionRate >::~NonEquilibriumReversibleReaction(), RaviPetersen::~RaviPetersen(), Reaction< ReactionThermo >::~Reaction(), ReversibleReaction< ReactionType, ReactionThermo, ReactionRate >::~ReversibleReaction(), skewCorrectionVectors::~skewCorrectionVectors(), SpecieMixture< MixtureType >::~SpecieMixture(), thermophysicalFunction::~thermophysicalFunction(), and TRIsurfaceFormatCore::~TRIsurfaceFormatCore().