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

[CAD formats] close stl file, inflow calculation, how to generete mesh?

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 21
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: 21
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59


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