CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] basic question contour plot in paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2010, 12:17
Default basic question contour plot in paraview
  #1
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 16
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, 01:10
Default
  #2
Member
 
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 16
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, 11:57
Default
  #3
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 16
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, 102 views)

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

Old   March 14, 2010, 15:46
Default
  #4
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
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, 426 views)
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   March 14, 2010, 15:57
Default
  #5
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 16
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, 16:03
Default
  #6
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
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, 16:10
Default
  #7
New Member
 
cathren
Join Date: Mar 2010
Posts: 7
Rep Power: 16
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 08:05.
Kate is offline   Reply With Quote

Old   July 23, 2020, 14:05
Arrow plot contour paraview
  #8
Senior Member
 
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10
foamiste is on a distinguished road
For contour plot, check this video: https://youtu.be/fnawxr0WLJU
foamiste 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
[OpenFOAM] Plot over line question RodriguezFatz ParaView 9 April 28, 2017 07:19
[OpenFOAM] Plot over line fails in ParaView mheinz ParaView 4 May 23, 2016 05:28
generating 2d-planar contour plots from a contour plot on a curved surface alinik CFX 3 May 21, 2016 06:17
[OpenFOAM] Problem with contour plot of calculator in Paraview lcbuijs ParaView 0 July 27, 2015 08:58
[OpenFOAM] How to create an contour plot for arbitrary plane with interpolated data navaladi ParaView 0 June 4, 2008 07:57


All times are GMT -4. The time now is 12:19.