ENH: runTime calculation of zeroGradient volume fields (issue #235)
Extrapolate internal field to walls for post-processing. Uses as new syntax for handling the naming of multiple fields. The input fields are selected via a wordReList. For example, fields (U "(T|k|epsilon|omega)"); The names of the resulting output fields use placeholder tokens for flexibility. For example, result zeroGradient(@@); The '@@' placeholder is replaced by the name of the input field. Eg, fields (U T); result zeroGradient(@@); -> zeroGradient(U), zeroGradient(T) Or, fields (U T); result @@nearWall; -> UnearWall, TnearWall NOTE: The function object will skip over fields that only have processor, empty, zeroGradient patches. The operation does not make much sense for these, and it avoids inadvertently re-processing fields twice.
Showing
- src/postProcessing/functionObjects/utilities/Make/files 3 additions, 0 deletionssrc/postProcessing/functionObjects/utilities/Make/files
- src/postProcessing/functionObjects/utilities/zeroGradient/IOzeroGradient.H 49 additions, 0 deletions...g/functionObjects/utilities/zeroGradient/IOzeroGradient.H
- src/postProcessing/functionObjects/utilities/zeroGradient/zeroGradient.C 341 additions, 0 deletions...ing/functionObjects/utilities/zeroGradient/zeroGradient.C
- src/postProcessing/functionObjects/utilities/zeroGradient/zeroGradient.H 220 additions, 0 deletions...ing/functionObjects/utilities/zeroGradient/zeroGradient.H
- src/postProcessing/functionObjects/utilities/zeroGradient/zeroGradientFunctionObject.C 42 additions, 0 deletions...jects/utilities/zeroGradient/zeroGradientFunctionObject.C
- src/postProcessing/functionObjects/utilities/zeroGradient/zeroGradientFunctionObject.H 54 additions, 0 deletions...jects/utilities/zeroGradient/zeroGradientFunctionObject.H
Please register or sign in to comment