Package esys :: Package modellib :: Module mechanics :: Class DruckerPrager
[hide private]
[frames] | no frames]

Class DruckerPrager

                       object --+                
                                |                
escript.modelframe.LinkableObject --+            
                                    |            
      escript.modelframe.ParameterSet --+        
                                        |        
                 escript.modelframe.Model --+    
                                            |    
                                    Mechanics --+
                                                |
                                               DruckerPrager

Instance Methods [hide private]
 
__init__(self, **kwargs)
set up model
 
doInitialization(self)
initialize model
 
doStep(self, dt)
Executes an iteration step at a time step.
 
doStepPostprocessing(self, dt)
accept all the values:
 
doStepPreprocessing(self, dt)
step up pressure iteration
 
setStress(self)
 
setTangentialTensor(self)

Inherited from Mechanics: getSafeTimeStepSize, terminateIteration

Inherited from escript.modelframe.Model: __str__, doFinalization, doInitialPostprocessing, doInitialStep, finalize, setUp, terminateInitialIteration, toDom

Inherited from escript.modelframe.ParameterSet: __delattr__, __iter__, __repr__, checkLinkTargets, declareParameter, declareParameters, releaseParameters, showParameters, writeXML

Inherited from escript.modelframe.LinkableObject: __getattr__, __setattr__, getAttributeObject, hasAttribute, trace

Inherited from object: __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__

Class Methods [hide private]

Inherited from escript.modelframe.ParameterSet: fromDom

Class Variables [hide private]

Inherited from Mechanics: SAFTY_FACTOR_ITERATION

Inherited from escript.modelframe.Model: UNDEF_DT

Instance Variables [hide private]

Inherited from Mechanics: abs_tol, bulk_modulus, displacement, domain, expansion_coefficient, external_force, internal_force, location_prescribed_velocity, max_iter, prescribed_velocity, rel_tol, shear_modulus, stress, temperature

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

 

set up model

Parameters:
  • debug - debug flag
Overrides: object.__init__

doInitialization(self)

 

initialize model

Overrides: escript.modelframe.Model.doInitialization

doStep(self, dt)

 

Executes an iteration step at a time step.

dt is the currently used time step size.

This function may be overwritten.

Overrides: escript.modelframe.Model.doStep
(inherited documentation)

doStepPostprocessing(self, dt)

 

accept all the values:

Overrides: 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: escript.modelframe.Model.doStepPreprocessing