Package esys :: Package modellib :: Module flow :: Class SteadyIncompressibleFlow
[show private | hide private]
[frames | no frames]

Type SteadyIncompressibleFlow

    object --+            
             |            
LinkableObject --+        
                 |        
      ParameterSet --+    
                     |    
                 Model --+
                         |
                        SteadyIncompressibleFlow


-\left(\eta\left(v_{i,j}+v_{j,i} ight) ight)_{,j}+p_{,i}=F_i

\sigma_{ij}=2\eta D_{ij}-p\,\delta_{ij}

D_{ij}= rac{1}{2}\left( v_{j,i} + v_{i,j } ight)

v_{k,k} = 0
Method Summary
  __init__(self, debug)
set up model
  doInitialization(self)
initialize model
  doStep(self, dt)
performs an iteration step of the penalty method.
  doStepPostprocessing(self, dt)
Finalalizes the time step.
  doStepPreprocessing(self, dt)
step up pressure iteration
  stress(self)
returns current stress
  stretching(self)
returns stertching tensor
  terminateIteration(self)
iteration is terminateIterationd if relative pressure change is less then rel_tol
    Inherited from Model
  __str__(self)
  doFinalization(self)
Finalizes the time stepping.
  finalize(self)
Returns False if the time stepping is finalized.
  getSafeTimeStepSize(self, dt)
Returns a time step size which can safely be used.
  toDom(self, document, node)
toDom method of Model class
  writeXML(self, ostream)
Writes the object as an XML object into an output stream.
    Inherited from ParameterSet
  __delattr__(self, name)
Removes the attribute name.
  __iter__(self)
Creates an iterator over the parameter and their values.
  __repr__(self)
  declareParameter(self, **parameters)
Declares a new parameter(s) and its (their) initial value.
  declareParameters(self, parameters)
Declares a set of parameters.
  fromDom(cls, doc)
(Class method)
  releaseParameters(self, name)
Removes parameter name from the paramameters.
  showParameters(self)
Returns a descrition of the parameters.
    Inherited from LinkableObject
  __getattr__(self, name)
Returns the value of attribute name.
  __setattr__(self, name, value)
Sets the value for attribute name.
  getAttributeObject(self, name)
Return the object stored for attribute name.
  hasAttribute(self, name)
Returns True if self as attribute name.
  trace(self, msg)
If debugging is on, print the message, otherwise do nothing
    Inherited from object
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle

Class Variable Summary
    Inherited from Model
float UNDEF_DT = 1.0000000000000001e+300                                               
    Inherited from LinkableObject
count number_sequence = <itertools.count object at 0x401ff100>

Instance Method Details

__init__(self, debug=False)
(Constructor)

set up model
Overrides:
esys.escript.modelframe.Model.__init__

doInitialization(self)

initialize model
Overrides:
esys.escript.modelframe.Model.doInitialization

doStep(self, dt)

performs an iteration step of the penalty method. IterationDivergenceError is raised if pressure error cannot be reduced or max_iter is reached.
Overrides:
esys.escript.modelframe.Model.doStep

doStepPostprocessing(self, dt)

Finalalizes the time step.

dt is the currently used time step size.

This function may be overwritten.
Overrides:
esys.escript.modelframe.Model.doStepPostprocessing (inherited documentation)

doStepPreprocessing(self, dt)

step up pressure iteration

if run within a time dependend problem extrapolation of pressure from previous time steps is used to get an initial guess (that needs some work!!!!!!!)
Overrides:
esys.escript.modelframe.Model.doStepPreprocessing

stress(self)

returns current stress

stretching(self)

returns stertching tensor

terminateIteration(self)

iteration is terminateIterationd if relative pressure change is less then rel_tol
Overrides:
esys.escript.modelframe.Model.terminateIteration

Generated by Epydoc 2.1 on Thu Apr 27 11:16:24 2006 http://epydoc.sf.net