|
[Sponsors] |
November 7, 2011, 12:54 |
converting tetgenToFoam
|
#1 |
New Member
vahid
Join Date: Nov 2011
Posts: 2
Rep Power: 0 |
Hi everybody,
I want to convert .stl (test.stl) file to openFoam. First, I used tetgen to convert .stl file to (.ele, .face, .node and .smesh) with the common order: ./tetgen test.stl And then, I used the following command to convert tetgen files (test.1.ele, test.1.node, test.1.face and test.1.smesh) to Foam: tetgenToFoam test.1 But, and I have the following error: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-51f1de99a4bc Exec : tetgenToFoam test.1 Date : Nov 07 2011 Time : 17:29:05 Host : ST2016X PID : 21807 Case : /home/simuser/TEST/tutorials/incompressible/channelFoam/channel395 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Files: nodes : "test.1.node" elems : "test.1.ele" faces : "test.1.face" Reading .face file for boundary information --> FOAM FATAL ERROR: Cannot read "test.1.node" or "test.1.ele" From function tetgenToFoam in file tetgenToFoam.C at line 136. FOAM exiting any idea? Actually, I used an example in the tutorial and I just replaced blockMeshDict file in polyMesh folder with test.stl file (wich has a different geometry). I just wanted to check the mesh conversion (from .stl to openFoam). Should I change any other files in channel395 folder? Thanks |
|
December 4, 2012, 12:42 |
|
#2 |
New Member
Deutschland
Join Date: Nov 2012
Posts: 1
Rep Power: 0 |
Hey Vahid,
i have the exact same problem. Did you find a solution yet? Hopfully, its quite a long time ago Thx Felix |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent converting 'wall' to 'interior' BC for hybrid mesh | DarrenC | FLUENT | 8 | January 3, 2019 07:24 |
[Commercial meshers] problem in converting mesh from fluent | kiran | OpenFOAM Meshing & Mesh Conversion | 1 | November 2, 2010 17:25 |
converting user-coding in V4 | Karl Mehler | Siemens | 0 | September 28, 2008 16:48 |
TetgenToFoam | karen | OpenFOAM Bugs | 2 | August 6, 2008 12:27 |
Converting ANSYS CFX files to Fluent files | Martin S. Rasmussen | FLUENT | 3 | January 30, 2007 16:08 |