CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] gmshToFoam creating bad mesh from self-written .msh file

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2014, 18:53
Question gmshToFoam creating bad mesh from self-written .msh file
New Member
Join Date: Jan 2014
Location: South Florida
Posts: 20
Rep Power: 12
CoolHand is on a distinguished road
So, I wrote a MatLab code that generates a .msh file from a list of points. It worked perfectly until I tried to add a refined area to the grid. The boundary of the refined region is behaving as if it is a wall when there should be no boundary at all (see screen shots). There are no apparent differences in the .msh files however, running gmshToFoam generates errors and allocates cells to a defaultFaces patch. It's a simpleFoam simulation and I realize that the grid is far too coarse but that shouldn't have anything to do with the current problem.

Any ideas why this might be happening? I'm sure it has something to do with the errors that gmshToFoam reports but I'm not sure exactly what they mean.

Here is a Google Drive that includes the case files and the .msh file (matlabMesh.msh). /0B4WyR3TZFuZkYnFEdG5STkdCMjA

and here is an imgur gallery with some relevant screenshots.
CoolHand is offline   Reply With Quote


.msh, defaultfaces, gmsh, gmshtofoam, mesh

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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55

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