CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Velocity at each Gridpoint

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2010, 12:03
Default Velocity at each Gridpoint
  #1
New Member
 
Rafael
Join Date: May 2010
Posts: 2
Rep Power: 0
daebel is on a distinguished road
Hi all!

I am post-processing OpenFoam output data with Matlab. What I need are the gridpoints and at each gridpoint the velocity. However, the output files that I get from the person who is doing the OpenFoam simulation are not easy to process. The gridpoints are listed well, no problems there. But the velocity field is splitted into so many different subsets (internalField, Inlet, Oulet,...) that it is an almost impossible task to assign one velocity to one gridpoint.

Is there a way (in OpenFoam) to output velocities for each gridpoint? Some check box or some command, I don't know...
Just so I get the gridpoints in an "nx3" array (n: number of gridpoints, 3: each direction) and the velocity exactly in the same format?

Thank you very much for your help!
Best regards
daebel is offline   Reply With Quote

Old   May 16, 2010, 05:42
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by daebel View Post
The gridpoints are listed well, no problems there. But the velocity field is splitted into so many different subsets (internalField, Inlet, Oulet,...) that it is an almost impossible task to assign one velocity to one gridpoint.
Since OpenFOAM uses a control-volume method, the internalField represents the velocity for the cell, not the points.

Quote:
Originally Posted by daebel View Post
Is there a way (in OpenFoam) to output velocities for each gridpoint?
You could use the volPointInterpolation class (http://foam.sourceforge.net/doc/Doxy...rpolation.html) to interpolate the cell-based volume fields into point-based fields. I don't know off-hand if there is a utility to do this, or if you'd have to add it in (to the solver or a standalone utility) by yourself.
olesen is offline   Reply With Quote

Old   May 16, 2010, 08:20
Default
  #3
New Member
 
Rafael
Join Date: May 2010
Posts: 2
Rep Power: 0
daebel is on a distinguished road
Thank you very much, I'll have a look at it!
daebel 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
Velocity in Porous medium : HELP! HELP! HELP! Kali Sanjay Phoenics 0 November 6, 2006 06:10
Velocity Under-relaxation in SIMPLE type methods Matt U. Main CFD Forum 6 July 4, 2005 05:29
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


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