16 surfaceScalarField
Hif
36 surfaceScalarField
Eif
44 scalarField& hiIF = Hi.ref();
45 scalarField& eiIF =
Ei.ref();
46 const scalarField& pIF =
p.internalField();
47 const scalarField& TIF =
T.internalField();
51 hiIF[iCell] =
thermo.composition().Hs(iCmpt, pIF[iCell], TIF[iCell]);
52 eiIF[iCell] =
thermo.composition().Es(iCmpt, pIF[iCell], TIF[iCell]);
55 forAll(Hi.boundaryField(), iPatch)
57 fvPatchScalarField& hip = Hi.boundaryFieldRef()[iPatch];
58 fvPatchScalarField& eip =
Ei.boundaryFieldRef()[iPatch];
59 const fvPatchScalarField& pp =
p.boundaryField()[iPatch];
60 const fvPatchScalarField& Tp =
T.boundaryField()[iPatch];
63 hip[iFace] =
thermo.composition().Hs(iCmpt, pp[iFace], Tp[iFace]);
64 eip[iFace] =
thermo.composition().Es(iCmpt, pp[iFace], Tp[iFace]);
84 fvc::snGrad(
Y[iCmpt]) * mesh.magSf(),
tmp< GeometricField< T, Foam::fvsPatchField, Foam::surfaceMesh > > qgdFlux(const GeometricField< scalar, Foam::fvsPatchField, Foam::surfaceMesh > &flux, const GeometricField< T, Foam::fvPatchField, Foam::volMesh > &psi, const GeometricField< T, Foam::fvsPatchField, Foam::surfaceMesh > &psif, const word fluxName)
volScalarField Ei(IOobject("Ei", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimEnergy/dimMass)
PtrList< surfaceScalarField > diffusiveFlux(Y.size())
tmp< GeometricField< T, Foam::fvsPatchField, Foam::surfaceMesh > > qgdInterpolate(const GeometricField< T, Foam::fvPatchField, Foam::volMesh > &psi)
surfaceScalarField Eif("Eif", Hf *0.0)
PtrList< volScalarField > & Y
Info<< "Thermo corrected"<< endl;autoPtr< compressible::turbulenceModel > turbulence