Corrected mhdFoam tutorial scripts.

This commit is contained in:
henry
2009-01-05 22:18:19 +00:00
parent 04d26c8e38
commit d793344af2
3 changed files with 7 additions and 6 deletions

View File

@ -88,7 +88,7 @@ removeCase ()
cleanSamples ()
{
rm -rf {samples,sampleSurfaces} > /dev/null 2>&1
rm -rf {sets,samples,sampleSurfaces} > /dev/null 2>&1
}
cleanUcomponents ()

View File

@ -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)

View File

@ -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
);
// ************************************************************************* //