Skip to content
Snippets Groups Projects
Commit cad37cf6 authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

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

parent 2c727243
No related merge requests found
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
mesh mesh
), ),
mesh, mesh,
1 dimensionedScalar("one", dimless, 1.0)
); );
surfaceScalarField Mrf surfaceScalarField Mrf
...@@ -51,6 +51,7 @@ ...@@ -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)
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment