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(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=initialConditions.lookup< scalar > ("p")
 
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< fluidMulticomponentThermo > pThermo (fluidMulticomponentThermo::New(mesh))
 
thermo validate (args.executable(), "h")
 
autoPtr< basicChemistryModel > pChemistry (basicChemistryModel::New(thermo))
 
volScalarField rho (IOobject("rho", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.renameRho())
 
volScalarField Rspecific (IOobject("Rspecific", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimensionSet(dimEnergy/dimMass/dimTemperature), 0))
 
volVectorField U (IOobject("U", runTime.name(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
 
OFstream post (args.path()/"chemFoam.out")
 

Variables

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

Function Documentation

◆ if()

if ( mesh.nCells() !  = 1)

Definition at line 1 of file createFields.H.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ Info<< "Reading initial conditions.\n"<< 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.\n"<< 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<fluidMulticomponentThermo> pThermo ( fluidMulticomponentThermo::New(mesh)  )

◆ validate()

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

Referenced by surfMesh::addZones(), and surfMesh::resetPrimitives().

Here is the caller graph for this function:

◆ pChemistry()

autoPtr<basicChemistryModel> pChemistry ( basicChemistryModel::New(thermo )

◆ rho()

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

◆ Rspecific()

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

◆ U()

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

◆ post()

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

Variable Documentation

◆ T0

◆ thermo

fluidMulticomponentThermo& thermo = pThermo()

Definition at line 31 of file createFields.H.

Referenced by CloudFilmTransfer< CloudType >::absorbInteraction(), chemistryModel< ThermoType >::active(), effectivenessHeatExchangerSource::addSup(), radiation::addSup(), interRegionHeatTransfer::addSup(), buoyancyEnergy::addSupFields(), effectivenessHeatExchangerSource::addSupFields(), heatSource::addSupFields(), heatTransfer::addSupFields(), solidEquilibriumEnergySource::addSupFields(), solidificationMeltingSource::addSupFields(), interRegionHeatTransfer::addSupFields(), radiation::addSupFields(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::alphaEff(), compressibleMultiphaseVoFMixture::alphaEff(), XiFluid::bSolve(), adsorptionMassFractionFvPatchScalarField::calcPhiYp(), semiPermeableBaffleMassFractionFvPatchScalarField::calcPhiYp(), chemistryModel< ThermoType >::calculate(), COxidationDiffusionLimitedRate< CloudType >::calculate(), COxidationHurtMitchell< CloudType >::calculate(), COxidationIntrinsicRate< CloudType >::calculate(), COxidationKineticDiffusionLimitedRate< CloudType >::calculate(), COxidationMurphyShaddix< CloudType >::calculate(), ORourkeCollision< CloudType >::collide(), fixedTemperatureConstraint::constrain(), limitTemperature::constrain(), fixedTemperatureConstraint::constrainedFields(), limitTemperature::constrainedFields(), VoFSolidificationMeltingSource::correct(), diffusion::correct(), infinitelyFastChemistry::correct(), IsothermalPhaseModel< BasePhaseModel >::correctThermo(), absoluteEnthalpy< Thermo >::Cpv(), absoluteInternalEnergy< Thermo >::Cpv(), sensibleEnthalpy< Thermo >::Cpv(), sensibleInternalEnergy< Thermo >::Cpv(), Fickian< BasicThermophysicalTransportModel >::DEff(), MaxwellStefan< BasicThermophysicalTransportModel >::DEff(), Fickian< BasicThermophysicalTransportModel >::divj(), MaxwellStefan< BasicThermophysicalTransportModel >::divj(), StationaryPhaseModel< BasePhaseModel >::divq(), Fickian< BasicThermophysicalTransportModel >::divq(), Fourier< BasicThermophysicalTransportModel >::divq(), MaxwellStefan< BasicThermophysicalTransportModel >::divq(), unityLewisFourier< BasicThermophysicalTransportModel >::divq(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), anisotropic::divq(), isotropic::divq(), CloudFilmTransfer< CloudType >::drySplashInteraction(), XiFluid::EauSolve(), adjustTimeStepToCombustion::execute(), totalEnthalpy::execute(), wallHeatTransferCoeff::execute(), massFractions::execute(), moleFractions::execute(), coupledMultiphaseTemperatureFvPatchScalarField::getNbr(), coupledMultiphaseTemperatureFvPatchScalarField::getThis(), Foam::h0(), absoluteEnthalpy< Thermo >::HE(), absoluteInternalEnergy< Thermo >::HE(), sensibleEnthalpy< Thermo >::HE(), sensibleInternalEnergy< Thermo >::HE(), AnisothermalPhaseModel< BasePhaseModel >::heEqn(), Foam::hydrostaticInitialisation(), if(), Fickian< BasicThermophysicalTransportModel >::j(), MaxwellStefan< BasicThermophysicalTransportModel >::j(), solidThermophysicalTransportModel::kappa(), anisotropic::kappa(), StationaryPhaseModel< BasePhaseModel >::kappaEff(), basicThermo::lookupCstrIter(), main(), Fickian< unityLewisFourier< laminarThermophysicalTransportModel > >::mapMesh(), MaxwellStefan< BasicThermophysicalTransportModel >::MaxwellStefan(), IATEsource::Mo(), dispersedPhaseInterface::Mo(), XiEqModel::New(), XiGModel::New(), XiModel::New(), solidThermophysicalTransportModel::New(), compressibleMultiphaseVoFMixture::nu(), specieTransferTemperatureFvPatchScalarField::phiHep(), solidDisplacement::postCorrector(), isothermalFluid::postSolve(), solidDisplacement::postSolve(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::predict(), solidDisplacement::prePredictor(), compressibleMultiphaseVoF::pressureCorrector(), solidDisplacement::pressureCorrector(), compressibleMultiphaseVoFMixture::psiByRho(), Fickian< BasicThermophysicalTransportModel >::q(), Fourier< BasicThermophysicalTransportModel >::q(), MaxwellStefan< BasicThermophysicalTransportModel >::q(), unityLewisFourier< BasicThermophysicalTransportModel >::q(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), anisotropic::q(), isotropic::q(), anisotropic::qCorr(), EDC::Qdot(), noCombustion::Qdot(), PaSR::Qdot(), singleStepCombustion::Qdot(), noCombustion::R(), EDC::R(), laminar::R(), compressibleMultiphaseVoFMixture::rCv(), IATEsource::Re(), chemistryModel< ThermoType >::reactionRR(), MaxwellStefan< BasicThermophysicalTransportModel >::read(), chemistryModel< ThermoType >::setActive(), radiationModel::Sh(), liquidProperties::sigma(), chemistryModel< ThermoType >::solve(), chemistryModel< ThermoType >::tc(), solidDisplacement::thermophysicalPredictor(), XiFluid::thermophysicalPredictor(), nonRandomTwoLiquid::update(), specieTransferTemperatureFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), fixedEnergyFvPatchScalarField::updateCoeffs(), gradientEnergyFvPatchScalarField::updateCoeffs(), mixedEnergyFvPatchScalarField::updateCoeffs(), fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs(), mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), tractionDisplacementFvPatchVectorField::updateCoeffs(), Foam::W(), CloudFilmTransfer< CloudType >::wetSplashInteraction(), and Henry::Yf().