setRegionFluidFields.H
Go to the documentation of this file.
1  twoPhaseSystem& fluid = phaseSystemFluid[i];
2 
3  phaseModel& phase1 = fluid.phase1();
4  phaseModel& phase2 = fluid.phase2();
5 
8 
9  volVectorField& U1 = phase1.URef();
11  const surfaceScalarField& alphaPhi1 = phase1.alphaPhi();
12 
15  const surfaceScalarField& alphaPhi2 = phase2.alphaPhi();
16 
18 
19  rhoThermo& thermo1 = phase1.thermoRef();
20  rhoThermo& thermo2 = phase2.thermoRef();
21 
22  thermo1.validate(args.executable(), "h", "e");
23  thermo2.validate(args.executable(), "h", "e");
24 
26  const volScalarField& psi1 = thermo1.psi();
27 
29  const volScalarField& psi2 = thermo2.psi();
30 
31  const IOMRFZoneList& MRF = fluid.MRF();
32  fv::options& fvOptions = fluid.fvOptions();
33 
35 
37 
38  //const dimensionedVector& g = gFluid[i];
39  const volScalarField& gh = ghFluid[i];
41 
43  (
44  "initialMass",
45  dimMass,
47  );
48 
50 
51  //const label pRefCell = pRefCellFluid[i];
52  //const scalar pRefValue = pRefValueFluid[i];
53 
54  pimpleControl& pimple = pimpleFluid[i];
55 
57 
58  // Debug fields
59 /*
60  volScalarField& faceRegimes = faceRegimesFluid[i];
61  volScalarField& qc = qcFluid[i];
62  volScalarField& qFilm = qFilmFluid[i];
63  volScalarField& htcFilmBoiling = htcFilmBoilingFluid[i];
64  volScalarField& qtb = qtbFluid[i];
65  volScalarField& qSubCool = qSubCoolFluid[i];
66  volScalarField& CHFtotal = CHFtotalFluid[i];
67  volScalarField& Tdnb = TdnbFluid[i];
68  volScalarField& phiTb = phiFluid[i];
69 */
bool frozenFlow
twoPhaseSystem & fluid
surfaceScalarField & phi
const dimensionedScalar & pMin
volScalarField & rho1
volVectorField & U2
PtrList< pimpleControl > pimpleFluid(fluidRegions.size())
const volScalarField & alpha2
surfaceScalarField & phi1
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:82
phaseModel & phase2
const surfaceScalarField & alphaPhi2
fv::options & fvOptions
const surfaceScalarField & ghf
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:81
const volScalarField & psi2
IOMRFZoneList & MRF
volScalarField & p
const word & executable() const noexcept
Name of executable without the path.
Definition: argListI.H:44
List< bool > frozenFlowFluid(fluidRegions.size(), false)
PtrList< volScalarField > p_rghFluid(fluidRegions.size())
PtrList< volScalarField > ghFluid(fluidRegions.size())
PtrList< twoPhaseSystem > phaseSystemFluid(fluidRegions.size())
surfaceScalarField & phi2
rhoThermo & thermo2
phaseModel & phase1
pimpleControl & pimple
const volScalarField & psi1
volScalarField & rho2
rhoThermo & thermo1
PtrList< surfaceScalarField > ghfFluid(fluidRegions.size())
List< scalar > initialMassFluid(fluidRegions.size())
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
volVectorField & U1
const volScalarField & gh
PtrList< dimensionedScalar > pMinFluid(fluidRegions.size())
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:49
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const surfaceScalarField & alphaPhi1
Foam::argList args(argc, argv)
const dimensionedScalar initialMass("initialMass", dimMass, initialMassFluid[i])
volScalarField & p_rgh
const volScalarField & alpha1