Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Creating Trees in Comsol
Posted Jul 19, 2012, 10:42 a.m. EDT Geometry, Mesh Version 5.0 5 Replies
Please login with a confirmed email address before reporting spam
Hi!
I have a funny model I'd like to try to construct: a 3d tree built from interconnected cylinders, say in relation to each other in a given angle or if simpler to imagine - as a fractal or real/biological tree!
A logical way to create this would be:
1) create Cylinder1(x,y,z,axis,length,diameter)
2) create Cylinder2 at the end of Cylinder 1 with some specific orientation
3) interconnect them at their endings so there are no "holes" in the face and the meshing works fine with any angle between them
4) optimally run this in a batch script - without manual editing!
But this doesn't work as there is no "fillet" method for objects in 3D and the intersection between the cylinders always creates problems for the meshing algorithm, which usually brakes at angles different then 90 and 270 degs..
Did someone encounter a similar problem (maybe when modeling connected pipes, or similar..) and could give me a hint how to do this best? I am thankful for any ideas or sources of inspiration :)
Paul
I have a funny model I'd like to try to construct: a 3d tree built from interconnected cylinders, say in relation to each other in a given angle or if simpler to imagine - as a fractal or real/biological tree!
A logical way to create this would be:
1) create Cylinder1(x,y,z,axis,length,diameter)
2) create Cylinder2 at the end of Cylinder 1 with some specific orientation
3) interconnect them at their endings so there are no "holes" in the face and the meshing works fine with any angle between them
4) optimally run this in a batch script - without manual editing!
But this doesn't work as there is no "fillet" method for objects in 3D and the intersection between the cylinders always creates problems for the meshing algorithm, which usually brakes at angles different then 90 and 270 degs..
Did someone encounter a similar problem (maybe when modeling connected pipes, or similar..) and could give me a hint how to do this best? I am thankful for any ideas or sources of inspiration :)
Paul
5 Replies Last Post Feb 18, 2015, 3:27 p.m. EST