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

Convert msh format 2.2 to 4.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2020, 23:33
Default Convert msh format 2.2 to 4.1
  #1
Sep
New Member
 
Sepehr
Join Date: Jul 2020
Posts: 2
Rep Power: 0
Sep is on a distinguished road
Hello,

I am currently working with Dealii for a project. Currently, Dealii can only read .msh files of legacy 2 format (2.2). I am trying to update the source code for it to be able to read the new MSH format (4.1)

I was wondering if this has been done before?

Thank you for your time!
Sep is offline   Reply With Quote

Old   July 6, 2020, 16:44
Default
  #2
Senior Member
 
Join Date: Oct 2011
Posts: 242
Rep Power: 17
naffrancois is on a distinguished road
Hello,

Have you read gmsh documentation ? File format specification is well detailed.

https://gmsh.info/doc/texinfo/gmsh.html#File-formats

Nevertheless, you can still export your mesh files to legacy v2 format from the latest gmsh versions, is there a specific feature you need from v4 format ?
naffrancois is offline   Reply With Quote

Old   July 6, 2020, 18:51
Default
  #3
Sep
New Member
 
Sepehr
Join Date: Jul 2020
Posts: 2
Rep Power: 0
Sep is on a distinguished road
Hello!

Thank you for your reply!

So I am aware that gmsh is able to generate various versions of .msh file from a .geo file.

What I am trying to do is write a code that can read a version 4.1 .msh file and extract the information needed to make a version 2.2 .msh file. I was wondering if this had been done before!

Thank you for your time
Sep is offline   Reply With Quote

Reply

Tags
gmsh msh format converter


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
How to convert the CAD file to FDS format? PIN Main CFD Forum 6 November 9, 2015 02:54
[Commercial meshers] Problem with Mesh conversion Gambit msh Foam Rachid BANNARI (Bannari) OpenFOAM Meshing & Mesh Conversion 25 September 11, 2011 08:58
Convert a msh file into a ASCII file antonio ANSYS Meshing & Geometry 4 March 15, 2010 14:34
OpenFOAM native format data visualization and workflow zeliboba OpenFOAM Post-Processing 0 September 12, 2008 09:44
Convert FLUENT mesh to some other format for STAR? Jiaying Xu FLUENT 3 December 5, 2002 09:15


All times are GMT -4. The time now is 18:36.