mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
includeFuncEntry: Added support for function arguments compatible with the '-func' post-processing option
e.g.
functions
{
#includeFunc mag(U)
}
executes 'mag' on the field 'U' writing the field 'mag(U)'.
The equivalent post-processing command is
postProcess -func 'mag(U)'
This commit is contained in:
@ -47,8 +47,7 @@ runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc mag
|
||||
mag{field U;}
|
||||
#includeFunc mag(U)
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -47,8 +47,7 @@ runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
#includeFunc components
|
||||
components{field U;}
|
||||
#includeFunc components(U)
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user