|
[Sponsors] |
January 24, 2017, 07:51 |
gmshToFoam error
|
#1 |
New Member
Mihai
Join Date: Jan 2017
Posts: 1
Rep Power: 0 |
Hi, I am new to OpenFoam, I am trying to import a .msh generated in gmsh as in the tutorials below:
https://www.youtube.com/watch?v=1A-b84kloFs https://www.youtube.com/watch?v=aIvDtyAYnI8 In gmsh everything is ok (same as in tutorials), but when I try to import the msh file into OpenFoam using gmshToFoam, I get the following error: (any help is appreciated, thx!) #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #1 Foam::sigSegv::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #2 ? in "/lib64/libc.so.6" #3 Foam::UPtrList<Foam:olyPatch>:perator[](int) const in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/bin/gmshToFoam" #4 ? in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/bin/gmshToFoam" #5 __libc_start_main in "/lib64/libc.so.6" #6 ? in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/bin/gmshToFoam" Segmentation fault (core dumped) |
|
February 1, 2017, 19:18 |
|
#2 |
Member
Declan
Join Date: Oct 2016
Location: Ireland
Posts: 40
Rep Power: 9 |
Hi Mihai,
What are you typing into the terminal exactly? And what is the location of your .msh files in relation to your case directories? The command should read something like: Code:
gmshToFoam yourMesh.msh -case yourCase |
|
January 29, 2018, 04:48 |
|
#3 | |
New Member
Nick
Join Date: Dec 2017
Location: UK
Posts: 7
Rep Power: 8 |
Hi Everyone,
I'm facing a similar problem! The thing is that gmsh generates a 3Dmesh on its interface but when I save it to a.msh file something goes wrong. This is the error I'm getting: Quote:
|
||
January 29, 2018, 05:05 |
|
#4 |
New Member
Nick
Join Date: Dec 2017
Location: UK
Posts: 7
Rep Power: 8 |
Figured out my silly mistake.
I just had to define a Physical Volume for my 3d mesh as follows: Physical Volume("fluid")={all individually defined,..., .... , ....., volumes}; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 06:35 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 20:30 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |