Run time monitoring of velocity or flux
Hi,
I'm running a steady state simulation (simpleFoam solver) and would like to know if there is some option to monitor flux at outlet at run time. For now at the end of simulation I run patchAverage or patchIntegrate over phi field and compare flux results at different step. Limit of this approach is that there are values in just few time step (otherwise too much data to process) and also have to wait for the simulation to end. Is it possible to run it during the simulation and keep just a value for each step (instead whole flow field). I found sampleDict option but not sure how it works could you please tell me if this could be what I'm looking for? It is important to say that simulation runs in parallel |
You need the simpleFunctionObject library from swak4foam. Then you can add something like
Code:
functions |
Thank you very much Joachim
this was exactly what I was looking for it works like a charm ;) |
Hi,
do you have any experiences with foamMonitor? Why do you prefer this alternative instead of the foamMonitor one? Thanks in advance! |
All times are GMT -4. The time now is 06:50. |