|
[Sponsors] |
October 11, 2010, 07:21 |
Monitor Velocities
|
#1 |
New Member
elisenda lopez
Join Date: Dec 2009
Posts: 14
Rep Power: 16 |
Dear all,
I would like to monitor velocity and pressure of some cells during simulation. I don't know how I can do that. Can every body help me? Do I need to include any function into the controlDict file? Which function? Thanks in advance and regards, Elisenda |
|
October 11, 2010, 07:28 |
|
#2 | |
New Member
Peter Wiemeyer
Join Date: Sep 2009
Location: Germany, Munich
Posts: 22
Rep Power: 16 |
Quote:
functions { probes { // Where to load it from functionObjectLibs ( "libsampling.so" ); type probes; // Name of the directory for probe data name probes; probeLocations ( ( 1e-06 0 0.01 ) // at inlet ( 0.21 -0.20999 0.01 ) // at outlet1 ( 0.21 0.20999 0.01 ) // at outlet2 ( 0.21 0 0.01 ) // at central block ); // Fields to be probed fields ( p U ); // Write at same frequency as fields outputControl outputTime; outputInterval 1; } } If you would like to see more examples, just look for controlDicts with the keyword functionObject. You will probably find a lot of examples and most cases will be covered with this. Best Regards, Peter |
||
October 11, 2010, 10:03 |
|
#3 |
Member
Join Date: Dec 2009
Posts: 36
Rep Power: 16 |
There is an alternative way to do it, that is not so efficient as Peter's, but sometimes it is quite helpful.
Paraview also include an Probefunction/ -filter, that can do the job. The advantage is that it can be done after the simulation is already finished. Regards fritz |
|
|
|