Generate and Crop Fibers

버전 1.0.0 (3.04 KB) 작성자: Ayad Al-Rumaithi
Generate random fibers inside a box, then crops the fibers into smaller box
다운로드 수: 16
업데이트 날짜: 2022/12/14

라이선스 보기

Generate randomly oriented fibers inside a box, then crops the fibers into smaller box. Example file is provided.
1-function Fiber=Generate_Fiber(x,y,z,L,N): Generate fibers inside a box
2-function Plot_Fiber(x,y,z,Fiber): Plot fibers
3-function Fiber2=Crop_Fiber(xb,yb,zb,Fiber): Crops the fibers into smaller box
where:
x=[x1 x2]: x boundaries of the box
y=[y1 y2]: y boundaries of the box
z=[z1 z2]: z boundaries of the box
L: Length of fibers
N: Number of fibers
Fiber: (N,6) matrix of fiber coordinates with (:,1), (:,2) and (:,3) are x,y, and z coordinates of one end and (:,4),(:,5) and (:,6) are x,y, and z coordinates of the other end.
xb=[xb1 xb2]: x boundaries of the smaller box
yb=[yb1 yb2]: y boundaries of the smaller box
zb=[zb1 zb2]: z boundaries of the smaller box
Fiber2: (N,6) matrix of cropped fiber coordinates with (:,1), (:,2) and (:,3) are x,y, and z coordinates of one end and (:,4),(:,5) and (:,6) are x,y, and z coordinates of the other end.
references
[1] Fang, Qin, and Jinhua Zhang. "Three-dimensional modelling of steel fiber reinforced concrete material under intense dynamic loading." Construction and Building Materials 44 (2013): 118-132.
[2] Islam, Mohammad, Gregory J. Tudryn, and Catalin R. Picu. "Microstructure modeling of random composites with cylindrical inclusions having high volume fraction and broad aspect ratio distribution." Computational Materials Science 125 (2016): 309-318.

인용 양식

Ayad Al-Rumaithi (2024). Generate and Crop Fibers (https://www.mathworks.com/matlabcentral/fileexchange/122097-generate-and-crop-fibers), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2017b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0