|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Peter.Zhang
Join Date: Oct 2011
Posts: 2
Rep Power: 0 ![]() |
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. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 724
Rep Power: 10 ![]() |
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. |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Peter.Zhang
Join Date: Oct 2011
Posts: 2
Rep Power: 0 ![]() |
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? |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 724
Rep Power: 10 ![]() |
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.
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 121 | March 7, 2013 17:21 |
| 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 |