setRegionFluidFields.H
Go to the documentation of this file.
1  const fvMesh& mesh = fluidRegions[i];
2 
3  combustionModel& reaction = reactionFluid[i];
4 
5  fluidReactionThermo& thermo = thermoFluid[i];
6  thermo.validate(args.executable(), "h", "e");
7 
8  basicSpecieMixture& composition = thermo.composition();
9  PtrList<volScalarField>& Y = composition.Y();
10 
14 
16  fluidReactionThermophysicalTransportModel& thermophysicalTransport =
18 
21 
22  volScalarField& p = thermo.p();
23  const volScalarField& psi = thermo.psi();
24 
26 
27  const dimensionedVector& g = gFluid[i];
28  const dimensionedScalar& pRef = pRefFluid[i];
29  const volScalarField& gh = ghFluid[i];
30  const surfaceScalarField& ghf = ghfFluid[i];
31 
32  multivariateSurfaceInterpolationScheme<scalar>::fieldTable& fields =
33  fieldsFluid[i];
34 
35  IOMRFZoneList& MRF = MRFfluid[i];
36  Foam::fvModels& fvModels = fvModelsFluid[i];
38 
39  #include "checkRadiationModel.H"
40 
42  (
43  "initialMass",
44  dimMass,
46  );
47 
48  pimpleNoLoopControl& pimple = pimples.pimple(i);
49 
50  pressureReference& pressureReference = pressureReferenceFluid[i];
51 
52  scalar cumulativeContErr = cumulativeContErrs[i];
53 
54  // This solver does not support moving mesh but it uses the pressure
55  // equation of one which does, so we need a dummy face-momentum field
56  autoPtr<surfaceVectorField> rhoUf(nullptr);
PtrList< uniformDimensionedScalarField > pRefFluid(fluidRegions.size())
PtrList< fluidReactionThermophysicalTransportModel > thermophysicalTransportFluid(fluidRegions.size())
const word & executable() const
Name of executable without the path.
Definition: argListI.H:36
PtrList< uniformDimensionedVectorField > gFluid(fluidRegions.size())
PtrList< volVectorField > UFluid(fluidRegions.size())
const fvMesh & mesh
PtrList< IOMRFZoneList > MRFfluid(fluidRegions.size())
List< scalar > cumulativeContErrs(fluidRegions.size(), 0.0)
PtrList< Foam::fvModels > fvModelsFluid(fluidRegions.size())
combustionModel & reaction
PtrList< volScalarField > p_rghFluid(fluidRegions.size())
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
PtrList< fluidReactionThermo > thermoFluid(fluidRegions.size())
const dimensionedScalar initialMass("initialMass", dimMass, initialMassFluid[i])
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:59
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:58
List< scalar > initialMassFluid(fluidRegions.size())
PtrList< volScalarField > ghFluid(fluidRegions.size())
compressibleMomentumTransportModel momentumTransportModel
PtrList< volScalarField > KFluid(fluidRegions.size())
PtrList< fvConstraints > fvConstraintsFluid(fluidRegions.size())
PtrList< combustionModel > reactionFluid(fluidRegions.size())
Finite volume models.
Definition: fvModels.H:60
autoPtr< surfaceVectorField > rhoUf(nullptr)
PtrList< volScalarField > dpdtFluid(fluidRegions.size())
fluidReactionThermo & thermo
PtrList< multivariateSurfaceInterpolationScheme< scalar >::fieldTable > fieldsFluid(fluidRegions.size())
PtrList< fvMesh > fluidRegions(fluidNames.size())
ThermophysicalTransportModel< compressible::momentumTransportModel, fluidReactionThermo > fluidReactionThermophysicalTransportModel
PtrList< compressible::momentumTransportModel > turbulenceFluid(fluidRegions.size())
PtrList< surfaceScalarField > ghfFluid(fluidRegions.size())
const dimensionSet dimMass
Finite volume constraints.
Definition: fvConstraints.H:57
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< pressureReference > pressureReferenceFluid(fluidRegions.size())
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
PtrList< surfaceScalarField > phiFluid(fluidRegions.size())
Foam::argList args(argc, argv)
PtrList< volScalarField > rhoFluid(fluidRegions.size())