CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Error using gmshToFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2007, 06:26
Default Error using gmshToFoam
  #1
New Member
 
Giuseppe Noviello
Join Date: Mar 2009
Location: Palese bari
Posts: 19
Rep Power: 17
derath is on a distinguished road
Hi to all,
I'm using the utility gmshToFoam for importing a my mesh in foam but I've this:

Exec : gmshToFoam /home/giuseppe/OpenFOAM/giuseppe-1.4/run/tutorials/turbFoam serra modello.msh
Date : Apr 25 2007
Time : 12:29:14
Host : linux-cplb
PID : 21203
Root : /home/giuseppe/OpenFOAM/giuseppe-1.4/run/tutorials/turbFoam
Case : serra
Nprocs : 1
Create time

#0 Foam::error::printStack
#1 Foam::sigSegv::sigSegvHandler
#2 Uninterpreted: [0xb7fa1420]
#3 main
#4 __libc_start_main
#5 __gxx_personality_v0 at /usr/src/packages/BUILD/glibc-2.3/csu/../sysdeps/i386/elf/start.S:122
Segmentation fault

Someone can help me?
thanks in advantage
derath is offline   Reply With Quote

Old   April 25, 2007, 07:05
Default Hi again, This time I'm not s
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi again,
This time I'm not so sure but if you are running gmshToFoam from FoamX the safest way to specify the .msh file is to use the full path, for example
/home/giuseppe/OpenFOAM/giuseppe-1.4/run/tutorials/turbFoam/serra/modello.msh
(or something like that).

If you're running from the command line check if the modello.msh file is surely in the current directory.

Takuya
7islands is offline   Reply With Quote

Old   April 25, 2007, 15:51
Default Hi, Maybe you should post t
  #3
Senior Member
 
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17
billy is on a distinguished road
Hi,

Maybe you should post the msh file.
billy is offline   Reply With Quote

Old   May 2, 2016, 08:37
Default
  #4
New Member
 
Martin Silkens
Join Date: Apr 2016
Posts: 10
Rep Power: 10
ms411 is on a distinguished road
Hello,

I had the same problem, you have to copy and save all relevant folders of the constant folder. After it you have to remove the constant folder. The *.msh file should be in the same folder like 0 and system folder. Then you can execute gmshToFoam command. Then a new constant folder blows up and you have to paste all relevant files into the new constant folder.

Done!

Best,

Martin

Last edited by ms411; May 2, 2016 at 10:03.
ms411 is offline   Reply With Quote

Reply


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
[Gmsh] New version of gmshToFoam? stootoon OpenFOAM Meshing & Mesh Conversion 7 February 14, 2022 09:01
[Gmsh] gmshToFoam problem. nilashansen OpenFOAM Meshing & Mesh Conversion 11 June 5, 2016 10:45
[Gmsh] Cell to node connectivity after 'gmshToFoam' Jibran OpenFOAM Meshing & Mesh Conversion 1 June 8, 2015 09:09
[Gmsh] gmshTofoam pbm with cyclicAMI acahuzac OpenFOAM Meshing & Mesh Conversion 2 October 20, 2014 03:53
[Gmsh] gmshToFoam command mvinassa OpenFOAM Meshing & Mesh Conversion 1 April 25, 2014 07:36


All times are GMT -4. The time now is 10:56.