|
| 1 | +Overview |
| 2 | +======== |
| 3 | +- This directory contains files to help post-processing of OpenFOAM cases |
| 4 | +- It primariy "packages" functionObject functionality in a convenient form for |
| 5 | + users to plug into their OpenFOAM cases |
| 6 | +- While some tools are quite generic, e.g. minMax, others are more application- |
| 7 | + oriented, e.g. flowRate. |
| 8 | + |
| 9 | +How the tools work |
| 10 | +================== |
| 11 | +- The configuration of functionObjects includes both required input data and |
| 12 | + control parameters for the functionObject |
| 13 | +- This creates a lot of input that can be confusing to users |
| 14 | +- The tools here are packaged so that the user input is separated from control |
| 15 | + parameters |
| 16 | +- Control parameters are pre-configured in .cfg files - users can ignore these |
| 17 | + files |
| 18 | +- For each tool, required user input is all in one file, for the users to copy |
| 19 | + into their case and set accordingly |
| 20 | + |
| 21 | +Example of how to use the tools |
| 22 | +=============================== |
| 23 | +Task: monitor flow rate at an outlet patch named "outlet" for a case |
| 24 | +Solution: |
| 25 | +- locate the flowRatePatch tool in the flowRate directory |
| 26 | +- copy the flowRatePatch file into the case system directory (not |
| 27 | + flowRatePatch.cfg) |
| 28 | +- edit system/flowRatePatch to set the patch name |
| 29 | + replace "patch <patchName>;" |
| 30 | + with "patch outlet;" |
| 31 | +- activate the function object by including the flowRatePatch file in functions |
| 32 | + sub-dictionary in the case controlDict file, e.g. |
| 33 | + functions |
| 34 | + { |
| 35 | + #include "flowRatePatch" |
| 36 | + ... other function objects here ... |
| 37 | + } |
| 38 | + |
| 39 | +Current tools |
| 40 | +============= |
| 41 | +- fields calculate specific fields, e.g. Q |
| 42 | +- flowRate tools to calculate flow rate |
| 43 | +- forces forces and forceCoeffs for incompressible/compressible flows |
| 44 | +- graphs simple sampling for graph plotting, e.g. singleGraph |
| 45 | +- minMax range of minimum and maximum field monitoring, e.g. cellMax |
| 46 | +- numerical outputs information relating to numerics, e.g. residuals |
| 47 | +- pressure calculates different forms of pressure, pressure drop, etc |
| 48 | +- probes options for probing data |
| 49 | +- scalarTransport for plugin scalar transport calculations |
| 50 | +- visualization post-processing VTK files for cutting planes, streamlines,... |
| 51 | + |
| 52 | +- faceSource configuration for some of the tools above |
0 commit comments