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

how to output the value along a certain line or on a plane

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 20, 2016, 10:11
Default how to output the value along a certain line or on a plane
  #1
New Member
 
Shizuo Fu
Join Date: Apr 2016
Location: Beijing
Posts: 4
Rep Power: 2
novist is on a distinguished road
Hello, everyone,
I am a beginner to OpenFoam. I wonder if I can use paraview to output the value along a certain line and on a certain plane, instead of only displaying the data on the paraview interface. And I want to know the position vector of the cell corresponding to the output value.
If paraview can not resolve this, is there any other software solving this problem?
Thank you in advance!
novist is offline   Reply With Quote

Old   April 26, 2016, 00:41
Default
  #2
Senior Member
 
Join Date: Jun 2012
Posts: 100
Rep Power: 6
Bazinga is on a distinguished road
You can get value over a line or a plane using the sample utility. Check the User guide and tutorials where a sampleDict file is included. The location of a cell can be written into the time directory with the writeCellCentres utility.These files can be also used by the sample utility.
Bazinga is offline   Reply With Quote

Old   April 26, 2016, 07:41
Default Thank you, Bazinga.
  #3
New Member
 
Shizuo Fu
Join Date: Apr 2016
Location: Beijing
Posts: 4
Rep Power: 2
novist is on a distinguished road
Thank you, Bazinga. I tried the utility and found it solved my problem perfectly.
novist is offline   Reply With Quote

Reply

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
Take derivative of mean velocity in paraFoam hiuluom OpenFOAM Paraview & paraFoam 13 April 26, 2016 06:44
No cells read from file ".msh" hwsv07 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 February 2, 2015 11:06
could not open file .vtk in paraview ali_atrian OpenFOAM Paraview & paraFoam 8 August 27, 2014 10:31
Conversion Error nuovodna Open Source Meshers: Gmsh, Netgen, CGNS, ... 14 October 1, 2010 11:07
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 21:45


All times are GMT -4. The time now is 00:45.