Example Definition
The definition below is given by the Result Math expression built using an OptiStruct model (*.fem) and the relevant results (*.op2) where Composite Stress had been requested through the CSTRESS(OUTPUT2) control card and material allowables had been assigned to the MAT8 card for Xt,Xc,Yt,Yc and S values.
The Hashin Failure criteria for Matrix output has been selected.
HashinFT("Composite
Stress","LC0F1.MAT8_Xt","LC0F1.MAT8_Xc","LC0F1.MAT8_Yt","LC0F1.MAT8_Yc","LC0F1.MAT8_S","NULL","NULL","LC0F1.Elements","LC0F1.Parts","LC0F1.Properties","@current_pool","@current_slice_index","matrix")
The relevant XML syntax is displayed below:
<datatype bind="Elements" format="Scalar" id="_hv_eb1" inherit="result::Composite Stress" pools="Shell;Beam" title="HashinFailureMatrix" >
<call name="HashinFailureTheory"
tensor="result::corners[false]::Composite Stress"
xc="model::subcase[0]::step[0]::corners[false]::MAT8_Xc"
xt="model::subcase[0]::step[0]::corners[false]::MAT8_Xt"
yc="model::subcase[0]::step[0]::corners[false]::MAT8_Yc"
yt="model::subcase[0]::step[0]::corners[false]::MAT8_Yt"
s="model::subcase[0]::step[0]::corners[false]::MAT8_S"
sets="NULL"
plies="NULL"
elems="model::subcase[0]::step[0]::corners[false]::Elements"
parts="model::subcase[0]::step[0]::corners[false]::Parts"
props="model::subcase[0]::step[0]::corners[false]::Properties"
pool_name="@current_pool"
layer_index="@current_slice_index"
opt_str="matrix"
answer="@datatype_value" />
</datatype>