Error trying export gmsh's mesh
Hi everybody!
I tried to export my mesh from Gmsh to OpenFoam with gmshToFoam but an error appeared. In order to learn about Gmsh I built a very simple geometry to try one more time. The error persist. It is this: Create time #0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-1.6/lib /linux64GccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/opt/OpenFOAM/OpenFOAM-1.6/lib /linux64GccDPOpt/libOpenFOAM.so" #2 in "/lib/libc.so.6" #3 in "/opt/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/gmshToFoam" #4 __libc_start_main in "/lib/libc.so.6" #5 at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116 Segmentation fault I created the 0, constant and system folders with their corresponding files. This is my .geo file Point(1) = {0, 0, 0}; Point(2) = {0, 1, 0}; Point(3) = {1, 1, 0}; Point(4) = {1, 0, 0}; Line(1) = {2, 3}; Line(2) = {3, 4}; Line(3) = {4, 1}; Line(4) = {1, 2}; Line Loop(5) = {2, 3, 4, 1}; Plane Surface(6) = {5}; Extrude {0, 0, 1} { Surface{6}; } Physical Surface("entrada") = {28}; Physical Surface("salida") = {6}; Physical Surface("paredes") = {23, 19, 15, 27}; Physical Volume("internalField") = {1}; I did my .msh file using the tool "3D" in the menu "mesh" in Gmsh. Any solutions? Thanks a lot! Dario. |
Hi,
today I've been working on exactly the same thing. I therefore checked your geometry in my test project and it seems to work just fine. I'm using OF 2.1.x (git release) though, so maybe a simple upgrade to a newer OF version will do the trick. Cutter |
All times are GMT -4. The time now is 11:23. |