32 template<
class BasicPsiThermo,
class MixtureType>
35 const scalarField& hCells = this->he_.internalField();
36 const scalarField& heuCells = this->heu_.internalField();
37 const scalarField& pCells = this->p_.internalField();
43 scalarField& alphaCells = this->alpha_.internalField();
47 const typename MixtureType::thermoType& mixture_ =
48 this->cellMixture(celli);
50 TCells[celli] = mixture_.THE
57 psiCells[celli] = mixture_.psi(pCells[celli], TCells[celli]);
59 muCells[celli] = mixture_.mu(pCells[celli], TCells[celli]);
60 alphaCells[celli] = mixture_.alphah(pCells[celli], TCells[celli]);
62 TuCells[celli] = this->cellReactants(celli).THE
87 const typename MixtureType::thermoType& mixture_ =
88 this->patchFaceMixture(
patchi, facei);
90 ph[facei] = mixture_.HE(pp[facei], pT[facei]);
92 ppsi[facei] = mixture_.psi(pp[facei], pT[facei]);
93 pmu_[facei] = mixture_.mu(pp[facei], pT[facei]);
94 palpha_[facei] = mixture_.alphah(pp[facei], pT[facei]);
101 const typename MixtureType::thermoType& mixture_ =
102 this->patchFaceMixture(
patchi, facei);
104 pT[facei] = mixture_.THE(ph[facei], pp[facei], pT[facei]);
106 ppsi[facei] = mixture_.psi(pp[facei], pT[facei]);
107 pmu_[facei] = mixture_.mu(pp[facei], pT[facei]);
108 palpha_[facei] = mixture_.alphah(pp[facei], pT[facei]);
111 this->patchFaceReactants(
patchi, facei)
112 .THE(pheu[facei], pp[facei], pTu[facei]);
121 template<
class BasicPsiThermo,
class MixtureType>
125 const word& phaseName
134 mesh.time().timeName(),
146 MixtureType::thermoType::heName() +
'u',
147 mesh.time().timeName(),
154 this->heuBoundaryTypes()
157 scalarField& heuCells = this->heu_.internalField();
158 const scalarField& pCells = this->p_.internalField();
159 const scalarField& TuCells = this->Tu_.internalField();
163 heuCells[celli] = this->cellReactants(celli).HE
178 pheu[facei] = this->patchFaceReactants(
patchi, facei).HE
186 this->heuBoundaryCorrection(this->heu_);
189 this->psi_.oldTime();
195 template<
class BasicPsiThermo,
class MixtureType>
202 template<
class BasicPsiThermo,
class MixtureType>
207 Info<<
"entering heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()"
212 this->psi_.oldTime();
218 Info<<
"exiting heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()"
224 template<
class BasicPsiThermo,
class MixtureType>
238 heu[celli] = this->cellReactants(
cells[celli]).HE(
p[celli], Tu[celli]);
245 template<
class BasicPsiThermo,
class MixtureType>
260 this->patchFaceReactants(
patchi, facei).HE(
p[facei], Tu[facei]);
267 template<
class BasicPsiThermo,
class MixtureType>
278 this->T_.time().timeName(),
290 const scalarField& pCells = this->p_.internalField();
291 const scalarField& TCells = this->T_.internalField();
292 const scalarField& hCells = this->he_.internalField();
296 TbCells[celli] = this->cellProducts(celli).THE
315 this->patchFaceProducts(
patchi, facei)
316 .THE(ph[facei], pp[facei], pT[facei]);
324 template<
class BasicPsiThermo,
class MixtureType>
335 this->psi_.time().timeName(),
342 this->psi_.dimensions()
348 const scalarField& TuCells = this->Tu_.internalField();
349 const scalarField& pCells = this->p_.internalField();
354 this->cellReactants(celli).psi(pCells[celli], TuCells[celli]);
368 patchFaceReactants(
patchi, facei).psi(pp[facei], pTu[facei]);
376 template<
class BasicPsiThermo,
class MixtureType>
387 this->psi_.time().timeName(),
394 this->psi_.dimensions()
402 const scalarField& pCells = this->p_.internalField();
407 this->cellReactants(celli).psi(pCells[celli], TbCells[celli]);
420 this->patchFaceReactants
421 (
patchi, facei).psi(pp[facei], pTb[facei]);
429 template<
class BasicPsiThermo,
class MixtureType>
440 this->T_.time().timeName(),
453 const scalarField& pCells = this->p_.internalField();
454 const scalarField& TuCells = this->Tu_.internalField();
458 muuCells[celli] = this->cellReactants(celli).mu
473 pMuu[facei] = this->patchFaceReactants(
patchi, facei).mu
485 template<
class BasicPsiThermo,
class MixtureType>
496 this->T_.time().timeName(),
510 const scalarField& pCells = this->p_.internalField();
515 mubCells[celli] = this->cellProducts(celli).mu
530 pMub[facei] = this->patchFaceProducts(
patchi, facei).mu