if surface_stress is not given 0 is assumed.
|
float
|
Bv(self,
v,
tol)
returns inner product of element p and div(v) |
|
|
|
|
__init__(self,
domain,
**kwargs)
initialize the Stokes Problem |
|
|
|
|
getDV(self,
p,
v,
tol)
return the value for v for a given p |
|
|
|
SolverOptions
|
getSolverOptionsDiv(self)
returns the solver options for solving the equation to project the divergence of
the velocity onto the function space of presure. |
|
|
|
|
|
|
SolverOptions
|
getSolverOptionsVelocity(self)
returns the solver options used solve the equation for velocity. |
|
|
|
|
initialize(self,
f=<esys.escript.escriptcpp.Data object at 0x1944520>,
fixed_u_mask=<esys.escript.escriptcpp.Data object at 0x1944578>,
eta=1,
surface_stress=<esys.escript.escriptcpp.Data object at 0x19445d0>,
stress=<esys.escript.escriptcpp.Data object at 0x1944628>,
restoration_factor=0)
assigns values to the model parameters |
|
|
|
float
|
inner_p(self,
p0,
p1)
Returns inner product of p0 and p1 |
|
|
|
float
|
inner_pBv(self,
p,
Bv)
returns inner product of element p and Bv=-div(v) |
|
|
|
equal to the type of p
|
norm_Bv(self,
Bv)
Returns Bv (overwrite). |
|
|
|
non-negative float
|
norm_v(self,
v)
returns the norm of v |
|
|
|
|
setSolverOptionsDiv(self,
options=None)
set the solver options for solving the equation to project the divergence of
the velocity onto the function space of presure. |
|
|
|
|
|
|
|
|
|
|
setStokesEquation(self,
f=None,
fixed_u_mask=None,
eta=None,
surface_stress=None,
stress=None,
restoration_factor=None)
assigns new values to the model parameters. |
|
|
|
|
|
|
equal to the type of p
|
solve_prec(self,
Bv,
tol)
applies preconditioner for for BA^{-1}B^* to Bv
with accuracy self.getSubProblemTolerance() |
|
|
|
|
updateStokesEquation(self,
v,
p)
updates the Stokes equation to consider dependencies from v and p
:note: This method can be overwritten by a subclass. |
|
|
|
Inherited from pdetools.HomogeneousSaddlePointProblem:
getAbsoluteTolerance,
getTolerance,
norm_p,
resetControlParameters,
setAbsoluteTolerance,
setControlParameter,
setTolerance,
solve
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|