setRegionFluidFields.H
Go to the documentation of this file.
1 fvMesh& mesh = fluidRegions[i];
2
3 twoPhaseSystem& fluid = phaseSystemFluid[i];
4
5 phaseModel& phase1 = fluid.phase1();
6 phaseModel& phase2 = fluid.phase2();
7
8 const volScalarField& alpha1 = phase1;
9 const volScalarField& alpha2 = phase2;
10
11 volVectorField& U1 = phase1.URef();
12 surfaceScalarField& phi1 = phase1.phiRef();
13 const surfaceScalarField& alphaPhi1 = phase1.alphaPhi();
14
15 volVectorField& U2 = phase2.URef();
16 surfaceScalarField& phi2 = phase2.phiRef();
17 const surfaceScalarField& alphaPhi2 = phase2.alphaPhi();
18
19 surfaceScalarField& phi = fluid.phi();
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
27 volScalarField& rho1 = thermo1.rho();
28 const volScalarField& psi1 = thermo1.psi();
29
30 volScalarField& rho2 = thermo2.rho();
31 const volScalarField& psi2 = thermo2.psi();
32
33 const IOMRFZoneList& MRF = fluid.MRF();
34 fv::options& fvOptions = fluid.fvOptions();
35
36 volScalarField& p = thermo1.p();
37
38 volScalarField& p_rgh = p_rghFluid[i];
39
40 //const dimensionedVector& g = gFluid[i];
41 const volScalarField& gh = ghFluid[i];
42 const surfaceScalarField& ghf = ghfFluid[i];
43
44 const dimensionedScalar initialMass
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
58 const dimensionedScalar& pMin = pMinFluid[i];
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*/
PtrList< volScalarField > ghFluid(fluidRegions.size())
PtrList< volScalarField > p_rghFluid(fluidRegions.size())
List< scalar > initialMassFluid(fluidRegions.size())
List< bool > frozenFlowFluid(fluidRegions.size(), false)
PtrList< surfaceScalarField > ghfFluid(fluidRegions.size())
PtrList< fvMesh > fluidRegions(fluidNames.size())
volScalarField & p_rgh
fv::options & fvOptions
surfaceScalarField & phi
const surfaceScalarField & ghf
volScalarField & p
bool frozenFlow
IOMRFZoneList & MRF
const volScalarField & gh
const fvMesh & mesh
PtrList< dimensionedScalar > pMinFluid(fluidRegions.size())
PtrList< pimpleControl > pimpleFluid(fluidRegions.size())
PtrList< twoPhaseSystem > phaseSystemFluid(fluidRegions.size())
pimpleControl & pimple
rhoThermo & thermo2
const volScalarField & alpha1
rhoThermo & thermo1
const volScalarField & psi2
surfaceScalarField & phi2
twoPhaseSystem & fluid
phaseModel & phase1
volScalarField & rho2
const volScalarField & alpha2
const surfaceScalarField & alphaPhi1
surfaceScalarField & phi1
phaseModel & phase2
const volScalarField & psi1
volVectorField & U1
const dimensionedScalar & pMin
volScalarField & rho1
volVectorField & U2
const surfaceScalarField & alphaPhi2
const word & executable() const noexcept
Name of executable without the path.
Definition: argListI.H:51
Foam::argList args(argc, argv)
dimensionedScalar initialMass
Definition: createFields.H:57