Generate Fiber

Generate random fibers inside a box
519 Downloads
Updated 20 Aug 2022

View License

Generate randomly oriented fibers inside a box with example file.
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
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.
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.

Cite As

Ayad Al-Rumaithi (2024). Generate Fiber (https://www.mathworks.com/matlabcentral/fileexchange/73392-generate-fiber), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Thermal Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.3

references

1.0.2

modified angle

1.0.1

Description

1.0.0