CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Monitor the total pressure in a point during solver iterations

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 3, 2009, 13:21
Default Monitor the total pressure in a point during solver iterations
  #1
New Member
 
Horea Adrian
Join Date: Apr 2009
Posts: 2
Rep Power: 0
Horeai is on a distinguished road
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
Horeai is offline   Reply With Quote

Old   April 5, 2009, 00:25
Default
  #2
New Member
 
Kirk Jarvis
Join Date: Mar 2009
Posts: 6
Rep Power: 8
kcjarvis56 is on a distinguished road
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
kcjarvis56 is offline   Reply With Quote

Old   April 6, 2009, 09:54
Default
  #3
New Member
 
Horea Adrian
Join Date: Apr 2009
Posts: 2
Rep Power: 0
Horeai is on a distinguished road
Thank you Kirk!
I'll try it. I am using 1.5 so must work !

Horea
Horeai is offline   Reply With Quote

Old   April 6, 2009, 13:02
Default
  #4
Member
 
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 8
chbenz is on a distinguished road
Hi,

it also works for OF-1.4.1-dev.

Christof
chbenz is offline   Reply With Quote

Reply

Tags
monitor, total pressure

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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 05: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 05:43
Total pressure in real gas (compressible flow) Bart Prast Main CFD Forum 3 November 14, 2000 11:44


All times are GMT -4. The time now is 12:37.