mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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;}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user