|
|
__init__(self,
domain,
stress=None,
v=None,
p=None,
t=0,
verbose=True)
Initializes the rheology |
|
|
|
bool
|
|
|
Data of rank 2
|
getDeviatoricStrain(self,
v=None)
Returns deviatoric strain of current velocity or if v is present the
deviatoric strain of velocity v: |
|
|
|
Data of rank 2
|
|
|
Domain
|
|
|
Data
|
getForce(self)
Returns the external force |
|
|
|
scalar Data
|
getGammaDot(self,
D=None)
Returns current second invariant of deviatoric strain rate or if D is present the second invariant of D. |
|
|
|
scalar Data
|
|
|
|
|
|
Data of rank 2
|
|
|
Data
|
|
|
scalar Data
|
getTau(self)
Returns current second invariant of deviatoric stress |
|
|
|
float
|
getTime(self)
Returns current time. |
|
|
|
vector Data
|
|
|
tuple of Data s
|
getVelocityConstraint(self)
Returns the constraint for the velocity as a pair of the
mask of the location of the constraint and the values. |
|
|
|
|
|
|
|
|
|
|
setExternals(self,
F=None,
f=None,
fixed_v_mask=None,
v_boundary=None,
restoration_factor=None)
sets external forces and velocity constraints |
|
|
|
|
setGammaDot(self,
gammadot=None)
set the second invariant of deviatoric strain rate. |
|
|
|
|
|
|
|
setStatus(self,
t,
v,
p,
stress)
Resets the current status given by pressure p and velocity v. |
|
|
|
|
setTime(self,
t=0.0)
Updates current time. |
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|