A material is defined using material. It consists in a name ( 5 characters), a type and a list of parameters which depends on the type.
elastic material
ma1 = material(name='steel', type='ELAS', density=0.25e+4,
elas='standard', young=0.1e+15, nu=0.2, anisotropy='isotropic')
elastic material
ma1 = material(name='steel', type='ELAS_DILA', density=0.25e+4,
elas='standard', young=0.1e+15, nu=0.2, anisotropy='isotropic',
dilatation=1e-5, T_ref_meca=20. )
visco elastic material
steel = material(name='steel', type='VISCO_ELAS', density=8.93e3,
elas='standard', anisotropy='isotropic', young=1.17e11, nu=0.35,
viscous_model='KelvinVoigt', viscous_young=1.17e9, viscous_nu=0.35)
visco elasto plastic material
steel = material(name='steel', type='ELAS_PLAS', density=8.93e3,
elas='standard', anisotropy='isotropic', young=1.17e11, nu=0.35,
critere='Von-Mises', isoh='linear', iso_hard=4.e8, isoh_coeff=1e8, cinh='none', visc='none')
thermo elastic material
mat = material(name='Steel', type='THERMO_ELAS', density=1.0,
elas='standard', young=0.0, nu=0.0, anisotropy='isotropic', dilatation = 0.0,
T_ref_meca = 0.0, conductivity='field', specific_capacity='field')
poro elastic material
mat = material(name='Steel', type='PORO_ELAS', density=1.0,
elas='standard', young=0.0, nu=0.0, anisotropy='isotropic',
hydro_cpl = 0.0, conductivity='field', specific_capacity='field')
give explicitely the matrices of a 1D element
mat = material(name=mat_name, type='DISCRETE', masses=[0., 0., 0.],
stiffnesses=[kx, ky, kz], viscosities=[0., 0., 0.])
It is possible to give a MatLib material file
acier = material(name='acier', type='USER_MAT', density=0., file_mat='elas.mat')