ENH: Initial attempt to track oriented surface fields

This commit is contained in:
Andrew Heather
2017-04-24 10:34:05 +01:00
parent b3d4b836c8
commit 976ad36776
21 changed files with 836 additions and 43 deletions

View File

@ -120,11 +120,13 @@ int main(int argc, char *argv[])
"cSf_pos",
interpolate(c, pos, T.name())*mesh.magSf()
);
cSf_pos.oriented().oriented() = true;
surfaceScalarField cSf_neg
(
"cSf_neg",
interpolate(c, neg, T.name())*mesh.magSf()
);
cSf_neg.oriented().oriented() = true;
surfaceScalarField ap
(
@ -269,4 +271,5 @@ int main(int argc, char *argv[])
return 0;
}
// ************************************************************************* //

View File

@ -101,11 +101,13 @@ int main(int argc, char *argv[])
"cSf_pos",
interpolate(c, pos, T.name())*mesh.magSf()
);
cSf_pos.oriented().oriented() = true;
surfaceScalarField cSf_neg
(
"cSf_neg",
interpolate(c, neg, T.name())*mesh.magSf()
);
cSf_neg.oriented().oriented() = true;
surfaceScalarField ap
(

View File

@ -38,7 +38,6 @@ Description
#include "basicReactingMultiphaseCloud.H"
#include "rhoCombustionModel.H"
#include "radiationModel.H"
#include "IOporosityModelList.H"
#include "fvOptions.H"
#include "SLGThermo.H"
#include "simpleControl.H"

View File

@ -13,6 +13,8 @@ if (nAlphaSubCycles > 1)
dimensionedScalar("0", rhoPhi.dimensions(), 0)
);
rhoPhiSum.oriented().oriented() = true;
tmp<volScalarField> trSubDeltaT;
if (LTS)