mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
mhdFoam: General cleanup.
This commit is contained in:
@ -61,7 +61,7 @@
|
|||||||
mesh
|
mesh
|
||||||
);
|
);
|
||||||
|
|
||||||
# include "createPhi.H"
|
#include "createPhi.H"
|
||||||
|
|
||||||
Info<< "Reading field pB\n" << endl;
|
Info<< "Reading field pB\n" << endl;
|
||||||
volScalarField pB
|
volScalarField pB
|
||||||
@ -93,15 +93,15 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
# include "createPhiB.H"
|
#include "createPhiB.H"
|
||||||
|
|
||||||
dimensionedScalar DB = 1.0/(mu*sigma);
|
dimensionedScalar DB = 1.0/(mu*sigma);
|
||||||
DB.name() = "DB";
|
DB.name() = "DB";
|
||||||
|
|
||||||
dimensionedScalar DBU = 1.0/(2.0*mu*rho);
|
dimensionedScalar DBU = 1.0/(2.0*mu*rho);
|
||||||
DBU.name() = "DBU";
|
DBU.name() = "DBU";
|
||||||
|
|
||||||
|
|
||||||
label pRefCell = 0;
|
label pRefCell = 0;
|
||||||
scalar pRefValue = 0.0;
|
scalar pRefValue = 0.0;
|
||||||
setRefCell(p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue);
|
setRefCell(p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue);
|
||||||
|
|||||||
@ -49,8 +49,6 @@ Description
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "string.H"
|
|
||||||
#include "Time.H"
|
|
||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "OSspecific.H"
|
#include "OSspecific.H"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user