Difference between revisions of "Tplot"
(→TPLOT) |
(→TPLOT) |
||
Line 1: | Line 1: | ||
= TPLOT = | = TPLOT = | ||
The <code>TPLOt</code> Macro command allows you to specify quantities for output after each time step in a computation. The values are written to files whose name starts with the letter <code>P</code> followed with the problem file name and with an additional file name extender that is tagged to the quantity type, e.g. <code>dis</code> for any requested displacement, <code>rea</code> for any requested reaction forces, etc. See the [[Manuals|user manual | The <code>TPLOt</code> Macro command allows you to specify quantities for output after each time step in a computation. The values are written to files whose name starts with the letter <code>P</code> followed with the problem file name and with an additional file name extender that is tagged to the quantity type, e.g. <code>dis</code> for any requested displacement, <code>rea</code> for any requested reaction forces, etc. See the [[Manuals|user manual]] for further details. | ||
== Examples == | == Examples == |
Latest revision as of 22:28, 15 June 2020
TPLOT
The TPLOt
Macro command allows you to specify quantities for output after each time step in a computation. The values are written to files whose name starts with the letter P
followed with the problem file name and with an additional file name extender that is tagged to the quantity type, e.g. dis
for any requested displacement, rea
for any requested reaction forces, etc. See the user manual for further details.
Examples
Generate force deflection plot files
Here is a simple example with a point force applied to a 2D plane strain square. It generates two files Pld.dis and Pld.rea which contain the displacement of the node where the load is applied and the reaction force at that node. The first column is each file is the time value and the second column is the requested quantity. If you specify multiple locations with TPLOt, then you will get additional columns in the Pld.* files.
FEAP ** Example Force versus Deflection plot with TPLOt ** 0 0 0 2 2 4 ! Define Material MATErial SOLId ELAStic ISO 200d9 0.3d0 ! Define geometry BLOCk CART 10 10 1 0.d0 0.d0 2 1.d0 0.d0 3 1.d0 1.d0 4 0.d0 1.d0 ! Fix left edge EBOU 1 0.d0 1 1 ! Apply force on the corner CFORce NODE 1.d0 1.d0 200.d0 0.0d0 END ! Set the wanted time histories for output BATCh TPLO END DISP,,1,1.d0,1.d0 REAC,,1,1.d0,1.d0 SHOW ! Set a linearly increasing proportional load factor BATCh PROP,,1 DT,,1.0d0 END ! Loop 10 times and solve, output to Old and Pld.* BATCh LOOP,,10 TIME LOOP,,4 TANG,,1 NEXT NEXT END STOP