mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected mhdFoam tutorial scripts.
This commit is contained in:
@ -88,7 +88,7 @@ removeCase ()
|
|||||||
|
|
||||||
cleanSamples ()
|
cleanSamples ()
|
||||||
{
|
{
|
||||||
rm -rf {samples,sampleSurfaces} > /dev/null 2>&1
|
rm -rf {sets,samples,sampleSurfaces} > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanUcomponents ()
|
cleanUcomponents ()
|
||||||
|
|||||||
@ -3,8 +3,9 @@
|
|||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application name from directory
|
# Get application name from directory
|
||||||
application="mdEquilibrationFoam"
|
application="mhdFoam"
|
||||||
|
|
||||||
(cd hartmann && runApplication blockMesh)
|
(cd hartmann && runApplication blockMesh)
|
||||||
(cd hartmann && runApplication $application)
|
(cd hartmann && runApplication $application)
|
||||||
|
(cd hartmann && runApplication foamCalc components U)
|
||||||
(cd hartmann && runApplication sample)
|
(cd hartmann && runApplication sample)
|
||||||
|
|||||||
@ -36,7 +36,7 @@ surfaces
|
|||||||
|
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
U.component(0)
|
Ux
|
||||||
);
|
);
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user