Loading...
Searching...
No Matches
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< psiThermo > pThermo (psiThermo::New(mesh))
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))

Variables

psiThermo & thermo = pThermo()
volScalarField & e = thermo.he()

Function Documentation

◆ pThermo()

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

References mesh.

◆ turbulence()

Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence ( compressible::turbulenceModel::New(rho, U, phi, thermo) )

References phi, rho, and U.

Variable Documentation

◆ thermo

psiThermo& thermo = pThermo()

Definition at line 9 of file createFields.H.

◆ e

volScalarField& e = thermo.he()

Definition at line 11 of file createFields.H.

Referenced by dictionary::add(), dictionary::add(), extendedEdgeMesh::add(), velocityDampingConstraint::addDamping(), triSurfaceMesh::addFaceToEdge(), edgeSurface::addIntersectionEdges(), columnFvMeshInfo::addLocalPatches(), Foam::filmSeparationModels::addToRunTimeSelectionTable(), Foam::adjustPhi(), advectionDiffusion::advectionDiffusion(), alphatWallBoilingWallFunctionFvPatchScalarField::alphatWallBoilingWallFunctionFvPatchScalarField(), alphatWallBoilingWallFunctionFvPatchScalarField::alphatWallBoilingWallFunctionFvPatchScalarField(), SubStrings::append(), pointConstraint::applyConstraint(), Field< Type >::assign(), Field< T >::assign(), motionSmootherAlgo::avg(), BFGS::BFGS(), meshRefinement::blockLeakFaces(), PDRblock::blockMeshDict(), treeDataEdge::bounds(), treeDataEdge::bounds(), Foam::boundsImpl(), treeDataEdge::boxes(), nearWallFields::calcAddressing(), holeToFace::calcClosure(), enrichedPatch::calcEnrichedFaces(), addPatchCellLayer::calcExtrudeInfo(), polyDualMesh::calcFeatures(), processorFaPatch::calcGeometry(), curvatureSeparation::calcInvR1(), cutCell::calcIsoFacePointsFromEdges(), atmNutkWallFunctionFvPatchScalarField::calcNut(), atmNutUWallFunctionFvPatchScalarField::calcNut(), nutkRoughWallFunctionFvPatchScalarField::calcNut(), nutkWallFunctionFvPatchScalarField::calcNut(), nutUWallFunctionFvPatchScalarField::calcNut(), faPatch::calcPointEdges(), faPatch::calcPointLabels(), createShellMesh::calcPointRegions(), Foam::calcQE11(), snappySnapDriver::calcSnapDistance(), LiquidEvaporationBoil< CloudType >::calculate(), viewFactor::calculate(), cellVolumeWeightMethod::calculateAddressing(), correctedCellVolumeWeightMethod::calculateAddressing(), meshRefinement::calculateEdgeWeights(), parcelSelection::calculateFilter(), nutUBlendedWallFunctionFvPatchScalarField::calcUTau(), IshiiZuber::CdRe(), polyMesh::cellTree(), treeDataEdge::centres(), Enum< EnumType >::cfind(), layerAdditionRemoval::changeTopology(), searchableSurfaces::checkIntersection(), hexRef8::checkMesh(), PatchTools::checkOrientation(), PrimitivePatch< FaceList, PointField >::checkTopology(), noiseModel::checkUniformTimeStep(), chemistryReductionMethod< CompType, ThermoType >::chemistryReductionMethod(), chemistryTabulationMethod< CompType, ThermoType >::chemistryTabulationMethod(), surfaceFeatures::ClassName(), Foam::foamyHexMeshChecks::closePoints(), triSurfaceTools::collapseEdges(), triSurfaceTools::collapseEdges(), pointConstraint::combine(), comfort::comfort(), blockEdge::compare(), blockEdge::compare(), Foam::consistentEdge(), KinematicParcel< ParcelType >::constantProperties::constantProperties(), molecule::constantProperties::constantProperties(), Enum< EnumType >::contains(), face::contains(), triFace::contains(), edgeVertex::coord(), Foam::foamyHexMeshChecks::coplanarTet(), Foam::copyFilteredDict(), correct(), diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), EDC< ReactionThermo >::correct(), limitHeight::correct(), limitVelocity::correct(), limitTemperature::correct(), limitTurbulenceViscosity::correct(), limitVelocity::correct(), patchPatchDist::correct(), kineticTheoryModel::correct(), relaxation::correct(), curvatureSeparation::correct(), twoDPointCorrector::correctDisplacement(), removePoints::countPointUsage(), cyclicPolyPatch::coupledEdges(), Foam::createTree(), wallBoundedParticle::crossEdgeConnectedFace(), motionSmootherAlgo::curPoints(), triSurfaceTools::curvatures(), extendedEdgeMesh::cut(), geomCellLooper::cut(), DBFGS::DBFGS(), hierarchGeomDecomp::decompose(), Foam::constant::defineDimensionedConstantWithDefault(), Foam::defineTypeNameAndDebug(), Foam::defineTypeNameAndDebug(), Foam::defineTypeNameAndDebug(), Foam::defineTypeNameAndDebug(), Foam::defineTypeNameAndDebug(), faPatch::delta(), dictionary::dictionary(), dictionary::dictionary(), dictionaryValue::dictionaryValue(), dictionary::digest(), dimensioned< Type >::dimensioned(), dimensioned< Type >::dimensioned(), dimensioned< label >::dimensioned(), dimensioned< label >::dimensioned(), distanceSurface::distanceSurface(), distanceSurface::distanceSurface(), meshRefinement::distribute(), fileStat::dmodTime(), snappySnapDriver::doSnap(), dtris2(), solidAbsorption::e(), eddy::eddy(), eddy::eddy(), extendedEdgeMesh::edgeDirection(), face::edgeDirection(), triFace::edgeDirection(), primitiveMesh::edgeFaces(), hexCell::edges(), edgeSurface::edgeSurface(), directionInfo::edgeToFaceIndex(), PointEdgeWave< Type, TrackingData >::edgeToPoint(), edgeSlipDisplacementPointPatchVectorField::edgeTree(), extendedEdgeMesh::edgeTree(), triSurfaceMesh::edgeTree(), extendedEdgeMesh::edgeTreesByType(), pairPotential::energy(), pairPotentialList::energy(), entry::entry(), Enum< EnumType >::Enum(), environmentVariable::environmentVariable(), boolEntry::evaluate(), dimensionedScalarEntry::evaluate(), expressionEntry::evaluate(), stringEntry::evaluate(), ifeqEntry::execute(), proudmanAcousticPower::execute(), pointMeshTools::featurePointsEdges(), Field< Type >::Field(), Field< T >::Field(), fileRegEx::fileRegEx(), Enum< EnumType >::find(), face::find(), triFace::find(), Foam::meshTools::findEdge(), Foam::meshTools::findEdge(), PrimitivePatch< FaceList, PointField >::findEdge(), PrimitivePatch< List< face >, const pointField >::findEdge(), patchFieldProbe::findElements(), Foam::blockMeshTools::findEntry(), searchableSurfaceWithGaps::findLine(), mappedPatchBase::findLocalSamples(), searchableSurfacesQueries::findNearest(), cyclicACMIFvPatchField< Type >::fixesValue(), kOmegaSSTLM< BasicTurbulenceModel >::Flength(), extendedEdgeMesh::flipNormals(), Foam::FOAM_DEPRECATED_FOR(), forAll(), Enum< EnumType >::found(), functionObjectValue::functionObjectValue(), SinclairJackson::g0prime(), Enum< EnumType >::get(), triSurfaceTools::getEdge(), cellLooper::getFirstVertEdge(), lduMatrix::preconditioner::getName(), lduMatrix::smoother::getName(), boundaryMesh::getNearest(), combineFaces::getOutsideFace(), triSurfaceTools::getVertexTriangles(), triSurfaceTools::getVertexVertices(), treeDataFace::getVolumeType(), gradAlpha::gradAlpha(), granularPressureModel::granularPressureCoeff(), Lun::granularPressureCoeff(), SyamlalRogersOBrien::granularPressureCoeff(), granularPressureModel::granularPressureCoeffPrime(), Lun::granularPressureCoeffPrime(), SyamlalRogersOBrien::granularPressureCoeffPrime(), graphFunctionObject::graphFunctionObject(), triSurfaceTools::greenRefine(), BreenWestwater::htcFilmBoil(), Bromley::htcFilmBoil(), if(), singleDirectionUniformBin::initialise(), uniformBin::initialise(), viewFactor::initialise(), processorFaPatch::initUpdateMesh(), interfaceProperties::interfaceProperties(), triangleFuncs::intersectBb(), Foam::Math::invIncGamma(), Vector2D< vector >::isClose(), isoAdvection::isoAdvection(), isoAlpha::isoAlpha(), isoSurfaceParams::isoSurfaceParams(), isoSurfaceTopo::isoSurfaceTopo(), TDACChemistryModel< ReactionThermo, ThermoType >::jacobian(), GidaspowSchillerNaumann::K(), conductivityModel::kappa(), Gidaspow::kappa(), HrenyaSinclair::kappa(), Syamlal::kappa(), interfaceHeatResistance< Thermo, OtherThermo >::Kexp(), interfaceOxideRate< Thermo, OtherThermo >::Kexp(), dictionary::keys(), kinematicSingleLayer::kinematicSingleLayer(), kineticGasEvaporation< Thermo, OtherThermo >::kineticGasEvaporation(), kOmegaSSTLM< BasicTurbulenceModel >::kOmegaSSTLM(), Foam::levelSetFraction(), liquidFilmBase::liquidFilmBase(), LuoSvendsen::LuoSvendsen(), betaMax::markProcessorEdges(), edgeCollapser::markSmallEdges(), Foam::markupBoundaryPoints(), triSurfaceTools::maxEdge(), dictionary::merge(), edgeMesh::mergeEdges(), surfaceIntersection::mergeEdges(), edgeMesh::mergePoints(), surfaceIntersection::mergePoints(), meshBb(), PrimitivePatch< FaceList, PointField >::meshEdge(), PrimitivePatch< List< face >, const pointField >::meshEdge(), cellShape::meshEdges(), triSurfaceTools::minEdge(), hexCell::modelEdges(), tetCell::modelEdges(), motionSmootherAlgo::modifyMotionPoints(), multiphaseSystem::multiphaseSystem(), multiphaseSystem::multiphaseSystem(), InterfaceCompositionModel< Thermo, OtherThermo >::MwMixture(), nC3H8O::nC3H8O(), line< point, const point & >::nearestDist(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), polyBoundaryMesh::neighbourEdges(), lduMatrix::preconditioner::New(), lduMatrix::smoother::New(), fvMeshTools::newMesh(), multiphaseInterSystem::nHatfv(), noiseModel::noiseModel(), NSRDSfunc0::NSRDSfunc0(), NSRDSfunc1::NSRDSfunc1(), NSRDSfunc4::NSRDSfunc4(), NSRDSfunc6::NSRDSfunc6(), NSRDSfunc7::NSRDSfunc7(), noneViscosity::nu(), viscosityModel::nu(), Gidaspow::nu(), HrenyaSinclair::nu(), Syamlal::nu(), multiphaseInterSystem::nVolHatfv(), ObukhovLength::ObukhovLength(), ODESolver::ODESolver(), entry::operator!=(), Enum< EnumType >::operator()(), treeDataPrimitivePatch< PatchType >::findSelfIntersectOp::operator()(), dictionary::operator+=(), blockEdge::operator<<, dictionaryEntry::operator<<, dictionaryListEntry::operator<<, eddy::operator<<, entry::operator<<, Foam::operator<<(), Foam::operator<<(), Foam::operator<<(), Foam::operator<<(), Foam::operator<<(), Foam::operator<<(), Foam::operator<<(), Foam::operator<<(), Foam::operator<<(), element::operator<<, dictionary::operator<<=(), dictionary::operator=(), eddy::operator=(), entry::operator=(), entry::operator==(), eddy::operator>>, Foam::operator>>(), Foam::operator>>(), Foam::operator>>(), Foam::operator>>(), Foam::operator>>(), Enum< EnumType >::operator[](), dictionary::operator|=(), cell::opposingFace(), triSurfaceTools::oppositeEdge(), triSurfaceTools::oppositeVertex(), reader::options::options(), Foam::meshTools::otherEdge(), searchableRotatedBox::overlaps(), OwenRyleyModel::OwenRyleyModel(), PatchInteractionModel< CloudType >::PatchInteractionModel(), speciesSorptionFvPatchScalarField::patchSource(), cuttingPlane::performCut(), cuttingSurface::performCut(), Foam::MatrixTools::pinv(), plicRDF::plicRDF(), extendedEdgeMesh::pointTree(), pointAttractionDisplacementPointPatchVectorField::pointTree(), projectCurveEdge::position(), projectEdge::position(), PrinceBlanch::PrinceBlanch(), Foam::printPatchEdges(), SpalartAllmarasDES< BasicTurbulenceModel >::psi(), sampledSet::pushIn(), genericPatchFieldBase::putEntry(), singleStepCombustion< ReactionThermo, ThermoType >::R(), IATEsource::Re(), reactingOneDim::reactingOneDim(), reactingOneDim::reactingOneDim(), adjointEikonalSolver::read(), STDMD::read(), NASedgeFormat::read(), OBJedgeFormat::read(), STARCDedgeFormat::read(), age::read(), BilgerMixtureFraction::read(), comfort::read(), energySpectrum::read(), foamReport::read(), ObukhovLength::read(), wallBoundedStreamLine::read(), mappedPatchBase::readDict(), dimensionSet::readEntry(), reducedUnits::reducedUnits(), refinementFeatures::regionEdgeTrees(), edgeMesh::regions(), Foam::resolveLabel(), Foam::reverse(), VollerPrakash::S(), pairPotential::scaledEnergy(), energyScalingFunction::scaleEnergy(), doubleSigmoid::scaleEnergy(), noScaling::scaleEnergy(), shifted::scaleEnergy(), shiftedForce::scaleEnergy(), sigmoid::scaleEnergy(), pairPotential::scaleEnergy(), extendedEdgeMesh::select(), Foam::serializeProjectEdge(), dictionary::set(), boundaryMesh::setFeatureEdges(), addPatchCellLayer::setRefinement(), boundaryCutter::setRefinement(), createShellMesh::setRefinement(), faceCollapser::setRefinement(), hexRef8::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), removeFaces::setRefinement(), tetDecomposer::setRefinement(), seulex::seulex(), Enum< injectionMethod >::size(), Foam::Sn(), EulerImplicit< ChemistryModel >::solve(), Foam::solve(), twoPhaseSystem::solve(), thermoSingleLayer::solveEnergy(), SprayParcel< ParcelType >::solveTABEq(), PatchTools::sortedEdgeFaces(), dictionary::sortedToc(), SR1::SR1(), SRIFallOffFunction::SRIFallOffFunction(), surfaceFeatures::subsetPlane(), dictionary::substituteKeyword(), dictionary::substituteScopedKeyword(), surfaceAlignedSBRStressFvMotionSolver::surfaceAlignedSBRStressFvMotionSolver(), surfaceIntersection::surfaceIntersection(), surfaceIntersection::surfaceIntersection(), surfaceIntersection::surfaceIntersection(), surfaceIntersection::surfaceIntersection(), triSurfaceTools::surfaceSide(), swapec(), syncTools::syncEdgeMap(), syncTools::syncPointMap(), targetCoeffTrim::targetCoeffTrim(), Schroeder::TDNB(), fvMeshDistribute::testField(), absoluteInternalEnergy< Thermo >::THE(), multiphaseInterSystem::THE(), multiphaseInterSystem::THE(), sensibleInternalEnergy< Thermo >::THE(), cutFaceAdvect::timeIntegratedArea(), cutFaceAdvect::timeIntegratedArea(), cutFaceAdvect::timeIntegratedFaceFlux(), timeVaryingMappedFixedValuePointPatchField< Type >::timeVaryingMappedFixedValuePointPatchField(), dictionary::toc(), boolEntry::toExpr(), expressionEntry::toExpr(), stringEntry::toExpr(), dictionary::tokens(), TolubinskiKostanchuk::TolubinskiKostanchuk(), triSurfaceSearch::tree(), triSurfaceRegionSearch::treeByRegion(), triangulation_plot_eps(), Gidaspow::TypeName(), HrenyaSinclair::TypeName(), Syamlal::TypeName(), Lun::TypeName(), SyamlalRogersOBrien::TypeName(), noneViscosity::TypeName(), NSRDSfunc0::TypeName(), NSRDSfunc1::TypeName(), NSRDSfunc4::TypeName(), NSRDSfunc6::TypeName(), NSRDSfunc7::TypeName(), pointConstraint::unconstrainedDirections(), uniformSet::uniformSet(), uniformSet::uniformSet(), inverseDistance::update(), trackingInverseDistance::update(), LISAAtomization< CloudType >::update(), sampledMeshedSurface::update(), directionInfo::updateCell(), activeBaffleVelocityFvPatchVectorField::updateCoeffs(), activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs(), atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), externalPointEdgePoint::updateEdge(), patchEdgeFaceInfo::updateEdge(), patchEdgeFaceRegions::updateEdge(), patchFaceOrientation::updateEdge(), pointEdgePoint::updateEdge(), patchEdgeFaceRegions::updateFace(), patchFaceOrientation::updateFace(), boundaryCutter::updateMesh(), meshCutAndRemove::updateMesh(), meshCutter::updateMesh(), processorFaPatch::updateMesh(), userValue::userValue(), vbedg(), velocityGroup::velocityGroup(), triSurfaceTools::vertexTriads(), surfaceIteratorIso::vofCutCell(), surfaceIteratorPLIC::vofCutCell(), voxelMeshSearch::voxelMeshSearch(), cuttingSurfaceBase::walkCellCuts(), FieldBase::warnLocalBoundaryConsistencyCompat(), meshRefinement::weightedSum(), PrimitivePatch< List< face >, const pointField >::whichEdge(), Foam::blockMeshTools::write(), entry::write(), GTSsurfaceFormat< Face >::write(), GTSsurfaceFormat< Face >::write(), OBJedgeFormat::write(), multiFieldValue::write(), genericPolyPatch::write(), OBJstream::write(), OBJstream::write(), OBJstream::write(), OBJstream::write(), surfaceLocation::write(), timeVaryingMappedFixedValuePointPatchField< Type >::write(), edgeVertex::writeCut(), externalCoupledTemperatureMixedFvPatchScalarField::writeData(), JSONformatter::writeDict(), pairPotential::writeEnergyAndForceTables(), dictionary::writeEntries(), MappedFile< Type >::writeEntries(), caseInfo::writeFileDicts(), AABBTreeBase::writeOBJ(), indexedOctreeBase::writeOBJ(), Foam::meshTools::writeOBJ(), extendedEdgeMesh::writeObj(), surfaceFeatures::writeObj(), Foam::writeObjEdges(), caseInfo::writeRegisteredDicts(), and expressionEntry::~expressionEntry().