this implements the power law for a composition of a set of materials
where the viscosity eta of each material is given by a power law
relationship of the form
where tau is equivalent stress and eta_N, tau_t and power are given
constant. Moreover an elastic component can be considered. Moreover tau
meets the Drucker-Prager type yield condition
where gamma_dot is the equivalent.
|
__init__(self,
numMaterials=1,
verbose=False)
initializes a power law |
|
|
|
|
|
getEtaEff(self,
gamma_dot,
eta0=None,
pressure=None,
dt=None,
iter_max=30)
returns the effective viscosity eta_eff such that |
|
|
|
getEtaN(self,
id=None)
returns the viscosity |
|
|
|
getEtaTolerance(self)
returns the relative tolerance for the effectice viscosity. |
|
|
|
|
int
|
|
|
getPower(self,
id=None)
returns the power in the power law |
|
|
|
getTauT(self,
id=None)
returns the transition stress |
|
|
|
getTauY(self)
returns the yield stress |
|
|
|
setDruckerPragerLaw(self,
tau_Y=None,
friction=None)
Sets the parameters for the Drucker-Prager model. |
|
|
|
|
|
setEtaTolerance(self,
rtol=0.0001)
sets the relative tolerance for the effectice viscosity. |
|
|
|
setPowerLaw(self,
eta_N,
id=0,
tau_t=1,
power=1)
Sets the power-law parameters for material id |
|
|
|
setPowerLaws(self,
eta_N,
tau_t,
power)
Sets the parameters of the power-law for all materials. |
|
|
bool
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|