|April 8, 2014, 18:53||
gmshToFoam creating bad mesh from self-written .msh file
Join Date: Jan 2014
Location: South Florida
Posts: 19Rep Power: 5
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).
and here is an imgur gallery with some relevant screenshots.
|.msh, defaultfaces, gmsh, gmshtofoam, mesh|
|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|