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

close stl file, inflow calculation, how to generete mesh?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 7, 2011, 19:20
Default close stl file, inflow calculation, how to generete mesh?
  #1
New Member
 
Peter.Zhang
Join Date: Oct 2011
Posts: 2
Rep Power: 0
lixuethermal is on a distinguished road
Hi, I am a new user of OF. Now I want to calculate the blood flow in a part of carotid artery. But I do not know how to generate the mesh.

The stl file of the artery was obtained from CT scan. It was a closed geomerty. So I need to cut the stl file to generate both inlet and outlet planes before meshing. I have tried gmesh, engrid...,but it seems to me that all those softwares can only generate mesh but can not modify the stl file.

If I can divide the stl to 3 parts: wall, inlet, outlet, Gmesh should be able to give me the initial mesh with lables. But so far, I have not found an opensource software that can cut stl files.

I used to use Ansys to calculate the same problem, there was no problem. I transfered icem-cfd mesh to OF, and used OF as a solver, there was no problem either.

Now, I want to find a way to replace ICEM-CFD, and do everything using opensource code. Does anyone have a clue, greatly appreciate.
lixuethermal is offline   Reply With Quote

Old   November 8, 2011, 05:48
Default
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Try Blender. Its a bit of a learning curve, but it has all the required functionality.

Alternatively, you can just stick some separately defined plane geometries between the inlet/outlet faces and the rest of the mesh using the foam native snappyHexMesh tool. Let me know if you need more info on how to do this.
eugene is offline   Reply With Quote

Old   November 9, 2011, 01:37
Default
  #3
New Member
 
Peter.Zhang
Join Date: Oct 2011
Posts: 2
Rep Power: 0
lixuethermal is on a distinguished road
Thanks , you gave me a very improtant clue.

I will try "Blender" first as caelinux has this software installed. Just want to make sure that the purpose of using "Blender" is to cut in/out based on a stl file and output 3 stl files for the mesh generation (gmsh). Is that correct?
lixuethermal is offline   Reply With Quote

Old   November 9, 2011, 07:05
Default
  #4
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Well, we don't use gmsh, we use snappyHexMesh almost exclusively, so I cannot comment on that aspect. For the rest, yes Blender has the capability to do what you want.
eugene is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
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 10:36.