tomyliu
2010-03-18, 03:19
Hello,Buddies
I am a new beginer for python.
I want to extract stress components(s11,s22,s12) to a txt file of each section points of SC8R using python. how can I?
just like this:
----------------------------------------------------------
#element id,section id,s11,s22,s12
-------------------------------------------------------
166,1,-5.7440E+00,-8.8030E-01,6.6230E-01
166,2,-4.3080E+00,-6.6020E-01,4.9670E-01
166,3,-2.8720E+00,-4.4010E-01,3.3110E-01
166,4,-1.4360E+00,-2.2010E-01,1.6560E-01
166,5,-3.5780E-05,-1.2526E-05,5.1448E-06
167,1,-2.3530E+00,-2.0520E-01,4.3194E-02
167,2,-1.7650E+00,-1.5390E-01,3.2396E-02
167,3,-1.1760E+00,-1.0260E-01,2.1597E-02
167,4,-5.8820E-01,-5.1298E-02,1.0799E-02
167,5,-4.8521E-06,-9.5588E-08,2.5659E-07
I am a new beginer for python.
I want to extract stress components(s11,s22,s12) to a txt file of each section points of SC8R using python. how can I?
just like this:
----------------------------------------------------------
#element id,section id,s11,s22,s12
-------------------------------------------------------
166,1,-5.7440E+00,-8.8030E-01,6.6230E-01
166,2,-4.3080E+00,-6.6020E-01,4.9670E-01
166,3,-2.8720E+00,-4.4010E-01,3.3110E-01
166,4,-1.4360E+00,-2.2010E-01,1.6560E-01
166,5,-3.5780E-05,-1.2526E-05,5.1448E-06
167,1,-2.3530E+00,-2.0520E-01,4.3194E-02
167,2,-1.7650E+00,-1.5390E-01,3.2396E-02
167,3,-1.1760E+00,-1.0260E-01,2.1597E-02
167,4,-5.8820E-01,-5.1298E-02,1.0799E-02
167,5,-4.8521E-06,-9.5588E-08,2.5659E-07