BEng, MEng, MSc, PhD

Please find below a description of some of the codes that I have developed during my research. In some cases the source code is also provided. Please remember to cite the corresponding paper(s) if you use any of these codes for research or industrial purposes. Do not hesitate to contact me if you have any further doubts.

Codes

 

MATLAB SCRIPT FOR HYDROGEN ASSISTED CRACKING PREDICTIONS

Matlab script to predict the variation with the applied potential of the cracking threshold and the stage II crack growth rate. The model builds on Gerberich’s decohesion dislocation-based model, strain gradient plasticity and advanced electrochemistry. See details in the associated paper.

 

Paper: E. Martínez-Pañeda, C.F. Niordson, R.P. Gangloff. Strain gradient plasticity-based modeling of hydrogen environment assisted cracking. Acta Materialia, 105: 9-16 (2017)

 

Download code (.zip file)

ABAQUS2MATLAB: A SUITABLE TOOL FOR FINITE ELEMENT POST-PROCESSING

A toolbox to connect Abaqus and Matlab, enabling the usage of the statistical analysis, image processing, integrated graph-plotting and mathematical optimization capabilities of Matlab to post-process the outcome of advanced finite element calculations. See www.abaqus2matlab.com

 

Paper: G. Papazafeiropoulos, M. Muñiz-Calvente, E. Martínez-Pañeda. Abaqus2Matlab: a suitable tool for finite element post-processing. Advances in Engineering Software, 105: 9-16 (2017)

 

Download code (.zip file)

ABAQUS USDLFD SUBROUTINE FOR FUNCTIONALLY GRADED ELEMENTS

ABAQUS USDFLD Subroutine for the implementation of a continuous variation of the material elastic properties between integration points.

 

Paper: E. Martínez-Pañeda and R. Gallego. Numerical analysis of quasi-static fracture in functionally graded materials. International Journal of Mechanics and Materials in Design, 11: 405-424 (2015)

 

Download code (.zip file)

NON-LINEAR X-FEM CODE FOR MSG PLASTICITY

Non-linear eXtendend Finite Element code developed in MATLAB including the following material models: linear elasticity, von Mises plasticity and conventional mechanism-based strain gradient (CMSG) plasticity. Particularly appealing to capture the singularity intrinsic to MSG plasticity.

 

Paper: E. Martínez-Pañeda, S. Natarajan, S. Bordas. Gradient plasticity crack tip characterization by means of the extended finite element method. Computational Mechanics, 59: 831-842 (2017)

 

Download code (.zip file)

FORTRAN CODE FOR DISTORTION GRADIENT PLASTICITY

Finite Element implementation of Gurtin (2004) Distortion Gradient Plasticity (DGP) theory by following and extending the Minimum Principles established by Fleck and Willis (2009). Code developed entirely in Fortran.

 

Paper: E. Martínez-Pañeda, C.F. Niordson, L. Bardella. A finite element framework for distortion gradient plasticity with applications to bending of thin foils. International Journal of Solids and Structures, 96: 288-299 (2016)

ABAQUS UEL SUBROUTINE FOR COHESIVE ELEMENTS

ABAQUS user-element subroutine (UEL) with a cohesive zone formulation. Includes the dependence of the cohesive strength on the total hydrogen concentration and the effect of cyclic loading.

 

Paper: S. del Busto, C. Betegón, E. Martínez-Pañeda. A cohesive zone framework for environmentally assisted fatigue. Engineering Fracture Mechanics (in press)

 

[Improving readability, code to be released soon]

ABAQUS UMAT SUBROUTINE FOR CMSG PLASTICITY

ABAQUS User Material (UMAT) subroutine with the constitutive formulation of the conventional mechanism-based strain gradient (CMSG) plasticity theory.

 

Paper: E. Martínez-Pañeda and C. Betegón. Modeling damage and fracture within strain-gradient plasticity. International Journal of Solids and Structures, 59 (2015), 208-215.

 

Download code (.zip file)