Skip to content
Snippets Groups Projects
Commit 5cac2c00 authored by henry's avatar henry
Browse files

mhdFoam: General cleanup.

parent dbe29112
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ ...@@ -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 @@ ...@@ -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 ...@@ -49,8 +49,6 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "string.H"
#include "Time.H"
#include "fvCFD.H" #include "fvCFD.H"
#include "OSspecific.H" #include "OSspecific.H"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment