setRegionFluidFields.H
Go to the documentation of this file.
1  fvMesh& mesh = fluidRegions[i];
2 
3  rhoThermo& thermo = thermoFluid[i];
4  thermo.validate(args.executable(), "h", "e");
5 
9 
13 
14  volScalarField& p = thermo.p();
15  const volScalarField& psi = thermo.psi();
16 
18 
19  const dimensionedVector& g = gFluid[i];
20  const volScalarField& gh = ghFluid[i];
21  const surfaceScalarField& ghf = ghfFluid[i];
22 
23  radiation::radiationModel& rad = radiation[i];
24 
25  IOMRFZoneList& MRF = MRFfluid[i];
26  fv::options& fvOptions = fluidFvOptions[i];
27 
29  (
30  "initialMass",
31  dimMass,
33  );
34 
35  const bool frozenFlow = frozenFlowFluid[i];
36 
37  bool& resReachedFluid = residualReachedFluid[i];
38  bool& residualControlUsed = residualControlUsedFluid[i];
PtrList< volScalarField > dpdtFluid(fluidRegions.size())
const word & executable() const
Name of executable without the path.
Definition: argListI.H:30
rhoThermo & thermo
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
PtrList< IOMRFZoneList > MRFfluid(fluidRegions.size())
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:55
PtrList< volScalarField > KFluid(fluidRegions.size())
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
PtrList< volScalarField > rhoFluid(fluidRegions.size())
List< bool > frozenFlowFluid(fluidRegions.size(), false)
PtrList< volScalarField > p_rghFluid(fluidRegions.size())
PtrList< volScalarField > ghFluid(fluidRegions.size())
PtrList< volVectorField > UFluid(fluidRegions.size())
PtrList< rhoThermo > thermoFluid(fluidRegions.size())
List< bool > residualControlUsedFluid(fluidRegions.size(), false)
Info<< "Reading field U\"<< 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\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
Definition: createFields.H:94
PtrList< fv::options > fluidFvOptions(fluidRegions.size())
PtrList< uniformDimensionedVectorField > gFluid(fluidRegions.size())
PtrList< surfaceScalarField > ghfFluid(fluidRegions.size())
List< scalar > initialMassFluid(fluidRegions.size())
PtrList< surfaceScalarField > phiFluid(fluidRegions.size())
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< fvMesh > fluidRegions(fluidNames.size())
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:49
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Foam::argList args(argc, argv)
List< bool > residualReachedFluid(fluidRegions.size(), true)
const dimensionedScalar initialMass("initialMass", dimMass, initialMassFluid[i])
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
const fvMesh & mesh