CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Suggestion for mesh generation: File containing ALL nodes to OF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2018, 16:26
Question Suggestion for mesh generation: File containing ALL nodes to OF
  #1
New Member
 
AnthonyP's Avatar
 
Tony
Join Date: May 2016
Posts: 22
Rep Power: 10
AnthonyP is on a distinguished road
Hi Everyone,

I am currently working on replicating a 2D structured mesh. I contacted the author and received a file containing all nodal values of the mesh to be replicated.

I was wondering if anyone had any recommendations on how to generate a mesh from nodal values.

At this time, I am trying GMSH and working on a script to generate the geo file. I do not see why this shouldn't work, but I was wondering if anyone had other alternatives.

Last edited by AnthonyP; February 20, 2018 at 22:43.
AnthonyP is offline   Reply With Quote

Old   February 20, 2018, 22:40
Smile Working solution
  #2
New Member
 
AnthonyP's Avatar
 
Tony
Join Date: May 2016
Posts: 22
Rep Power: 10
AnthonyP is on a distinguished road
For those who are interested, I was unable to perform the task using GMSH (although it grants a nice degree of control). After inputing the nodes and connecting them, it was no longer able to render (the extrusion step).

My working solution was to use M4 to create my BlockMeshDict. I created a individual block for every cell. With close to 20k cells (blocks), M4 greatly relieves the issues of managing the node locations for the creation of blocks and boundaries. Just make sure you have an organized way to go though the nodes.

Good luck foamers.
AnthonyP is offline   Reply With Quote

Reply

Tags
convert mesh, converter to openfoam, file writing, meshing 2d, structured grid


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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 22:03
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18


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