Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
d793344a
Commit
d793344a
authored
Jan 05, 2009
by
henry
Browse files
Corrected mhdFoam tutorial scripts.
parent
04d26c8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
bin/tools/CleanFunctions
View file @
d793344a
...
...
@@ -88,7 +88,7 @@ removeCase ()
cleanSamples
()
{
rm
-rf
{
samples,sampleSurfaces
}
>
/dev/null 2>&1
rm
-rf
{
sets,
samples,sampleSurfaces
}
>
/dev/null 2>&1
}
cleanUcomponents
()
...
...
tutorials/mhdFoam/Allrun
View file @
d793344a
...
...
@@ -3,8 +3,9 @@
.
$WM_PROJECT_DIR
/bin/tools/RunFunctions
# Get application name from directory
application
=
"md
Equilibration
Foam"
application
=
"m
h
dFoam"
(
cd
hartmann
&&
runApplication blockMesh
)
(
cd
hartmann
&&
runApplication
$application
)
(
cd
hartmann
&&
runApplication foamCalc components U
)
(
cd
hartmann
&&
runApplication sample
)
tutorials/mhdFoam/hartmann/system/sampleDict
View file @
d793344a
...
...
@@ -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)
U
x
);
// ************************************************************************* //
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment