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 tmp<surfaceScalarField> talphaPhi1 = phase1.alphaPhi();
12  const auto& alphaPhi1 = talphaPhi1();
13 
16  const tmp<surfaceScalarField> talphaPhi2 = phase2.alphaPhi();
17  const auto& alphaPhi2 = talphaPhi2();
18 
20 
21  rhoThermo& thermo1 = phase1.thermoRef();
22  rhoThermo& thermo2 = phase2.thermoRef();
23 
24  thermo1.validate(args.executable(), "h", "e");
25  thermo2.validate(args.executable(), "h", "e");
26 
28  const volScalarField& psi1 = thermo1.psi();
29 
31  const volScalarField& psi2 = thermo2.psi();
32 
33  const IOMRFZoneList& MRF = fluid.MRF();
34  fv::options& fvOptions = fluid.fvOptions();
35 
37 
39 
40  //const dimensionedVector& g = gFluid[i];
41  const volScalarField& gh = ghFluid[i];
43 
45  (
46  "initialMass",
47  dimMass,
49  );
50 
52 
53  //const label pRefCell = pRefCellFluid[i];
54  //const scalar pRefValue = pRefValueFluid[i];
55 
56  pimpleControl& pimple = pimpleFluid[i];
57 
59 
60  // Debug fields
61 /*
62  volScalarField& faceRegimes = faceRegimesFluid[i];
63  volScalarField& qc = qcFluid[i];
64  volScalarField& qFilm = qFilmFluid[i];
65  volScalarField& htcFilmBoiling = htcFilmBoilingFluid[i];
66  volScalarField& qtb = qtbFluid[i];
67  volScalarField& qSubCool = qSubCoolFluid[i];
68  volScalarField& CHFtotal = CHFtotalFluid[i];
69  volScalarField& Tdnb = TdnbFluid[i];
70  volScalarField& phiTb = phiFluid[i];
71 */
bool frozenFlow
twoPhaseSystem & fluid
surfaceScalarField & phi
const tmp< surfaceScalarField > talphaPhi2
const dimensionedScalar & pMin
const tmp< surfaceScalarField > talphaPhi1
volScalarField & rho1
volVectorField & U2
PtrList< pimpleControl > pimpleFluid(fluidRegions.size())
const volScalarField & alpha2
surfaceScalarField & phi1
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:76
phaseModel & phase2
fv::options & fvOptions
const surfaceScalarField & ghf
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:72
const volScalarField & psi2
IOMRFZoneList & MRF
volScalarField & p
const word & executable() const noexcept
Name of executable without the path.
Definition: argListI.H:44
const auto & alphaPhi1
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
Foam::argList args(argc, argv)
const dimensionedScalar initialMass("initialMass", dimMass, initialMassFluid[i])
const auto & alphaPhi2
volScalarField & p_rgh
const volScalarField & alpha1