LoadingStressStrain.setStressStrain


setStressStrain(type, values, [eleType1], [eleType2], [eleType3])

Sets up an initial stress/strain loading The number of values required will depend on the element type and whether the load is to be initial or residual. For initial loading, both stresses and strains should be provided. For residual loading, only stresses should be provided To determine the number of stress values that are appropriate to a particular element type, see the element reference manual The element type can be given in either of two different ways - by feature type and description, e.g. "line - thick non linear beam" or by element name, .e.g "BMS3". Once defined, a stress and strain load can be assigned to any element type of the same stress model.

typestring'Initial' or 'Residual'
valuesarray of VariationAttr or double see above
eleType1string feature type - e.g. "line", "surface" etc or element type - e.g. "BMS3", "QTS8" etc
eleType2optional string Only needed if 'eleType1' above is given as a feature type, in which case further clarifies element type, e.g. "Thick nonlinear beam"
eleType3optional integer Only needed if 'eleType1' above is given as a feature type, in which case further clarifies 2d or 3d (by value 2 or 3)
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to LoadingStressStrain

Back to Overview