X.F.3.2 Post-processing of composite dynamic Results
One also defines a modified version of “PostComposite” class devoted to the corresponding
post-processing of dynamic results in Real-Imaginary format. This Class is defined in file
“POST/post_DynamComposite.rb” and the Class is named “PostDynamComposite” Its
definition is nearly the same as the corresponding static class. Only, for each frequency, an
additional loop performs the calculation for Real Results extracted at different rotation
angles:
...
ld=ClaLoad.new
ld.Id="testLoad"
ld.setMembrane([0.0,0.0,0.0],"femFM","femFM","femFM")
ld.setFlexural([0.0,0.0,0.0],"femFM","femFM","femFM")
ld.setOutOfPlane([0.0,0.0],"femFM","femFM")
forces=db.getResultCopy(lcName,scName,"Shell Forces (RI)",
interpolation,grp,layers)
forces.modifyRefCoordSys(db,"lamCS")
moments=db.getResultCopy(lcName,scName,"Shell Moments (RI)",
interpolation,grp,layers)
moments.modifyRefCoordSys(db,"lamCS")
critTheta=critElem=critNode=critLayer=critSubLayer=critFI=critRF=nil;
(0..nbrAngles).step(1) do |i|
theta=360.0*i/nbrAngles
res=forces.getR(theta)
ld.setShellForces(res)
res=moments.getR(theta)
ld.setShellMoments(res)
...
end # Angles loop
Then, the critical angle is identified and the corresponding Results are printed in the a result
file.
The calculation has one additional parameter: “nbrAngles”, which corresponds to the number of
rotation angles to be tested in the post-processing.