|
[Sponsors] |
May 11, 2023, 07:28 |
fieldMinMax is omitting certain fields
|
#1 |
New Member
Join Date: Aug 2020
Posts: 3
Rep Power: 6 |
Hello!
I am trying to track the position of the shock wave in a shock tube front using the rhoReactingCentralFoam solver. One of the fields this solver returns is normalisedGradP which locates the shock wave front. I added a function of the type fieldMinMax to controlDict as follows: Code:
libs ("libfieldFunctionObjects.so"); functions { shockWavePosition { type fieldMinMax; libs ("libfieldFunctionObjects.so"); fields ( normalisedGradP p U ); mode magnitude; writeControl adjustableRunTime; writeInterval 1e-6; } } Does anyone have any clue why this might be happening and how to solve it? Thanks! Javier. |
|
June 7, 2023, 03:15 |
|
#2 |
Member
Vinzenz Götz
Join Date: Mar 2021
Location: Munich, Germany
Posts: 31
Rep Power: 5 |
Have you solved it yet?
Have you looked in the log of your solver? Is the fieldMinMax calculated before calculation of normalisedGradP? |
|
Tags |
fieldminmax |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Postprocess: sampleDict works but creates no output folder | shock77 | OpenFOAM Post-Processing | 14 | November 15, 2021 09:27 |
multiphaseEulerFoam: efficient way of implementing fields for all phases | maybee | OpenFOAM Programming & Development | 0 | January 23, 2014 05:16 |
a reconstructPar issue | immortality | OpenFOAM Post-Processing | 8 | June 16, 2013 12:25 |
an odd(at least for me!) reconstructPar error on a field | immortality | OpenFOAM Running, Solving & CFD | 3 | June 3, 2013 23:36 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 10:15 |