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

Tecplot output format in 2-D cartesian grid

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 4, 2008, 19:37
Default Tecplot output format in 2-D cartesian grid
  #1
jinwon park
Guest
 
Posts: n/a
I am simulating 2-D axi-symmetric explosion flows in 2-D cartesian grid. A circular initial condition was embedded by a smoothed function. To get time-varing results, I implemented that at every 100 time steps, the x,y,rho,u,v are outputted by

WRITE(ifile,'(1x,a,f8.6,a,a,i3,a,i3,a)') 'ZONE T="',tw,'sec"',',I=',nx,',J=',ny,'F=POINT '

DO=1,nx DO=1,ny

WRITE(ifile,'(1x,5e25.10)') rho(i,j),y(i,j),rho(i,j),u(i,j),v(i,j)

ENDDO ENDDO

The output file substituted into tecplot 10 draws coutour plots. However, the contours are not continuous where the stair-case distributions are shown. I hope the tecplot draws continuous contour plots with discretized variables. Could anyone help to draw continous 2-D contours in Tecplot?
  Reply With Quote

Old   April 7, 2008, 02:12
Default Re: Tecplot output format in 2-D cartesian grid
  #2
Markus Lummer
Guest
 
Posts: n/a
Hello Jinwon,

you could try to interchange the loops.

Hope, this helps.

Regards Markus
  Reply With Quote

Old   April 7, 2008, 05:09
Default Re: Tecplot output format in 2-D cartesian grid
  #3
jinwon park
Guest
 
Posts: n/a
Does it mean following?

DO j=1,ny DO i=1,nx .... ENDDO ENDDO
  Reply With Quote

Old   April 7, 2008, 05:40
Default Re: Tecplot output format in 2-D cartesian grid
  #4
Markus Lummer
Guest
 
Posts: n/a
Hello Jinwon,

sorry, I think I didn't get your problem right. According to the tecplot manual the loop ordering for the F=Point format has to look like this

Do J=1,Jmax

Do I=1,IMax

write(*,*) x(i,j),y(i,j),rho(i,j),u(i,j),v(i,j)

enddo

enddo

Your first variable is rho(i,j) - is this OK ?

I don't understand, what you mean with stair-case distribution. Tecplot should interpolate linearly between data points in contour plots. A smooth distribution of colors has to be activated separately.

Regards, Markus
  Reply With Quote

Old   April 7, 2008, 05:44
Default Re: Tecplot output format in 2-D cartesian grid
  #5
Jinwon
Guest
 
Posts: n/a
I think that contour plots in Tecplots do not interpolate between data points. Do you know how to activate a smooth distribution of colors in contours? I have not heard about that subject. Thanks.
  Reply With Quote

Old   April 7, 2008, 06:28
Default Re: Tecplot output format in 2-D cartesian grid
  #6
Markus Lummer
Guest
 
Posts: n/a
Hello Jinwon

the menu point is

Plot - Contour/Multi-Coloring Details - Coloring

and activate there the Continuous button.

Regards, Markus
  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
moving cylinder in a cartesian grid yusun Main CFD Forum 1 July 1, 2009 03:48
tecplot data format ztdep Tecplot 3 October 10, 2008 01:49
export gambit grid to tecplot ztdep FLUENT 1 September 17, 2008 19:01
Cartesian Grid Harish FLUENT 0 January 3, 2006 00:09
Grid Independent Solution Chuck Leakeas Main CFD Forum 2 May 26, 2000 11:18


All times are GMT -4. The time now is 22:39.