Commit d793344a authored by henry's avatar henry
Browse files

Corrected mhdFoam tutorial scripts.

parent 04d26c8e
......@@ -88,7 +88,7 @@ removeCase ()
cleanSamples ()
{
rm -rf {samples,sampleSurfaces} > /dev/null 2>&1
rm -rf {sets,samples,sampleSurfaces} > /dev/null 2>&1
}
cleanUcomponents ()
......
......@@ -3,8 +3,9 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application="mdEquilibrationFoam"
application="mhdFoam"
(cd hartmann && runApplication blockMesh)
(cd hartmann && runApplication $application)
(cd hartmann && runApplication foamCalc components U)
(cd hartmann && runApplication sample)
......@@ -18,9 +18,9 @@ interpolationScheme cellPoint;
setFormat raw;
sets
sets
(
line_centreProfile
line_centreProfile
{
type uniform;
......@@ -34,9 +34,9 @@ sets
surfaces
();
fields
fields
(
U.component(0)
Ux
);
// ************************************************************************* //
Markdown is supported
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