필터 지우기
필터 지우기

generating randomly oriented non-intersecting cylinders in a unit cell

조회 수: 4 (최근 30일)
Tyler
Tyler 2014년 2월 10일
편집: David Goodmanson 2022년 11월 29일
Hi all,
Im trying to think of a way of generating non-intersecting randomly oriented cylinders within a unit cell volume for micromechanical analysis.
Several research papers suggest a monte-carlo approach was used by displacing cylinders by vectors until the "condition was satisfied" - the condition is never stated.
My initial thought was to treat each cylinder as a line segment, and calculate the minimum distance between line segments, if that distance is > twice the radius of the cylinder, then they should not intersect. However, this also means that co-linear cylinders cannot be closer than twice the radius axially, which is not necessarily a condition i would like to impose.
Anyone have any thoughts on this?
  댓글 수: 3
Jan
Jan 2022년 11월 29일
@Sam Bottum: I do not understand the original question. If the cylinders cannot intersect, 2 parallel cylinders must have a distance of the double radius. Whay is this condition not necessary?
Please open a new question and post, what you exactly need.
David Goodmanson
David Goodmanson 2022년 11월 29일
편집: David Goodmanson 2022년 11월 29일
The idea may well be that the cylinders have finite length, and for the simplest case of coaxial cylinders, if their spacing along the axis is large enough they will not intersect.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Vector Volume Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by