# HardeningSoil

Define a Hardeing Soil material.

# Parameters

name : str
String naming the material.
color : Color
Material appearance. color= Color(r=79,g=180,b=63)
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.
E50_ref : float
Reference secant modulus based on triaxial failure, in MPa.
Eur_ref : float
Reference unloading-reloading modulus, in MPa.
nu : float
Poisson's ratio.
c : float
Cohesion in kPa.
phi : float
Friction angle in degrees
flow_rule : str
flow_rule = 'associated' or 'nonassociated'
psi : float
Dilation angle
dilation_cap : str
dilation_cap = 'no', 'volumetric', 'deviatoric'
ev_cr : float
Critical volumetric strain
es_cr : float
Critical shear strain
pressure_dependence : str
Type of pressure dependence. pressure_dependence = 'sigma3', 'p', 'p_minus_q3'
pref : float
Reference pressure in kPa
m : float
Model fitting parameter. Generally: 0.5 < m < 1
Ru : float
Failure ratio.
E0_ref : float
Small strain reference modulus, in MPa.
gamma_07 : float
Shear strain relating small strain modulus and secant modulus.
Eoed_ref : float
Reference oedometer modulus.
M : float
Internal material parameter for cap.
gamma_dry : float
Dry unit weight in kN/m^3
gamma_sat : float
Saturated unit weight in kN/m^3
tension_cutoff : boolean
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).

# Examples

i = 3
model2d.add_rectangle([i,0],[i+1,2])
Face = model2d.select(p0=[i+0.5,1],types='face')
HardeningSoilMaterial = prj.HardeningSoil(name='HardeningSoilMaterial',
color= Color(r=180,g=181,b=92),
drainage = 'drained_undrained',
cavitation_cutoff = 'yes',
pcav = 100,
e50_ref = 30,
eur_ref= 100,
nu = 0.2,
c = 0,
phi = 35,
flow_rule= 'rowe',
psi=35,
dilation_cap= 'volumetric',
ev_cr= 0.01,
es_cr= 0.01,
pressure_dependence='sigma3',
pref=100,
m = 0.5,
Ru=0.9,
E0_ref= 250,
gamma_07= 0.0001,
Eoed_ref=30,
M=1.5,
gamma_dry= 18,
gamma_sat= 20,
tension_cutoff= 'yes',
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,
)
model2d.set_solid(shapes=Face,material=HardeningSoilMaterial)