ENH: orientedFields - refectored and simplified usage

This commit is contained in:
Andrew Heather
2017-05-24 12:26:12 +01:00
parent ff132ff5f6
commit b5ed93a40a
34 changed files with 370 additions and 281 deletions

View File

@ -109,8 +109,8 @@ Foam::phaseModel::phaseModel
dimensionedScalar("0", dimensionSet(1, 0, -1, 0, 0), 0)
)
{
alphaPhi_.oriented().oriented() = true;
alphaRhoPhi_.oriented().oriented() = true;
alphaPhi_.setOriented();
alphaRhoPhi_.setOriented();
thermo_->validate("phaseModel " + name_, "h", "e");