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

Finding velocity temperature etc at a particular pt in space

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2008, 23:54
Default Hi Suppose i have finished
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Hi

Suppose i have finished a foam run, and am interested in values at a few spatial locations, how would i extract these from the output?

Thanks
Srinath
srinath is offline   Reply With Quote

Old   June 8, 2008, 06:12
Default During the simuation you can d
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
During the simuation you can do that using the probes-functionObject (have a look at $FOAM_TUTORIALS/oodles/pitzDaily/system/controlDict for an example).

I have never tried this, but I think that you can use the same mechanism to do it after the simulation. Just add the entries to the controlDict and run a postprocessing-utility that loads the fields you are looking for into memory (Mach or something like that)

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 8, 2008, 22:23
Default Thanks Bernhard I added the
  #3
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Thanks Bernhard

I added the lines to the control dict and i get the runtime information.
I would ideally like to extract information at particular spatial co-ordinates even after the run is completed. I am not very familiar with manipulating IO objects. Could someone tell me how i should go about it?

Thanks
Srinath
srinath is offline   Reply With Quote

Old   June 9, 2008, 04:45
Default Hi Srinath There is a tool
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Srinath

There is a tool which you might would take a look at. It is called 'sample' and lives in

~/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/postProcessing/miscellaneous/sa mple

In this folder there is also an example of a sampleDict. Using this tool you can extract points along a line. I do not know if you can extract in specific points, but a line with two points is only a little bit do much work

/ Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   June 9, 2008, 07:34
Default Thanks Niels I copy the sam
  #5
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Thanks Niels

I copy the sampleDict into the case/system directory
And it works perfectly when i issue the command
sample . cavity

Srinath
srinath is offline   Reply With Quote

Old   January 6, 2009, 08:30
Default Hi Users, Have you used pro
  #6
New Member
 
Martin Romagnoli
Join Date: Mar 2009
Location: Rosario, Santa Fe, Argentina
Posts: 22
Rep Power: 17
martinr is on a distinguished road
Hi Users,

Have you used probes function in multiphase flow solvers (rasInterFoam or interFoam)? I could obtain the probe/0/ files but there is a mistake. The values are not written in the correct time step.

I tried probes function with other solvers (icoFoam, oodles, turbFoam). In this cases probes function works fine.

I have not found the reason for this behaviour.
Any clue?

Thank you in advance.
Martin.
martinr is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for space-filtering 3-D velocity fields Xianmin FLUENT 0 April 11, 2008 21:58
Finding the node temperature (not cell) Parsa Zamankhan FLUENT 4 August 22, 2007 16:38
Finding average x-velocity at any particular x. Dpu FLUENT 2 April 11, 2006 23:32
Urgent help needed in finding maximum temperature. Deadly FLUENT 3 September 3, 2002 09:43
finding exact temperature....Urgent.. Puck FLUENT 5 July 22, 2002 02:24


All times are GMT -4. The time now is 20:03.