|
[Sponsors] |
November 14, 2014, 06:52 |
Run time monitoring of velocity or flux
|
#1 |
New Member
Filip Gjetvaj
Join Date: Mar 2013
Location: Montpellier, FR
Posts: 17
Rep Power: 13 |
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 |
|
November 14, 2014, 09:22 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
You need the simpleFunctionObject library from swak4foam. Then you can add something like
Code:
functions ( postFields { type patchAverage; functionObjectLibs ( "libsimpleFunctionObjects.so" ); verbose true; patches ( INLET OUTLET inlet outlet ); fields ( T p U ); outputControl timeStep; outputInterval 1; } ); |
|
November 14, 2014, 10:54 |
|
#3 |
New Member
Filip Gjetvaj
Join Date: Mar 2013
Location: Montpellier, FR
Posts: 17
Rep Power: 13 |
Thank you very much Joachim
this was exactly what I was looking for it works like a charm |
|
May 19, 2016, 06:58 |
|
#4 |
Member
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 12 |
Hi,
do you have any experiences with foamMonitor? Why do you prefer this alternative instead of the foamMonitor one? Thanks in advance! |
|
Tags |
flux, run time |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
Problem with time average tangential velocity in swirl flow. | lakhi | FLUENT | 5 | July 18, 2012 17:28 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |