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

How can I output slices of the flowField via sampledPlanes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2012, 03:29
Default How can I output slices of the flowField via sampledPlanes
  #1
Member
 
Martin
Join Date: Nov 2011
Posts: 35
Rep Power: 14
wernsen is on a distinguished road
Hey guys,

here is my problem. I am using sampledPlanes to gather informtions of the calculated field. I can also write the mesh of these planes via "sampledPlanes().write(file_name)" after an update.

The question is now, how can I export for example the velocity distribution on this plane. I can use the vealues via "sP.sample(U.component(1))" for example to get the y-component. But I want to have the slice like it is in paraview.

I had a look to the sample utility but unfortunately I can not help myself.

Would be nice to get help.
MARTIN
wernsen is offline   Reply With Quote

Old   May 29, 2012, 04:07
Default
  #2
Member
 
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 15
JimKnopf is on a distinguished road
Hi

as far as i know there is a function object to sample plane lines and probes during calculation. I'm not sure about the syntax, but maybe you can have a look at it.

The function object needs to be defined in the control dict.

HTH
Jim
JimKnopf 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
Questions about data output aki_yafuji OpenFOAM Running, Solving & CFD 3 September 9, 2010 01:59
lift and drag on ship superstructures vaina74 OpenFOAM Running, Solving & CFD 3 June 8, 2010 12:30
Output transient file to csv Ben CFX 3 September 23, 2008 08:17
[Other] Output Format of MetaMesh t42 OpenFOAM Meshing & Mesh Conversion 0 August 3, 2007 04:28
Help with DPM UDF for OUTPUT needed Zhengcai Ye FLUENT 0 January 5, 2004 16:58


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