|
[Sponsors] |
November 10, 2021, 13:10 |
GMSH: how to define .msh explicity from .geo
|
#1 |
New Member
Join Date: Nov 2021
Posts: 1
Rep Power: 0 |
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 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. |
|
Tags |
gmsh, meshing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Robin B.C. | Yu | FLUENT | 3 | May 27, 2012 05:19 |
ACCESS VIOLATION | MHDWill | FLUENT | 1 | September 23, 2007 03:51 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 11:19 |