CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   Semi-Circle in Tecplot. (https://www.cfd-online.com/Forums/tecplot/139770-semi-circle-tecplot.html)

mmatadu July 31, 2014 04:25

Semi-Circle in Tecplot.
 
Hello All,
I would like to know, how can I write ASCI data file for semi-circle. I know it for circle:
================================
[[Suppose the following example for circle of radius 20 at center(30,30)
GEOMETRY X=30, Y=30, T=CIRCLE, FC=BLUE, C=GREEN
20
=================================
Similarly, if any option to write semi-circle, please inform me.

Sincerely yours
MAT


scott_rumage July 31, 2014 10:54

In Tecplot 360 EX go to Data>>Create Zone>>Circular …
- For example -- create a zone of 10x25x1
Next go to Data>>Extract Subzone…
- Change the J-Index from “Mx” to “13” (extracts a semi-circle zone)
Next go to File>>Write Data File>>
- Export the Subzone to an ASCII data file (*.dat extension)
- I suggest that you select “point” format (versus “block”)

You now have an Tecplot ASCII data file of a half circle.

Cheers,
Scott

mmatadu July 31, 2014 12:21

Thank you very much and one more thing Please
 
Dear Scott,
Its great, thank you very much. I can draw the semi circle in Tecplot.

Actually, I am using FORTRAN code in my CFD simulation. In 2D case, if I want to create geometry like a circle, for example: a circle of radius =10 , Centre (50,20), in my FORTRAN code, I have defined the following way and in my output results file, Tecplot-360, 2010, I have seen geometry (circle).
================================================== =====================
WRITE(*,*)'GEOMETRY X=',50, ',','Y=',20,',' ,'T=CIRCLE', ',',
& 'C=BLACK',',','FC=BLACK', ',', 'CS=GRID'
WRITE(*,*)10

================================================== ===============
Now my problem is: For semi-circular geometry(upper half), how can I write the statements in my FORTRAN code (like above statements for circle)?
Please help me in this regards.

Sincerely yours
MAT

scott_rumage July 31, 2014 16:39

Sorry Matt, I have no suggestions. Scott


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