I am trying to pass allocatable arrays declared on the main program to a subroutine and use this data inside the subroutine and then send it back to the main program. How do I declare the arrays inside the subroutine?
I am trying to simulate a fiber pull out test. This is a circular fiber that is partially embeded in a matrix. I want to apply an axial force to pull the fiber out. I have specific behavior of the shear stress vs displacement (nonlinear plot) of the interface between fiber and matrix. how can i...