|
[Sponsors] |
Monitor the total pressure in a point during solver iterations |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Horea Adrian
Join Date: Apr 2009
Posts: 2
Rep Power: 0 ![]() |
Hi everyone,
I want to add some code to be able to monitor the total pressure, f.e., during the solver iterations at inlet. But, I want to monitor it in only one point, node or face at the Inlet or Outlet. Does anybody has experience, code developed, with this kind of problems? Could somebody give an advice? Thanks Horea |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Kirk Jarvis
Join Date: Mar 2009
Posts: 31
Rep Power: 17 ![]() |
In the controlDict add the following code:
functions ( probes1 { type probes; // Type of functionObject // Where to load it from (if not already in solver) functionObjectLibs ("libsampling.so"); setFormat gnuplot; surfaceFormat raw; probeLocations // Locations to be probed. runTime modifiable! ( (0.3 2.75 0.0) (0.3 .5 0.0) (0.3 1 0.0) ); // Fields to be probed. runTime modifiable! fields ( rho k U T p ); } ); This works with OpenFoam 1.5 but I'm not sure if it works with previous versions. The function will create a probes1 directory with in that directory you will find another directory with the start time. With in the start time directory you will find files for each variable probed (i.e "p") with the value of each point you probed for vs time for each time step. Hope this helps. Kirk |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Horea Adrian
Join Date: Apr 2009
Posts: 2
Rep Power: 0 ![]() |
Thank you Kirk!
I'll try it. I am using 1.5 so must work ! Horea |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 17 ![]() |
Hi,
it also works for OF-1.4.1-dev. Christof |
|
![]() |
![]() |
![]() |
Tags |
monitor, total pressure |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Computational time | sunnysun | OpenFOAM Running, Solving & CFD | 5 | March 16, 2009 04:32 |
Negative value of k causing simulation to stop | velan | OpenFOAM Running, Solving & CFD | 1 | October 17, 2008 06:36 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |
Total Pressure in Laval Nozzle | Sohail Ahmed | Main CFD Forum | 0 | May 19, 2004 06:43 |
Total pressure in real gas (compressible flow) | Bart Prast | Main CFD Forum | 3 | November 14, 2000 11:44 |