|
[Sponsors] |
June 29, 2016, 17:41 |
gmshToFoam error
|
#1 |
New Member
Afshin Bakhshi
Join Date: Mar 2014
Posts: 13
Rep Power: 12 |
Hi
I'm trying to mesh a sphere with hexahedron grids. I used a Gmsh code found in this forum to do so. using gmshToFoam to convert the mesh gives me this error: Code:
--> FOAM FATAL IO ERROR: wrong token type - expected word, found on line 0 the label 1 file: IStringStream.sourceFile at line 0. From function operator>>(Istream&, word&) in file primitives/strings/word/wordIO.C at line 74. FOAM exiting you can find the mesh file in attachment. (I had to remove some lines some where in the middle of .msh file to keep it under 195kB for the attachment limit) |
|
June 29, 2016, 18:00 |
|
#2 |
Senior Member
|
Hi,
Since error is caused by your original file, there is no use in the file with "some lines some where in the middle" of the file. Please post your original file. And since your untitled.msh is something LEGALLY generated by LEGALLY acquired Gmsh, you can try to use, for example, Dropbox to host your file. UPD. Anyway, you are generating this msh file from geo file, post your geo file. It is weights much less than msh. |
|
June 30, 2016, 06:49 |
|
#3 |
New Member
Afshin Bakhshi
Join Date: Mar 2014
Posts: 13
Rep Power: 12 |
this is the original file.
https://www.dropbox.com/s/n2xn2pyspt...itled.msh?dl=0 |
|
June 30, 2016, 07:10 |
|
#4 |
Senior Member
|
And where is the header of the file? In general Gmsh file starts with:
Code:
$MeshFormat 2.2 0 8 $EndMeshFormat $Nodes <number of nodes in the file> ... |
|
June 30, 2016, 11:08 |
|
#5 |
New Member
Afshin Bakhshi
Join Date: Mar 2014
Posts: 13
Rep Power: 12 |
||
October 10, 2019, 14:21 |
command not found
|
#6 |
New Member
Marina
Join Date: Sep 2019
Posts: 6
Rep Power: 6 |
Hi,
How can I solve the next problem with gmsh: gmshToFoam command not found |
|
November 27, 2019, 08:50 |
gmshToFoam error
|
#7 |
New Member
Naveen Crasta
Join Date: Nov 2019
Location: Sweden
Posts: 1
Rep Power: 0 |
Hi foamers,
I also get the following error with gmshToFom command. What could be the possible reasons? Thanks, Naveen // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::UPtrList<Foam:olyPatch>:perator[](int) const in "/opt/openfoam-dev/platforms/linux64GccDPInt32Opt/bin/gmshToFoam" #4 ? in "/opt/openfoam-dev/platforms/linux64GccDPInt32Opt/bin/gmshToFoam" #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #6 ? in "/opt/openfoam-dev/platforms/linux64GccDPInt32Opt/bin/gmshToFoam" Segmentation fault (core dumped) |
|
|
|
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 |