tutorials/compressible/sonicFoam/laminar/shockTube: Added functionObject
tutorials/electromagnetics/mhdFoam/hartmann: Added functionObject Replaced separate 'postProcess' step with a functionObject executed at run-time.
This commit is contained in:
parent
397fd32561
commit
c921471788
4 changed files with 10 additions and 2 deletions
|
|
@ -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;}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue