gmshToFoam troubleshooting
Would you mind pointing me in the right direction...
I think the error i am getting may be independent of the mesh. However I have attached the reference anyway(just load the .geo into gmsh and click 1D then 2D for final mesh) The output: .................................................. .................... ... 36038 36039 36040 ) From function HashTable<T, Key, Hash>::operator[](const Key&) const in file /home/eric/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude/HashTableI.H at line 128. FOAM exiting .................................................. .................... P.S. im running Openfoam1.6 (git gcc compiled 12/14/09) on Ubuntu 9.10 Right now i think the error could be due to any of the following; gmshToFoam utility, compiler issues, Ubuntu 9.10 issues, my mesh, my control dic file. If you can knock one or more off the list it would be greatly appreciated. Thanks guys! |
Problem fixed
I have managed to fix my problem. Unfortunatly I am not certian how. I deleted my mesh and started from scratch and what do ya know; it imported perfectly with gmshToFoam and checked out with checkMesh.
I have attached my working .msh file if anyone would like to use it to test their gmshToFoam function. From that point I edited my boundary, v, and U file. The errors are pretty self explanatory at that point. |
1 Attachment(s)
Maybe the file actually uploaded this time... :)
(the mesh file wont upload because it is too big; just open the geo file in gmsh and click Mesh>3D and save the mesh.) it took me quite a while to debug my gmsh-FOAM setup, hope this helps someone (otherwise im just talking to myself in here :) ) cheers! |
Eric,
I am trying your attached file, but something does not work. I can generate the mesh with gmesh, and I save it. When I do gmshToFoam myAirfoil.msh I get following error: Code:
/*---------------------------------------------------------------------------*\ |
All times are GMT -4. The time now is 11:39. |