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

water velocities (point data) are all zero

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2013, 11:24
Post water velocities (point data) are all zero
  #1
Member
 
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 4
sophie_l is on a distinguished road
Hi there,

I ran a case using interFoam. The mesh is 2D (only one cell in the z direction). Y-axis is 4 m high, 0-2m is water and 2-4 m is air. The free surface (using alpha1) looks good in paraview. But when I choose U-magnitude (point data) for animation, only the inlet patch and the top of air have non-zero velocities. When using U-magnitude (cell data), the water velocities are non-zero and look normal.

However, I need to extract the water velocity at sampling points or over a line to do some comparison. I cannot save the cell data via 'plot over line', only point data are saved, ie., water velocites are all zero. It is really strange to me. I am thinking maybe there is something wrong with the settings in paraview as the output U files are of non-zero values. Could someone shed some light on this please?

Thanks a lot in advance.
Sophie
sophie_l is offline   Reply With Quote

Old   April 20, 2013, 03:50
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,619
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
Hi Sophie,

Maybe you could use the OpenFoam utility "sample" instead. This allows you to sample along a given line.

You can find more information and an example of the needed dictionary here:

OpenFOAM/OpenFOAM-2.2.0/applications/utilities/postProcessing/sampling/sample

Kind regards

Niels
ngj is offline   Reply With Quote

Old   April 20, 2013, 06:08
Default
  #3
Member
 
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 4
sophie_l is on a distinguished road
Hi Niels,

Many thanks for your guidance! I'll try it.

Best wishes,
Sophie
sophie_l is offline   Reply With Quote

Reply

Tags
cell data, paraview 3.12, velocity magnitude

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
How to set nonuniform T, U fields from point data MisterX OpenFOAM Running, Solving & CFD 0 November 28, 2012 09:38
[ANSYS Meshing] Importing Cylinders by Point Data Input with Radii EphemeralMemory ANSYS Meshing & Geometry 2 May 31, 2012 13:34
matching variable data with grid point data anfho OpenFOAM Programming & Development 0 May 6, 2011 15:28
How to put melting point data of inert particle in DPM model of Fluent subhankar_bhandari FLUENT 0 July 28, 2010 07:40
how to create the formatted point data for icemcfd charles CFX 3 February 28, 2006 21:01


All times are GMT -4. The time now is 23:55.