CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

basic question contour plot in paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 13, 2010, 13:17
Default basic question contour plot in paraview
  #1
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 7
Kate is on a distinguished road
Dear all,

How can I plot a data as a contour plot with paraview, actually I was successful to upload my data, then what I need to do for the parameter to show the plot?

please help me
Kate is offline   Reply With Quote

Old   March 14, 2010, 02:10
Default
  #2
Member
 
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 7
AlanR is on a distinguished road
Kate, Since you didn't specify exactly what you're trying to do, here are some things to look try:
1. In the Cavity tutorial, you look at pressure contours by moving to the time of interest then in the active variable controls, you select 'color by p'. There are two choices - the cube icon gives one value per cell and the circle icon interpolates pressure values.
2. Make a slice through your domain and use the contour tool (the half dome icon or Filters-Common-Contour from the drop down menus). You will need to click 'New Range' in the object inspector to define a range (or set your own range by adding values). The display tab will let you change the color scheme 'color by.'
3. There is a user guide for ParaView at their website www.paraview.org/files/v1.6/ParaViewUsersGuide.PDF. Some features are explained better than others - the tutorials at the end are well written. You need to download the dataset for the tutorials from the same website.
Good luck, Alan
AlanR is offline   Reply With Quote

Old   March 14, 2010, 12:57
Default
  #3
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 7
Kate is on a distinguished road
Thanks alot for your help, I will have a look at the attached file,
actually my question seems to be basic, I want a contour plot for data formatted as a VTK format as in the attached file. I was successful to upload my data file in paraview, I pressed accept buttom, but it does not show any plot, how can I change the setting for the parameters to suit my data file . which options should I follow to see the plot.

tha data is points x, y generated as a triangular mesh, I need to plot it againest the value of the solution at this point, it may be helpful if you could look at the attached file and try with it.

will I be able to save image in the dispaly area as eps or ps file?? because in the user guide it says
Supported image file formats are Windows Bitmap (*.bmp),
JPEG (*.jpg), PNG (*.png), binary PPM (*.ppm), and TIFF (*.tif).

looking for your help

wishes
Kate
Attached Files
File Type: txt data.vtk.txt (947 Bytes, 50 views)

Last edited by Kate; March 14, 2010 at 13:31.
Kate is offline   Reply With Quote

Old   March 14, 2010, 16:46
Default
  #4
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 386
Rep Power: 15
deepsterblue will become famous soon enough
I seemed to be able to open the file just fine.
I loaded the VTK file using File->Open...
Attached Images
File Type: jpg data.jpg (79.9 KB, 170 views)
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   March 14, 2010, 16:57
Default
  #5
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 7
Kate is on a distinguished road
Quote:
Originally Posted by deepsterblue View Post
I seemed to be able to open the file just fine.
I loaded the VTK file using File->Open...
thanks for help, please explain to me step by step, as I am a new to paraview, what I need to do after I loaded the data file, I pressed the acept button, but nothing appears, I think I need to set the preoperties and display style in the right way
looking for help
Kate is offline   Reply With Quote

Old   March 14, 2010, 17:03
Default
  #6
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 386
Rep Power: 15
deepsterblue will become famous soon enough
Which version of paraview are you using? On ParaView 3.6.1, select Open from the File menu, select the file on your system, and click Apply. Nothing else to it.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   March 14, 2010, 17:10
Default
  #7
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 7
Kate is on a distinguished road
Quote:
Originally Posted by deepsterblue View Post
Which version of paraview are you using? On ParaView 3.6.1, select Open from the File menu, select the file on your system, and click Apply. Nothing else to it.
thanks, now I am able to plot my data using paraview 3.6.2 on a unix platform, just a small question, how can I sav ethe plot in the display area as eps or ps file , actaully I followed the steps mentioned in the userguide
PHP Code:
  11 Copy and Print
11.1 Overview
Depending on which platform you are using
ParaView may include a copy image
operation 
and printing functionalityThe copy image option is supported only on the
Windows platform
Printing is fully supported on WindowsOn Linux Unixthe print
functionality will generate a postscript file that you must send to your printer.
      
On Linux Unix a file saving dialog will pop up allowing you to specify the
location 
and name of a postscript file into which the image will be writtenOn Linux /
Unix you will have to send this image to the printer
the problem I could not find the print option under the file menu.

wishes
Kate

Last edited by Kate; March 15, 2010 at 09:05.
Kate 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
to set the axes in 3d in contour plot shailendra FLUENT 2 January 15, 2010 02:21
to plot Mach contour using GNUPLOT killtimm Main CFD Forum 2 December 28, 2009 12:15
plot in Paraview deappear droenne OpenFOAM Paraview & paraFoam 1 November 27, 2009 10:40
How to extract data for contour plot? Farid CFX 7 January 30, 2008 16:10
Contour plot Magnoli CFX 4 November 21, 2007 10:16


All times are GMT -4. The time now is 15:54.