Functions | Variables
createFields.H File Reference

Go to the source code of this file.

Functions

Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiThermo > pThermo (psiThermo::New(mesh))
 
bool inviscid (true)
 
 if (max(mu.internalField()) > 0.0)
 

Variables

psiThermo & thermo = pThermo()
 
volScalarField & p = thermo.p()
 
volScalarField & e = thermo.he()
 Elementary charge. More...
 
const volScalarField & T = thermo.T()
 
const volScalarField & psi = thermo.psi()
 
const volScalarField & mu = thermo.mu()
 Atomic mass unit. More...
 
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", mesh.Sf() &fvc::interpolate(rhoU));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
 

Function Documentation

◆ pThermo()

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

◆ inviscid()

bool inviscid ( true  )

Referenced by if().

Here is the caller graph for this function:

◆ if()

if ( max(mu.internalField())  ,
0.  0 
)

Definition at line 16 of file createFields.H.

References inviscid().

Here is the call graph for this function:

Variable Documentation

◆ thermo

psiThermo& thermo = pThermo()

Definition at line 7 of file createFields.H.

◆ p

volScalarField& p = thermo.p()

Definition at line 9 of file createFields.H.

◆ e

volScalarField& e = thermo.he()

Elementary charge.

Definition at line 10 of file createFields.H.

◆ T

const volScalarField& T = thermo.T()

Definition at line 11 of file createFields.H.

◆ psi

const volScalarField& psi = thermo.psi()

Definition at line 12 of file createFields.H.

◆ mu

const volScalarField& mu = thermo.mu()

Atomic mass unit.

Definition at line 13 of file createFields.H.

Referenced by porosityModelList::addResistance(), porosityModel::addResistance(), interRegionExplicitPorositySource::addSup(), constTransport::alphah(), DarcyForchheimer::apply(), DarcyForchheimer::calcForce(), forces::calcForcesMoment(), KinematicParcel::calcVelocity(), tetrahedron::circumCentre(), tetrahedron::circumRadius(), DarcyForchheimer::correct(), directionalPressureGradientExplicitSource::correct(), ThermoSurfaceFilm< CloudType >::drySplashInteraction(), WallLocalSpringSliderDashpot< CloudType >::evaluateWall(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::F1(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::F2(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::F3(), Foam::interpolateSplineXY(), constTransport::kappa(), sutherlandTransport::kappa(), liquidMixtureProperties::mu(), filmViscosityModel::New(), fluidThermo::nu(), BSplineEdge::position(), splineEdge::position(), BSpline::position(), CatmullRomSpline::position(), polyLine::position(), SprayParcel::readFields(), fieldSmoother::smoothLambdaMuDisplacement(), surfaceAlignedSBRStressFvMotionSolver::solve(), laminar::Su(), ReitzKHRT< CloudType >::update(), ETAB< CloudType >::update(), PilchErdman< CloudType >::update(), TAB< CloudType >::update(), LISAAtomization< CloudType >::update(), SHF< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), splineInterpolationWeights::valueWeights(), ThermoSurfaceFilm< CloudType >::wetSplashInteraction(), and SprayParcel::writeFields().

◆ 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", mesh.Sf() & fvc::interpolate(rhoU));Info<< "Creating turbulence model\n" << endl;autoPtr<compressible::turbulenceModel> turbulence(compressible::turbulenceModel::New( rho, U, phi, thermo))

Definition at line 102 of file createFields.H.