Monitor the total pressure in a point during solver iterations
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?
In the controlDict add the following code:
type probes; // Type of functionObject
// Where to load it from (if not already in solver)
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!
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.
Thank you Kirk!
I'll try it. I am using 1.5 so must work !
it also works for OF-1.4.1-dev.
|All times are GMT -4. The time now is 06:29.|