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

[mesh manipulation] Cant fluent(3D)MeshToFoam msh file...

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2019, 10:14
Default Cant fluent(3D)MeshToFoam msh file...
  #1
New Member
 
Dimitris Voulgarakis
Join Date: Nov 2018
Posts: 2
Rep Power: 0
JimVoul is on a distinguished road
Hello everyone,

I am new to OpenFOAM and while i have tried and worked several tutorials, when i come to do the same with my own files, i cant. I have tried a case with HELYX-OS and i know my stl files are good to go... but when i am trying with OpenFOAM on terminal i have issues when i am running fluent3DMeshToFoam ***.msh. For some reason, while it reads that my case is 3D, however it stops there and doesnt read cells, points or faces, etc. I get a very similar situation when i also run fluentMeshToFoam command.

Here is the output when i try to convert my mesh to OF.


Build : 7-6ef561967074 Exec : fluent3DMeshToFoam aneurism.msh Date : Oct 22 2019 Time : 16:46:43 Host : "LAPTOP-QC8BRKEQ" PID : 340 I/O : uncollated Case : /home/eleos/OpenFOAM/eleos-7/run/tutorials/incompressible/icoFoam/aneurism nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Dimension of grid: 3 Number of points: 0 Number of cells: 0 Number of faces: 0 PointGroup: 1 start: 0 end: -1. Reading points...done. FaceGroup: 2 start: 0 end: -1. Reading mixed faces...done. CellGroup: 1 start: 0 end: -1 type: 1 Zone: 1 name: fluid-1 type: fluid. Reading zone data...done. Zone: 2 name: interior-1 type: interior. Reading zone data...done. FINISHED LEXING #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/fluent3DMeshToFoam" #4 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #5 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/fluent3DMeshToFoam" Segmentation fault (core dumped)


I would like to say here that i had 3 different stl files, where i combined them to one with linux commands since i saw that in a video tutorial. Maybe that s the issue? Thing is that once i ran one of the above commands i got a folder "fluentInterface" where when i nano my file.msh (my .stl file turned to .msh in that folder) i get the following output:


(0 "FOAM to Fluent Mesh File") (0 "Dimension:") (2 3) (0 "Grid dimensions:") (10 (0 1 0 0 3)) (12 (0 1 0 0 0)) (13 (0 1 0 0 0)) (10 (1 1 0 1 3) ( )) (13 (2 1 0 2 0) ( )) (12 (1 1 0 1 0)( )()) (39 (1 fluid fluid-1)()) (39 (2 interior interior-1)())


I spent so many days trying to figure what s wrong with my issue, but i wasnt able to get anything... Any help is so appreciated.
Finally, i would like to share a screenshot of my stl file just in case there is an issue too. It contains 13 million lines so maybe that s an issue... but i am saying again that in HELYX-OS i was able to run all the 3 separated stl files (of the patches of my case) without an issue. (2 of them were small anyway with the input and output patches and the wall was the bigger one)


solid STL generated by MeshLab facet normal 7.946956e-01 5.455442e-01 -2.661588e-01 outer loop vertex 4.488090e-01 5.023510e+00 1.442500e-02 vertex 4.484240e-01 5.020360e+00 6.819000e-03 vertex 4.466190e-01 5.024440e+00 9.792000e-03 endloop endfacet facet normal 1.099090e-01 9.874510e-01 -1.134050e-01 outer loop vertex 4.488090e-01 5.023510e+00 1.442500e-02 vertex 4.438380e-01 5.024410e+00 1.744200e-02 vertex 4.487330e-01 5.024240e+00 2.070800e-02 endloop endfacet facet normal 2.309115e-02 9.996409e-01 -1.359923e-02 outer loop vertex 4.483280e-01 5.024340e+00 2.738100e-02 vertex 4.487330e-01 5.024240e+00 2.070800e-02 vertex 4.434060e-01 5.024410e+00 2.414100e-02 endloop endfacet facet normal 9.415988e-01 2.758170e-01 1.931751e-01 outer loop vertex 4.484240e-01 5.020360e+00 6.819000e-03 vertex 4.480220e-01 5.024450e+00 2.939000e-03 vertex 4.466190e-01 5.024440e+00 9.792000e-03 endloop endfacet facet normal 2.281890e-01 9.697434e-01 8.676159e-02 outer loop vertex 4.488090e-01 5.023510e+00 1.442500e-02 vertex 4.466190e-01 5.024440e+00 9.792000e-03 vertex 4.438380e-01 5.024410e+00 1.744200e-02 endloop endfacet facet normal 3.323000e-02 9.994455e-01 2.142982e-03 outer loop vertex 4.438380e-01 5.024410e+00 1.744200e-02 vertex 4.434060e-01 5.024410e+00 2.414100e-02 vertex 4.487330e-01 5.024240e+00 2.070800e-02 [ Read 13313810 lines ]
JimVoul is offline   Reply With Quote

Old   October 23, 2019, 03:05
Default FluentMeshToFoam
  #2
New Member
 
Bill
Join Date: Jun 2019
Posts: 29
Rep Power: 6
OPFO is on a distinguished road
Hi there,

I'm also pretty new at this, but somethings that I tried might help:

- I combined my individual part/stl files in ANSYS DM / Spaceclaim to one individual "part" then ran my mesh on that geometry.
- Is your .msh file exported in ASCII format? The default is binary

I hope that helps!

Cheers!
OPFO 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
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 09:05.