BUG: magneticFoam: add orientation information. Fixes #1291.

This commit is contained in:
mattijs
2019-04-24 15:40:52 +01:00
committed by Andrew Heather
parent 2c72724393
commit cad37cf603

View File

@ -37,7 +37,7 @@
mesh mesh
), ),
mesh, mesh,
1 dimensionedScalar("one", dimless, 1.0)
); );
surfaceScalarField Mrf surfaceScalarField Mrf
@ -51,6 +51,7 @@
mesh, mesh,
dimensionedScalar(dimensionSet(0, 1, 0, 0, 0, 1, 0), Zero) dimensionedScalar(dimensionSet(0, 1, 0, 0, 0, 1, 0), Zero)
); );
Mrf.setOriented(true);
forAll(magnets, i) forAll(magnets, i)
{ {