CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

to plot Mach contour using GNUPLOT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 26, 2009, 10:50
Question to plot Mach contour using GNUPLOT
  #1
New Member
 
Join Date: Dec 2009
Posts: 3
Rep Power: 16
killtimm is on a distinguished road
I have a 2D unstructured mesh datafile which has the following format (for each cell, x1, x2 and x3 are different, so are with y values ):

x1 y1 Mach1
x2 y2 Mach2
#blank____________________________(for cell 1)
x3 y3 Mach3
x3 y3 Mach3
#blank
#blank
x1 y1 Mach1
x2 y2 Mach2
#blank____________________________(for cell 2)
x3 y3 Mach3
x3 y3 Mach3
#blank
#blank

...... ...... #for cell N


It's ok that a colored contour map could be made with pm3d
But I want to plot a contour with just black isolines like below:

Somebody may say that it can be realized using dgrid3d
But it will be impossible if the mesh is very large to consume
too much memory

Can anyone tell me how to plot the contour isolines like above?

It won't be better if commands are presented

Thanks in advance!
killtimm is offline   Reply With Quote

Old   December 28, 2009, 12:12
Default
  #2
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 20
DoHander is on a distinguished road
You can check Tecplot (if you have an academic license) - they have a lot of examples of how to plot these kind of data.

About Gnuplot - this is a good choice if you are a programmer, check the last version of Gnuplot, especially the demos directory - I'm sure you will found an example of isolines.

http://www.gnuplot.info/
http://sourceforge.net/projects/gnuplot/files/

Do
DoHander is offline   Reply With Quote

Old   December 28, 2009, 12:15
Default
  #3
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 20
DoHander is on a distinguished road
Here - some Gnuplot demos:

http://gnuplot.sourceforge.net/demo_4.2/
http://gnuplot.sourceforge.net/demo_4.2/contours.html

The last version is 4.4 probably you will find more demos.
DoHander 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
how to plot contour or vector with "GNUPLOT" ztdep Main CFD Forum 2 June 19, 2006 13:26
How to plot vel vector & contour on same plane? student CFX 7 May 12, 2006 09:15
how to plot isotherms in gnuplot? sivasamy Main CFD Forum 0 December 19, 2005 02:26
non-dimensional analysis in Fluent Endee FLUENT 8 September 7, 2005 17:16
contour plot of stream function liu FLUENT 6 August 19, 2003 23:30


All times are GMT -4. The time now is 08:02.