View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004146 | OpenFOAM | Bug | public | 2024-09-06 14:49 | 2024-09-06 14:52 |
Reporter | michael.mueller-wrd | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | 12 | ||||
Summary | 0004146: foamPostProcess with solver not reading all available fields | ||||
Description | Usually we run several functions in 1 post-processing step from CLI, e.g. for a multi-region CHT case: `foamPostProcess -solver fluid -region AIR -funcs '(yPlus surfaces)' -latestTime` For some of the functions we need to specify the solver (here: yPlus). But with solver specified, apparently not all available fields are read or extra fields seem to be ignored... For example, suggest we write fields like wallHeatFlux, total(p) in addition during run, then they will not be found when executing w/ solver: `foamPostProcess -solver xxx -func surfaces` However, these fields are found when executing w/o solver: `foamPostProcess -func surfaces` From my understanding of User Guide ( https://doc.cfd.direct/openfoam/user-guide-v12/post-processing-cli ), I would assume that specification of solver shall just lead to an additional information -- also written as 3rd method: "The foamPostProcess utility is run with a -solver which provides additional access to data available on the database for the particular solver." | ||||
Steps To Reproduce | 1) take any tutorial case, eg. shellAndTubeHeatExchanger, and add some extra field output (e.g. wallHeatFlux functionObject to be written for all of the regions in this case, or any other additional field); 2) run case; 3) create e.g. a surfaces or cutPlaneSurface input file in system/ and include the extra field in fields () entry; 4.1) foamPostProcess -solver fluid -region shell -func surfaces => will throw warning: --> FOAM Warning : functionObjects::surfaces surfaces cannot find required object wallHeatFlux => vtk output will not include wallHeatFlux field 4.2) foamPostProcess -region shell -func surfaces => vtk output will include wallHeatFlux field | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-06 14:49 | michael.mueller-wrd | New Issue | |
2024-09-06 14:52 | henry | Assigned To | => henry |
2024-09-06 14:52 | henry | Status | new => closed |
2024-09-06 14:52 | henry | Resolution | open => no change required |
2024-09-06 14:52 | henry | Note Added: 0013395 |