image thumbnail

Generate Thick Fibers

version 1.0.0 (5.53 KB) by Ayad Al-Rumaithi
Generate random fibers taking into account fibers diameters

26 Downloads

Updated 31 May 2021

View License

Generate randomly oriented fibers inside a box with example file. The algorithm takes into account fibers diameters for ovelap checking with other fibers. Example files are provided for the simulation of notched beam "Example_Beam.m" ,cylinder "Example_Cylinder.m", and cube "Example_Cube.m".
[Nodes_Fibers, Fibers]=Generate_Fiber(x,y,z,L,N,DFiber,Orientation,Ndiv);
Plot_Fiber(x,y,z,Nodes_Fibers,Fibers,DFiber);
Input:
x,y,z: as vectors defining the specimen dimension. x and z are vectors defining a polygon section in xz plane and y=[ymin ymax] is boundaries of the extrusion of the polygon
L: Length of fibers
N: Number of fibers
DFiber: Diameter of fibers
Orientation: can be either:-
-For aligned fibers Orientation=[l m n] where l,m, and n are the direction cosines of the fibers orientation in x,y, and z directions, respectively.
- For random fibers Orientation=[] (empty)
Ndiv: Number of fiber mesh divisions
Output:
Nodes_Fibers: ((Ndiv+1)*N,3) matrix of fibers nodes coordinates.
Fibers: (N,2) matrix of the two nodes indices connecting each fiber segment.
references
[1] Unger, Jörg F., and Stefan Eckardt. "Multiscale modeling of concrete." Archives of Computational Methods in Engineering18.3 (2011): 341.
[2] 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.

Cite As

Ayad Al-Rumaithi (2021). Generate Thick Fibers (https://www.mathworks.com/matlabcentral/fileexchange/93250-generate-thick-fibers), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!