class template heThermo added init_qc() for qc_

This commit is contained in:
ignis 2015-11-28 18:16:35 +09:00
parent 82ef4f6289
commit 5c9dbef47b
2 changed files with 16 additions and 0 deletions

View file

@ -75,6 +75,21 @@ void Foam::heThermo<BasicThermo, MixtureType>::init()
}
this->heBoundaryCorrection(he_);
init_qc();
}
template<class BasicThermo, class MixtureType>
void Foam::heThermo<BasicThermo, MixtureType>::init_qc()
{
scalarField& qcCells = qc_.internalField();
forAll(qcCells, celli)
{
qcCells[celli] =
this->cellMixture(celli).QC();
}
}

View file

@ -79,6 +79,7 @@ private:
//- Initialize heThermo
void init();
void init_qc();
public: