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(), interRegionHeatTransfer::addSup(), effectivenessHeatExchanger::addSup(), radiation::addSup(), buoyancyEnergy::addSupFields(), effectivenessHeatExchanger::addSupFields(), heatSource::addSupFields(), solidificationMelting::addSupFields(), solidThermalEquilibrium::addSupFields(), viscousHeating::addSupFields(), heatTransfer::addSupFields(), interRegionHeatTransfer::addSupFields(), radiation::addSupFields(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::alphaEff(), compressibleMultiphaseVoFMixture::alphaEff(), anisotropic< SolidThermophysicalTransportModel >::anisotropic(), 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(), fixedTemperature::constrain(), limitTemperature::constrain(), fixedTemperature::constrainedFields(), limitTemperature::constrainedFields(), VoFSolidificationMelting::correct(), diffusion::correct(), infinitelyFastChemistry::correct(), phaseSystem::correctKinematics(), IsothermalPhaseModel< BasePhaseModel >::correctThermo(), absoluteEnthalpy< Thermo >::Cpv(), absoluteInternalEnergy< Thermo >::Cpv(), sensibleEnthalpy< Thermo >::Cpv(), sensibleInternalEnergy< Thermo >::Cpv(), interfaceCompositionModel::D(), Fickian< BasicThermophysicalTransportModel >::DEff(), MaxwellStefan< BasicThermophysicalTransportModel >::DEff(), Fickian< BasicThermophysicalTransportModel >::divj(), MaxwellStefan< BasicThermophysicalTransportModel >::divj(), Fickian< BasicThermophysicalTransportModel >::divq(), Fourier< BasicThermophysicalTransportModel >::divq(), MaxwellStefan< BasicThermophysicalTransportModel >::divq(), unityLewisFourier< BasicThermophysicalTransportModel >::divq(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), anisotropic< SolidThermophysicalTransportModel >::divq(), isotropic< SolidThermophysicalTransportModel >::divq(), CloudFilmTransfer< CloudType >::drySplashInteraction(), interfaceCompositionModel::dY(), XiFluid::EauSolve(), 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(), Foam::hydrostaticInitialisation(), if(), energyFvScalarFieldSource::internalCoeff(), isotropic< SolidThermophysicalTransportModel >::isotropic(), Fickian< BasicThermophysicalTransportModel >::j(), MaxwellStefan< BasicThermophysicalTransportModel >::j(), phaseSolidThermophysicalTransportModel::kappa(), solidThermophysicalTransportModel::kappa(), anisotropic< SolidThermophysicalTransportModel >::kappa(), IsothermalPhaseModel< BasePhaseModel >::kappaEff(), IsothermalSolidPhaseModel< BasePhaseModel >::kappaEff(), basicThermo::lookupCstrIter(), main(), Fickian< unityLewisFourier< laminarThermophysicalTransportModel > >::mapMesh(), adjustTimeStepToCombustion::maxDeltaT(), MaxwellStefan< BasicThermophysicalTransportModel >::MaxwellStefan(), isothermalFluid::motionCorrector(), phaseSolidThermophysicalTransportModel::New(), XiEqModel::New(), XiGModel::New(), XiModel::New(), solidThermophysicalTransportModel::New(), compressibleMultiphaseVoFMixture::nu(), specieTransferTemperatureFvPatchScalarField::phiHep(), specieTransferVelocityFvPatchVectorField::phip(), 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< SolidThermophysicalTransportModel >::q(), isotropic< SolidThermophysicalTransportModel >::q(), anisotropic< SolidThermophysicalTransportModel >::qCorr(), EDC::Qdot(), noCombustion::Qdot(), PaSR::Qdot(), singleStepCombustion::Qdot(), noCombustion::R(), EDC::R(), laminar::R(), compressibleMultiphaseVoFMixture::rCv(), chemistryModel< ThermoType >::reactionRR(), MaxwellStefan< BasicThermophysicalTransportModel >::read(), MulticomponentThermo< BaseThermo >::scalarFieldPropertyi(), radiationModel::Sh(), chemistryModel< ThermoType >::solve(), energyFvScalarFieldSource::sourceValue(), 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(), MulticomponentThermo< BaseThermo >::volScalarFieldPropertyi(), Foam::W(), CloudFilmTransfer< CloudType >::wetSplashInteraction(), Henry::Yf(), nonRandomTwoLiquid::Yf(), Raoult::Yf(), saturated::Yf(), nonRandomTwoLiquid::YfPrime(), Raoult::YfPrime(), and saturated::YfPrime().