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
c4eedd4762
commit
cb1523dbd9
@ -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…
Reference in New Issue
Block a user