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

converting tetgenToFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2011, 12:54
Default converting tetgenToFoam
  #1
New Member
 
vahid
Join Date: Nov 2011
Posts: 2
Rep Power: 0
vahid_paris is on a distinguished road
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
vahid_paris is offline   Reply With Quote

Old   December 4, 2012, 12:42
Default
  #2
New Member
 
Deutschland
Join Date: Nov 2012
Posts: 1
Rep Power: 0
Flexwars is on a distinguished road
Hey Vahid,
i have the exact same problem. Did you find a solution yet?
Hopfully, its quite a long time ago

Thx
Felix
Flexwars 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
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


All times are GMT -4. The time now is 01:03.