CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

gmshToFoam creating bad mesh from self-written .msh file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 8, 2014, 18:53
Question gmshToFoam creating bad mesh from self-written .msh file
  #1
New Member
 
CoolHand's Avatar
 
Ben
Join Date: Jan 2014
Location: South Florida
Posts: 19
Rep Power: 4
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).

https://drive.google.com/a/fau.edu/#folders /0B4WyR3TZFuZkYnFEdG5STkdCMjA

and here is an imgur gallery with some relevant screenshots.

http://imgur.com/a/FmtUn
CoolHand is offline   Reply With Quote

Reply

Tags
.msh, defaultfaces, gmsh, gmshtofoam, mesh

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Installation for navalFoam sachinlb OpenFOAM Installation 21 June 23, 2014 08:07
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


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