Commit c9214717 authored by Henry Weller's avatar Henry Weller
Browse files

tutorials/compressible/sonicFoam/laminar/shockTube: Added functionObject

tutorials/electromagnetics/mhdFoam/hartmann: Added functionObject

Replaced separate 'postProcess' step with a functionObject executed at
run-time.
parent 397fd325
......@@ -9,7 +9,6 @@ application=`getApplication`
runApplication blockMesh
runApplication setFields
runApplication $application
runApplication postProcess -func 'mag(U)'
runApplication sample
#------------------------------------------------------------------------------
......@@ -45,5 +45,10 @@ timePrecision 6;
runTimeModifiable true;
functions
{
#includeFunc mag
mag{field U;}
}
// ************************************************************************* //
......@@ -9,7 +9,6 @@ application=`getApplication`
runApplication blockMesh
runApplication $application
runApplication postProcess -func 'components(U)'
runApplication sample
#------------------------------------------------------------------------------
......@@ -45,5 +45,10 @@ timePrecision 6;
runTimeModifiable true;
functions
{
#includeFunc components
components{field U;}
}
// ************************************************************************* //
Supports Markdown
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