|
[Sponsors] |
April 4, 2008, 20:37 |
Tecplot output format in 2-D cartesian grid
|
#1 |
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? |
|
April 7, 2008, 03:12 |
Re: Tecplot output format in 2-D cartesian grid
|
#2 |
Guest
Posts: n/a
|
Hello Jinwon,
you could try to interchange the loops. Hope, this helps. Regards Markus |
|
April 7, 2008, 06:09 |
Re: Tecplot output format in 2-D cartesian grid
|
#3 |
Guest
Posts: n/a
|
Does it mean following?
DO j=1,ny DO i=1,nx .... ENDDO ENDDO |
|
April 7, 2008, 06:40 |
Re: Tecplot output format in 2-D cartesian grid
|
#4 |
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 |
|
April 7, 2008, 06:44 |
Re: Tecplot output format in 2-D cartesian grid
|
#5 |
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.
|
|
April 7, 2008, 07:28 |
Re: Tecplot output format in 2-D cartesian grid
|
#6 |
Guest
Posts: n/a
|
Hello Jinwon
the menu point is Plot - Contour/Multi-Coloring Details - Coloring and activate there the Continuous button. Regards, Markus |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
moving cylinder in a cartesian grid | yusun | Main CFD Forum | 1 | July 1, 2009 04:48 |
tecplot data format | ztdep | Tecplot | 3 | October 10, 2008 02:49 |
export gambit grid to tecplot | ztdep | FLUENT | 1 | September 17, 2008 20:01 |
Cartesian Grid | Harish | FLUENT | 0 | January 3, 2006 01:09 |
Grid Independent Solution | Chuck Leakeas | Main CFD Forum | 2 | May 26, 2000 12:18 |