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

Can't convert my mesh created in Gmsh to OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2018, 05:28
Post Can't convert my mesh created in Gmsh to OpenFOAM
  #1
New Member
 
Crystal
Join Date: Apr 2018
Posts: 1
Rep Power: 0
Crystal 95 is on a distinguished road
Hi everyone!

My name is Crystal and I have an issue in converting the mesh that I created in Gmsh to OpenFoam.

I have tried using th commands "gmshToFoam Part2.msh" and also "fluentMeshToFoam Part2.msh" but they keep saying error.

I'm currently using Gmsh version 2.11.0 (64bit Linux) and OpenFOAM-in-Box-18.02.

I'm open to any suggestions or solutions so please feel free to help me out or ask me any questions for any clarification.

Here are the attached file:
Attached Files
File Type: zip Part2.zip (138.6 KB, 1 views)
Crystal 95 is offline   Reply With Quote

Old   May 2, 2018, 11:42
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
Can you post the error (or the full case, and not just the .msh file)? I've used gmshToFoam recently for OF4x and gmsh2.12 and it worked fine. The key is to check the boundaries in constant/polyMesh/boundaries to make sure that they're correct -- if I recall correctly they were all changed to "patch" type by the converter.

Caelan
clapointe is offline   Reply With Quote

Reply

Tags
gmsh to openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
[Other] how to convert a mesh drawn in matlab to a format which can be used in OpenFOAM jali OpenFOAM Meshing & Mesh Conversion 3 July 19, 2017 21:16
Importing Mesh from GMsh to OpenFoam bmaldi OpenFOAM Running, Solving & CFD 1 May 4, 2016 12:57
[Other] Error while tring to convert mesh generated in salome to openfoam Arjun Jayakumar OpenFOAM Meshing & Mesh Conversion 0 October 10, 2014 09:46
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11


All times are GMT -4. The time now is 08:00.