Author Topic: Tplot with both disp and reac output  (Read 11942 times)

harit

  • Jr. Member
  • **
  • Posts: 11
Tplot with both disp and reac output
« on: October 16, 2023, 03:36:52 PM »
Hi everyone,

I am trying to output the Disp and Reac values at a node, during the run time. The Tplot code, I used for this purpose, is as follows,

BATCh
TPLOt
END
disp,8,2
reac,8,2
show

Using this, the output file of the reaction forces (.rea) was as expected, but the output file of the displacement (.dis) was empty.

Displacement values were written out correctly when Tplot was used only for it. But when I tried to output both disp and reac together, only reac values were being written out.

I also tried writing separate Tplot commands for disp and reac, but even then the .dis file was empty. I am not sure what I am doing wrong here. Hope you help me out here!

Please find the attached input file.

Thank you :)

 

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Tplot with both disp and reac output
« Reply #1 on: October 16, 2023, 10:55:44 PM »
I ran your file with version 8.6 and it seems to work.  Here are the outputs:
Code: [Select]
Ppta.dis
  0.0000E+00  0.0000E+00
  1.0000E+00  3.3500E-02
  2.0000E+00  6.7000E-02
  3.0000E+00  1.0050E-01
  4.0000E+00  1.3400E-01
  5.0000E+00  1.6750E-01
  6.0000E+00  2.0100E-01
  7.0000E+00  2.3450E-01
  8.0000E+00  2.6800E-01
  9.0000E+00  3.0150E-01
  1.0000E+01  3.3500E-01

Code: [Select]
Ppta.rea
  0.0000E+00  0.0000E+00
  1.0000E+00  3.1992E+03
  2.0000E+00  6.3985E+03
  3.0000E+00  9.5978E+03
  4.0000E+00  1.2797E+04
  5.0000E+00  1.5996E+04
  6.0000E+00  1.9196E+04
  7.0000E+00  2.2395E+04
  8.0000E+00  2.5594E+04
  9.0000E+00  2.8793E+04
  1.0000E+01  3.1993E+04

Which version of the code are you using?
 

harit

  • Jr. Member
  • **
  • Posts: 11
Re: Tplot with both disp and reac output
« Reply #2 on: October 16, 2023, 11:00:56 PM »
Thank you for the reply, I am using version 8.4.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Tplot with both disp and reac output
« Reply #3 on: October 16, 2023, 11:29:13 PM »
I tried your file with v8.4 and it worked there too.  I suspect that your version of the code has been modified from the original.  I suggest re-downloading from the download site.  Better yet, would be to upgrade to the current release, version 8.6.

harit

  • Jr. Member
  • **
  • Posts: 11
Re: Tplot with both disp and reac output
« Reply #4 on: October 16, 2023, 11:42:45 PM »
Thank you, I will try to redownload the files of 8.4.

Also, I want to ask, if I can use the element routines made for 8.4 directly with version 8.6, without any modifications ?

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Tplot with both disp and reac output
« Reply #5 on: October 17, 2023, 06:17:29 AM »
The basic interface is the same.  However, there are probably some differences in how you set parameters in isw=1 for graphics.  The  changes are minor unless you are doing something in the programming that is unique to your elements (besides the formulation)

harit

  • Jr. Member
  • **
  • Posts: 11
Re: Tplot with both disp and reac output
« Reply #6 on: October 17, 2023, 02:20:38 PM »
Hi,

I have given it another try and the file worked well with v8.4 when I removed the 'inte' command in the file. Both the Disp and Reac values were written out properly. Not sure what's the reason behind it!

Did you, in your test, also removed 'inte' ?

Thank you :)

I tried your file with v8.4 and it worked there too.  I suspect that your version of the code has been modified from the original.  I suggest re-downloading from the download site.  Better yet, would be to upgrade to the current release, version 8.6.
« Last Edit: October 17, 2023, 02:23:31 PM by harit »

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Tplot with both disp and reac output
« Reply #7 on: October 17, 2023, 03:40:14 PM »
I left it in.  It is possible that if you checked the file before exiting the program, that the file will be empty due to buffering and if you exit abnormally, then the buffer may never get written to the file.

harit

  • Jr. Member
  • **
  • Posts: 11
Re: Tplot with both disp and reac output
« Reply #8 on: October 17, 2023, 04:14:53 PM »
Yes, you are right! I wasn't exiting the simulation properly. Was just using ctrl^c. Anyway, now it is working even with 'inte'. Thank you :)

I left it in.  It is possible that if you checked the file before exiting the program, that the file will be empty due to buffering and if you exit abnormally, then the buffer may never get written to the file.