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 ()
|
||||
{
|
||||
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
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user