NuTo
Numerics Tool
Namespaces | Functions | Variables
Brick8NCoupling.py File Reference

Namespaces

 Brick8NCoupling
 

Functions

def Brick8NCoupling.AddBC (nodeId, directions)
 

Variables

 Brick8NCoupling.structure = nuto.Structure(3)
 
 Brick8NCoupling.Material1 = structure.ConstitutiveLawCreate("Linear_Elastic_Engineering_Stress")
 
 Brick8NCoupling.interpolationType = structure.InterpolationTypeCreate("Brick3D")
 
list Brick8NCoupling.nodeContributions
 
list Brick8NCoupling.terms = []
 
 Brick8NCoupling.node = structure.NodeGetNodePtr(nodeId)
 
 Brick8NCoupling.equation = nuto.Equation(terms)
 
 Brick8NCoupling.direction = np.array([1.0, 0.0, 0.0])
 
 Brick8NCoupling.intGradient = structure.BuildGlobalInternalGradient()
 
 Brick8NCoupling.extGradient = structure.BuildGlobalExternalLoadVector()
 
 Brick8NCoupling.extGradientJ = extGradient.J.Get("Displacements")
 
 Brick8NCoupling.intGradientJ = intGradient.J.Get("Displacements")
 
 Brick8NCoupling.intGradientK = intGradient.K.Get("Displacements")
 
 Brick8NCoupling.intGradientKcast = -intGradientK
 
 Brick8NCoupling.cmat = structure.GetAssembler().GetConstraintMatrix()
 
 Brick8NCoupling.residual = intGradientJ+cmat.Get("Displacements", "Displacements").TransMult(intGradientKcast)-extGradientJ
 
 Brick8NCoupling.visualizationGroup = structure.GroupCreate("Elements")