Loading...
Searching...
No Matches
setRegionFluidFields.H
Go to the documentation of this file.
1 CombustionModel<rhoReactionThermo>& reaction = reactionFluid[i];
2
3 rhoReactionThermo& thermo = reaction.thermo();
4 thermo.validate(args.executable(), "h", "e");
5
6 basicMultiComponentMixture& composition = thermo.composition();
7 PtrList<volScalarField>& Y = composition.Y();
8
9 label inertIndex = -1;
10 if (Y.size())
11 {
12 const word inertSpecie(thermo.get<word>("inertSpecie"));
13 inertIndex = composition.species().find(inertSpecie);
14 if (inertIndex < 0)
15 {
16 FatalIOErrorIn(args.executable().c_str(), thermo)
17 << "Inert specie " << inertSpecie
18 << " not found in available species "
19 << flatOutput(composition.species())
20 << exit(FatalIOError);
21 }
22 }
23
24 volScalarField& rho = rhoFluid[i];
25 volVectorField& U = UFluid[i];
26 surfaceScalarField& phi = phiFluid[i];
27
28 compressible::turbulenceModel& turbulence = turbulenceFluid[i];
29 volScalarField& K = KFluid[i];
30 volScalarField& dpdt = dpdtFluid[i];
31
32 volScalarField& p = thermo.p();
33 const volScalarField& psi = thermo.psi();
34
35 volScalarField& p_rgh = p_rghFluid[i];
36
37 const volScalarField& gh = ghFluid[i];
38 const surfaceScalarField& ghf = ghfFluid[i];
39
40 multivariateSurfaceInterpolationScheme<scalar>::fieldTable& fields =
41 fieldsFluid[i];
42
43 volScalarField& Qdot = QdotFluid[i];
44
45 radiation::radiationModel& rad = radiation[i];
46
47 IOMRFZoneList& MRF = MRFfluid[i];
48 fv::options& fvOptions = fluidFvOptions[i];
49
50 fvVectorMatrix& UEqn = UEqFluid[i];
51
52 const dimensionedScalar initialMass
53 (
54 "initialMass",
55 dimMass,
57 );
58
60
61 const label pRefCell = pRefCellFluid[i];
62 const scalar pRefValue = pRefValueFluid[i];
63
64 const dimensionedScalar rhoMax = rhoMaxFluid[i];
65 const dimensionedScalar rhoMin = rhoMinFluid[i];
66
CGAL::Exact_predicates_exact_constructions_kernel K
PtrList< volScalarField > ghFluid(fluidRegions.size())
PtrList< IOMRFZoneList > MRFfluid(fluidRegions.size())
PtrList< fv::options > fluidFvOptions(fluidRegions.size())
List< label > pRefCellFluid(fluidRegions.size(), -1)
PtrList< volVectorField > UFluid(fluidRegions.size())
PtrList< volScalarField > p_rghFluid(fluidRegions.size())
List< scalar > initialMassFluid(fluidRegions.size())
List< bool > frozenFlowFluid(fluidRegions.size(), false)
PtrList< volScalarField > rhoFluid(fluidRegions.size())
PtrList< surfaceScalarField > ghfFluid(fluidRegions.size())
PtrList< fvVectorMatrix > UEqFluid(fluidRegions.size())
List< scalar > pRefValueFluid(fluidRegions.size(), Zero)
PtrList< surfaceScalarField > phiFluid(fluidRegions.size())
volScalarField & p_rgh
fv::options & fvOptions
const scalar pRefValue
const surfaceScalarField & ghf
const label pRefCell
bool frozenFlow
radiation::radiationModel & rad
IOMRFZoneList & MRF
const volScalarField & gh
PtrList< multivariateSurfaceInterpolationScheme< scalar >::fieldTable > fieldsFluid(fluidRegions.size())
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
U
Definition pEqn.H:72
basicSpecieMixture & composition
volScalarField & p
PtrList< volScalarField > & Y
const volScalarField & psi
fvVectorMatrix & UEqn
Definition UEqn.H:13
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
Definition error.H:620
PtrList< volScalarField > dpdtFluid(fluidRegions.size())
PtrList< compressible::turbulenceModel > turbulenceFluid(fluidRegions.size())
PtrList< CombustionModel< rhoReactionThermo > > reactionFluid(fluidRegions.size())
PtrList< pressureControl > pressureControls(fluidRegions.size())
PtrList< volScalarField > QdotFluid(fluidRegions.size())
PtrList< dimensionedScalar > rhoMinFluid(fluidRegions.size())
PtrList< volScalarField > KFluid(fluidRegions.size())
PtrList< dimensionedScalar > rhoMaxFluid(fluidRegions.size())
const dimensionedScalar rhoMin
const dimensionedScalar rhoMax
volScalarField & dpdt
label inertIndex
const pressureControl & pressureControl
compressible::turbulenceModel & turbulence
CombustionModel< rhoReactionThermo > & reaction
Foam::argList args(argc, argv)
scalar Qdot
const word inertSpecie(thermo.get< word >("inertSpecie"))
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
dimensionedScalar initialMass