mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: magneticFoam: add orientation information. Fixes #1291.
This commit is contained in:
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user