|
[Sponsors] |
September 11, 2016, 15:53 |
Mesh from x,y location
|
#1 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
hi
I made a file that produce for me the location of corners of cells.I should connect them to produce for me the meshes(cells). but as i think there is no way to code it. I wanna show this grid in Tecplot. |
|
September 11, 2016, 16:11 |
|
#2 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
A list of node locations does not uniquely define a mesh either for cfd computation or for visualization. This is often called a "point cloud." There must be connectivity information included as well, either implicitly or explicitly. Implicit connectivity requires some detailed knowledge and constraints on your node ordering--say for a stretched cartesian mesh, you could deduce connectivity based on node ordering if you knew the number of nodes in the x and y directions. If your mesh is unstructured, you need to define connectivity, say by providing nodes that group together into cells.
You can refer to gmsh documentation for an example of how this is done: http://gmsh.info/doc/texinfo/gmsh.ht...II-file-format |
|
September 11, 2016, 16:15 |
|
#3 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,785
Rep Power: 71 |
Quote:
I agree, check chap.s 3 and 4 in http://www.aertia.com/docs/tecplot/tpum.pdf |
||
September 11, 2016, 16:15 |
|
#4 |
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9 |
I had the code on fortran !
If you want , i will send it to you I think you are iranian from your name ! Contact me : det.em.tw@gmail.com Sent from my iPhone using Tapatalk |
|
September 11, 2016, 17:18 |
|
#5 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
but what is the requirements? my written code is very long and i can put the requirement of tecplot on it. but really i don't know the true format in tecplot for generating .DAT file in fortran. your texts was so good but i want to know the requirements to put it in my code. |
||
September 11, 2016, 17:20 |
|
#6 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
but I don't know the phrases of my problem to search in this PDF. what is named my case exactly? and what is it's requirements in tecplot? |
||
September 11, 2016, 17:21 |
|
#7 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
|
||
September 12, 2016, 03:02 |
|
#8 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
not more idea???!!!
|
|
September 12, 2016, 06:46 |
|
#9 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
The file format is documented in Chapter 4. If you are doing single-block mapped 2D cartesian grid generation, which I infer from your other earlier question, you should be able to use the IJ-ordered data points format as documented in 3.3.1.2 of that .pdf. The ASCII output for iJ-ordered data is documented in 4.2.2. The information is all there. If you understand how your grid generation works, it should be easy to follow their recipe and turn it into a tecplot file.
|
|
September 12, 2016, 14:01 |
thanks to all
|
#10 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Mr mprinkey, FMDenaro and amirhosseintaran
thank to you. finally I learn how to write my Fortran code. best regards to you. |
|
September 12, 2016, 16:09 |
|
#11 |
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9 |
||
September 12, 2016, 17:31 |
|
#12 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
||
September 13, 2016, 06:37 |
|
#13 |
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 08:54 |
[ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 44 | April 14, 2016 06:41 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry | pizzaspinate | OpenFOAM Meshing & Mesh Conversion | 1 | February 25, 2015 07:05 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |