Patch contributed by Bruno Santos, resolves bug-report https://bugs.openfoam.org/view.php?id=2585
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
const fvMesh& mesh = fluidRegions[i];
|
|
|
|
rhoThermo& thermo = thermoFluid[i];
|
|
thermo.validate(args.executable(), "h", "e");
|
|
|
|
volScalarField& rho = rhoFluid[i];
|
|
volVectorField& U = UFluid[i];
|
|
surfaceScalarField& phi = phiFluid[i];
|
|
|
|
compressible::turbulenceModel& turb = turbulence[i];
|
|
|
|
volScalarField& p = thermo.p();
|
|
const volScalarField& psi = thermo.psi();
|
|
|
|
IOMRFZoneList& MRF = MRFfluid[i];
|
|
fv::options& fvOptions = fluidFvOptions[i];
|
|
|
|
const dimensionedScalar initialMass
|
|
(
|
|
"initialMass",
|
|
dimMass,
|
|
initialMassFluid[i]
|
|
);
|
|
|
|
radiation::radiationModel& rad = radiation[i];
|
|
|
|
const label pRefCell = pRefCellFluid[i];
|
|
const scalar pRefValue = pRefValueFluid[i];
|
|
const bool frozenFlow = frozenFlowFluid[i];
|
|
|
|
volScalarField& p_rgh = p_rghFluid[i];
|
|
|
|
const dimensionedVector& g = gFluid[i];
|
|
const volScalarField& gh = ghFluid[i];
|
|
const surfaceScalarField& ghf = ghfFluid[i];
|
|
|
|
bool& resReachedFluid = residualReachedFluid[i];
|
|
bool& residualControlUsed = residualControlUsedFluid[i];
|