All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=initialConditions.lookup< scalar > ("p")
 
Info<< "Reading thermophysical properties\"<< endl;autoPtr< rhoReactionThermo > pThermo (rhoReactionThermo::New(mesh))
 
thermo validate (args.executable(), "h")
 
autoPtr< BasicChemistryModel< rhoReactionThermo > > pChemistry (BasicChemistryModel< rhoReactionThermo >::New(thermo))
 
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
 
volScalarField Rspecific (IOobject("Rspecific", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimensionSet(dimEnergy/dimMass/dimTemperature), 0))
 
volVectorField U (IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
 
OFstream post (args.path()/"chemFoam.out")
 

Variables

scalar T0 = initialConditions.lookup<scalar>("T")
 
rhoReactionThermo & thermo = pThermo()
 

Function Documentation

◆ if()

if ( mesh.nCells() !  = 1)

Definition at line 1 of file createFields.H.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, mesh, and runTime.

Here is the call graph for this function:

◆ Info<< "Reading initial conditions.\< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=initialConditions.lookup< scalar >()

Info<< "Reading initial conditions.\<< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=initialConditions.lookup< scalar > ( "p"  )

◆ pThermo()

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

◆ validate()

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

Referenced by surfMesh::surfZones().

Here is the caller graph for this function:

◆ pChemistry()

autoPtr<BasicChemistryModel<rhoReactionThermo> > pChemistry ( BasicChemistryModel< rhoReactionThermo >  ::Newthermo)

◆ rho()

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

◆ Rspecific()

volScalarField Rspecific ( IOobject("Rspecific", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
mesh  ,
dimensionedScalar(dimensionSet(dimEnergy/dimMass/dimTemperature), 0)   
)

◆ U()

volVectorField U ( IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
mesh  ,
dimensionedVector(dimVelocity, Zero)   
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ post()

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

Variable Documentation

◆ T0

◆ thermo

rhoReactionThermo& thermo = pThermo()

Definition at line 28 of file createFields.H.

Referenced by TDACChemistryModel< CompType, ThermoType >::active(), radiation::addSup(), solidEquilibriumEnergySource::addSup(), interRegionHeatTransferModel::addSup(), effectivenessHeatExchangerSource::addSup(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::alphaEff(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat(), adsorptionMassFractionFvPatchScalarField::calcPhiYp(), semiPermeableBaffleMassFractionFvPatchScalarField::calcPhiYp(), LiquidEvaporationBoil< CloudType >::calculate(), COxidationDiffusionLimitedRate< CloudType >::calculate(), COxidationKineticDiffusionLimitedRate< CloudType >::calculate(), COxidationHurtMitchell< CloudType >::calculate(), COxidationIntrinsicRate< CloudType >::calculate(), COxidationMurphyShaddix< CloudType >::calculate(), StandardChemistryModel< CompType, ThermoType >::calculate(), StandardChemistryModel< CompType, ThermoType >::calculateRR(), LiquidEvaporation< CloudType >::calcXc(), LiquidEvaporationBoil< CloudType >::calcXc(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict(), fixedTemperatureConstraint::constrain(), infinitelyFastChemistry< ReactionThermo, ThermoType >::correct(), diffusion< ReactionThermo, ThermoType >::correct(), limitTemperature::correct(), standardPhaseChange::correctModel(), waxSolventEvaporation::correctModel(), ReactingParcel< ParcelType >::correctSurfaceValues(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff(), forces::devTau(), Fourier< BasicThermophysicalTransportModel >::divj(), Fourier< BasicThermophysicalTransportModel >::divq(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), effectivenessHeatExchangerSource::effectivenessHeatExchangerSource(), totalEnthalpy::execute(), wallHeatFlux::execute(), fixedTemperatureConstraint::fixedTemperatureConstraint(), forAll(), forAllConstIter(), if(), liquidFilmThermo::initLiquid(), Fourier< BasicThermophysicalTransportModel >::j(), temperatureCoupledBase::kappa(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::laminarThermophysicalTransportModel(), LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::LESThermophysicalTransportModel(), limitTemperature::limitTemperature(), forces::mu(), NamedEnum< compressibleField, 8 >::names(), combustionModel::New(), basicChemistryModel::New(), BasicChemistryModel< CompType >::New(), sootModel::New(), CombustionModel< ReactionThermo >::New(), specieTransferTemperatureFvPatchScalarField::phiHep(), Fourier< BasicThermophysicalTransportModel >::q(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), noCombustion< ReactionThermo >::Qdot(), PaSR< ReactionThermo >::Qdot(), singleStepCombustion< ReactionThermo, ThermoType >::Qdot(), EDC< ReactionThermo >::Qdot(), laminar< ReactionThermo >::R(), radiation::radiation(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::RASThermophysicalTransportModel(), ReactingCloud< Foam::DSMCCloud >::ReactingCloud(), TDACChemistryModel< CompType, ThermoType >::setActive(), solidEquilibriumEnergySource::solidEquilibriumEnergySource(), solidificationMeltingSource::solidificationMeltingSource(), StandardChemistryModel< CompType, ThermoType >::solve(), TDACChemistryModel< CompType, ThermoType >::solve(), StandardChemistryModel< CompType, ThermoType >::tc(), TDACChemistryModel< CompType, ThermoType >::TDACChemistryModel(), ThermophysicalTransportModel< Foam::PhaseCompressibleMomentumTransportModel, typename BasePhaseModel::thermoModel >::ThermophysicalTransportModel(), externalCoupledTemperatureMixedFvPatchScalarField::transferData(), fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs(), mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), fixedEnergyFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), gradientEnergyFvPatchScalarField::updateCoeffs(), mixedEnergyFvPatchScalarField::updateCoeffs(), specieTransferTemperatureFvPatchScalarField::updateCoeffs(), while(), and FSD< ReactionThermo, ThermoType >::~FSD().