# MultiMohrCoulomb

Define a Multi Mohr-Coulomb material.

# Parameters

name : str
String naming the material.
color : Color
Material appearance. color= rgb(27,152,86)
drainage : str
Material drainage type. drainage = 'drained_undrained', 'always_drained', 'non_porous'
cavitation_cutoff : str
cavitation_cutoff = 'no' or 'yes'
pcav : float
Cavitation pressure in kPa.
E : float
Young's Modulus, in MPa.
nu : float
Poisson's ratio.
no_surfaces : int
Number of surfaces up to 5.
c1 : float
Cohesion for the first surface.
phi1 : float
Friction angle in degrees for the first surface.
c2 : float
Cohesion for the second surface.
phi2 : float
Friction angle in degrees for the second surface.
c3 : float
Cohesion for the third surface.
phi3 : float
Friction angle in degrees for the third surface.
c4 : float
Cohesion for the fourth surface.
phi4 : float
Friction angle in degrees for the fourth surface.
c5 : float
Cohesion for the fifth surface.
phi5 : float
Friction angle in degrees for the fifth surface.
gamma_dry : float
Dry unit weight in kN/m^3
gamma_sat : float
Saturated unit weight in kN/m^3
tension_cutoff : str
Apply tension cutoff. tension_cutoff = 'yes' or 'no'
sigma_t : float
Tensile cutoff stress, in kPa.
K0 : float
Earth pressure coefficient at rest.
hydraulic_conductivity_option : str
hydraulic_conductivity_option = 'isotropic' or 'anisotropic'
K : float
Hydraulic conductivity, in m/day.
Kx : float
Hydraulic conductivity in x, in m/day.
Ky : float
Hydraulic conductivity in y, in m/day.
Kz : float
Hydraulic conductivity in z, in m/day.
hydraulic_model : str
hydraulic_model = 'basic' or 'van_genuchten'
e : float
Void ratio.
alpha : float
Model parameter related to the air entry pressure.
n : float
Model parameter related to the rate at which water is extracted from the soil once the air entry pressure has been exceeded.
Sr : float
Residual degree of saturation (may be slightly greater than 0).
Ss : float
Fraction of water filled pores at full saturation (may be slightly less than 1).
reducible_strength : str
Apply reducible strength. reducible_strength = 'yes' or 'no'

# Examples

i = 11
model2d.add_rectangle([i,0],[i+1,2])
Face = model2d.select(p0=[i+0.5,1],types='face')
MMCMaterial = prj.MultiMohrCoulomb(name='MMCMaterial',
color= rgb(27,152,86),
drainage = 'drained_undrained',
cavitation_cutoff = True,
pcav = 100,
E= 30,
nu= 0.25,
no_surfaces=2,
c1= 5,
phi1= 35,
c2= 15,
phi2=25,
c3=25,
phi3=20,
c4=40,
phi4=15,
c5=60,
phi5=10,
gamma_dry= 18,
gamma_sat= 20,
tension_cutoff= True,
sigma_t=0,
K0=0.001,
hydraulic_conductivity_option= 'anisotropic',
K=0.001,
Kx=0.001,
Ky=0.001,
Kz=0.001,
hydraulic_model='van_genuchten',
e=1,
alpha=2,
n=2,
Sr=0,
Ss=1,
reducible_strength='yes',
)
model2d.set_solid(shapes=Face,material=MMCMaterial)