|
[Sponsors] |
April 26, 2016, 02:11 |
Save data from whole patch at each time step
|
#1 |
Member
Join Date: Nov 2014
Posts: 36
Rep Power: 11 |
Hello,
I need to save data at each time step the solver computes and I need to do it for whole patch (or at least for defined line). Does anyone know how to do it? Solution is probably something similar to a probe, but instead of single point, I would like to specify whole patch. Thank you. |
|
April 27, 2016, 03:37 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
You want a "surfaces" function object:
http://cfd.direct/openfoam/user-guide/function-objects/
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
April 27, 2016, 03:56 |
|
#3 |
Member
Join Date: Nov 2014
Posts: 36
Rep Power: 11 |
Thank you. Could you please post a piece of code that needs to be inserted to contolDict to to write say pressure at whole outlet at each time step? I tried to write something, but I can not seem to make it wok.
|
|
April 27, 2016, 05:06 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
You can find such examples in the tutorial folder of OpenFOAM.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 16, 2019 23:12 |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 13:48 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 13:40 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 07:09 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 22:40 |