CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

GMSH: how to define .msh explicity from .geo

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2021, 12:10
Default GMSH: how to define .msh explicity from .geo
  #1
New Member
 
Join Date: Nov 2021
Posts: 1
Rep Power: 0
cmartens is on a distinguished road
I have a piece of python software that generates topological complexes for use in cell method simulations. I can generate triangulations of these complexes in the software, and I would like to export these triangulations to use as meshes for finite element simulations in FEniCS.

The format of the data in the python software (node, edge, face, volume) could be easily exported as a .geo file. This geo file would define all elements that I would like to have in my .msh file, I would not like any additional elements beyond what is defined in the .geo file.

Is there any way that I can have gmsh output a .msh file which includes only the elements defined in my .geo file?

I have included an image of a sample .geo file that would be supplied to gmsh, as well as the corresponding output using the standard
Code:
gmsh -2 filename.geo
command.

geo_file.png
Sample .geo file

msh_file.png
Current .msh file that includes additional undesired elements. How can I get the output .msh to look exactly like the .geo file that I am converting from?

Any help you can offer would be greatly appreciated.
cmartens is offline   Reply With Quote

Reply

Tags
gmsh, meshing


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
Robin B.C. Yu FLUENT 3 May 27, 2012 04:19
ACCESS VIOLATION MHDWill FLUENT 1 September 23, 2007 02:51
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


All times are GMT -4. The time now is 21:01.