VisibleConfusion
Aerospace
- Mar 15, 2019
- 7
thread825-222534
"To whom it may concern"
Hi all,
I am referring to the above thread titled "Plotting Strength ratio of composite with param SRCOMPS" from 2008/2009. It has helped me calculate strength ratios (SRs) in Nastran 2018.2 while using Hypermesh and HyperView 2017.3 as pre and post processors.
User babajv has posted a DMAP alter that substitutes Failure Indices with SR results in the .op2-file, so that you can view the SRs in HyperView or Patran. However, since the original alter is for Nastran 2005, my colleagues and I had to change the code so that the alter is done at the right place in the recent Nastran version. The alter works fine on a 95k+ elements model.
The new alter is:
compile sedrcvr
$
$ ***This DMAP works with only param,post,-1
$
$ DMAP alter to replace Failure Index data block with
$ the Strength Ratio data block. The f06 will have both
$ Failure Index and Strength Ratio values printed as
$ usual; however, the op2 file has the Failure Index
$ data replaced with the Strength Ratio data.
$
$ by Dean Bellinger, 7Jul2006
$
$ WARNING: Tested with only one test case using two elements,
$ and two subcases on version 2005.5.0 and 2005.0.0.
$
$alter 'output2.*oes1c,oefit,oesrt' (1,-1) $
alter 1964
copy oesrt/oefitz/always/-1 $
type parm,,i,n,reclpoef $
reclpoef=1 $
do while ( reclpoef>=0 ) $
paraml oefitz/oefitzz/'tabrepi'/s,n,reclpoef/2//25 $
reclpoef = reclpoef + 2 $
paraml oefit//'dti'/s,n,reclpoef/2//s,n,junkit $
equivx oefitzz/oefitz/always $
enddo $ reclpoef
equivx oefitzz/oefit/always $
MESSAGE//'FAILURE INDICES REPLACED BY STRESS INDICES, oefit ' $
endalter
To learn how to use the alter in general, please refer to the original thread linked above. As you can see, the original target of the alter is commented out, and a new target (alter 1964) in the solver routine has been introduced. The MESSAGE at the end is only to check in the .f06 if the alter has gone through properly, because we had to try different lines that control .op2 output. If you are using a different version of Nastran, you might have to try and change that target to fit your version.
The original post has helped me a lot, so maybe this can help someone else at some point...
"To whom it may concern"
Hi all,
I am referring to the above thread titled "Plotting Strength ratio of composite with param SRCOMPS" from 2008/2009. It has helped me calculate strength ratios (SRs) in Nastran 2018.2 while using Hypermesh and HyperView 2017.3 as pre and post processors.
User babajv has posted a DMAP alter that substitutes Failure Indices with SR results in the .op2-file, so that you can view the SRs in HyperView or Patran. However, since the original alter is for Nastran 2005, my colleagues and I had to change the code so that the alter is done at the right place in the recent Nastran version. The alter works fine on a 95k+ elements model.
The new alter is:
compile sedrcvr
$
$ ***This DMAP works with only param,post,-1
$
$ DMAP alter to replace Failure Index data block with
$ the Strength Ratio data block. The f06 will have both
$ Failure Index and Strength Ratio values printed as
$ usual; however, the op2 file has the Failure Index
$ data replaced with the Strength Ratio data.
$
$ by Dean Bellinger, 7Jul2006
$
$ WARNING: Tested with only one test case using two elements,
$ and two subcases on version 2005.5.0 and 2005.0.0.
$
$alter 'output2.*oes1c,oefit,oesrt' (1,-1) $
alter 1964
copy oesrt/oefitz/always/-1 $
type parm,,i,n,reclpoef $
reclpoef=1 $
do while ( reclpoef>=0 ) $
paraml oefitz/oefitzz/'tabrepi'/s,n,reclpoef/2//25 $
reclpoef = reclpoef + 2 $
paraml oefit//'dti'/s,n,reclpoef/2//s,n,junkit $
equivx oefitzz/oefitz/always $
enddo $ reclpoef
equivx oefitzz/oefit/always $
MESSAGE//'FAILURE INDICES REPLACED BY STRESS INDICES, oefit ' $
endalter
To learn how to use the alter in general, please refer to the original thread linked above. As you can see, the original target of the alter is commented out, and a new target (alter 1964) in the solver routine has been introduced. The MESSAGE at the end is only to check in the .f06 if the alter has gone through properly, because we had to try different lines that control .op2 output. If you are using a different version of Nastran, you might have to try and change that target to fit your version.
The original post has helped me a lot, so maybe this can help someone else at some point...