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

Mesh from x,y location

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By mprinkey
  • 1 Post By FMDenaro
  • 1 Post By amirhosseintaran
  • 2 Post By mprinkey

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2016, 15:53
Default Mesh from x,y location
  #1
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
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.
mostanad is offline   Reply With Quote

Old   September 11, 2016, 16:11
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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
mostanad likes this.
mprinkey is offline   Reply With Quote

Old   September 11, 2016, 16:15
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by mprinkey View Post
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

I agree, check chap.s 3 and 4 in
http://www.aertia.com/docs/tecplot/tpum.pdf
mostanad likes this.
FMDenaro is offline   Reply With Quote

Old   September 11, 2016, 16:15
Default
  #4
Member
 
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9
amirhosseintaran is on a distinguished road
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
mostanad likes this.
amirhosseintaran is offline   Reply With Quote

Old   September 11, 2016, 17:18
Default
  #5
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
Quote:
Originally Posted by mprinkey View Post
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
thanks
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.
mostanad is offline   Reply With Quote

Old   September 11, 2016, 17:20
Default
  #6
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I agree, check chap.s 3 and 4 in
http://www.aertia.com/docs/tecplot/tpum.pdf
thanks Mr denaro.
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?
mostanad is offline   Reply With Quote

Old   September 11, 2016, 17:21
Default
  #7
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
Quote:
Originally Posted by amirhosseintaran View Post
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
I send you a mail. plz read it.
mostanad is offline   Reply With Quote

Old   September 12, 2016, 03:02
Default
  #8
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
not more idea???!!!
mostanad is offline   Reply With Quote

Old   September 12, 2016, 06:46
Default
  #9
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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.
FMDenaro and mostanad like this.
mprinkey is offline   Reply With Quote

Old   September 12, 2016, 14:01
Default thanks to all
  #10
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
Mr mprinkey, FMDenaro and amirhosseintaran
thank to you. finally I learn how to write my Fortran code.
best regards to you.
mostanad is offline   Reply With Quote

Old   September 12, 2016, 16:09
Default
  #11
Member
 
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9
amirhosseintaran is on a distinguished road
Quote:
Originally Posted by mostanad View Post
I send you a mail. plz read it.
hi
i didn't receive any mail !
i've been waiting for your respond !
anyway ,
please send it again or this is my number : +98 911 460 4459

best regards .
amirhosseintaran is offline   Reply With Quote

Old   September 12, 2016, 17:31
Default
  #12
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
Quote:
Originally Posted by amirhosseintaran View Post
hi
i didn't receive any mail !
i've been waiting for your respond !
anyway ,
please send it again or this is my number : +98 911 460 4459

best regards .
Don't be sensitive baradar.
Finally neveshtamesh. Tashakor
mostanad is offline   Reply With Quote

Old   September 13, 2016, 06:37
Default
  #13
Member
 
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9
amirhosseintaran is on a distinguished road
Quote:
Originally Posted by mostanad View Post
Don't be sensitive baradar.

Finally neveshtamesh. Tashakor


Glad to hear that buddy
Eyval (y)
amirhosseintaran 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
[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


All times are GMT -4. The time now is 12:11.