Matlab Codes

This page contains the matlab files for all the matlab codes used in the book. They are listed chapter wise:
DISCLAIMER: The aim of this set of MATLAB codes is to inspire you to write your own (presumably better) code to suit your purpose. We are educators and not code writers for software companies: We make NO claims as to the accuracy of the codes or their efficiency

Chapter 2

Solving a spring mass system - page 86

Chapter 3
One-dimensional stress control page 109,117 & 118

One-dimensional strain control - page 118

Chapter 4
Pure Bending condition - page 142
Bending with Axial confinement - page 152

Chapter 5
SMA brace system model simulation - page 171

Chapter 6
Think walled tube subjected to uniaxial extension, to uniaxial strain cycling and to tension-torsion cyclic loading - page 201 and 208
Please use data from oneD stress control code for use in these examples.

Chapter 7
It is important first to learn to use the pdeTool available in MATLAB.
Main file for the FEM program:Please go through this matlab code to learn how to use the pdeTool
Plate with a long hole example - page 233
Plate with a square hole example - page 233

Chapter 8
Simulating different phenomena such as shakedown, ratchetting, etc. - pages 259-260
Please use data from oneD stress control code for use in these examples.

Chapter 10
The Convex cutting plane algorithm - page 345

Chapter 11
Polar decomposition - page 368

Chapter 12
Finite deformation example: Simple shear using the neo-Prandtl-Hencky plasticity model together with the von Mises yield function - page 441

Chapter 13
Stereographic projections- page 481

A single crystal under isochoric extension p490

Chapter 14
VUMAT code for ECAE- page 508

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License