Author Topic: Printing only Residual norm in the Terminal with Interactive Solution Command?  (Read 1951 times)

osman

  • Jr. Member
  • **
  • Posts: 13
Dear all,

I have recently installed FEAP 8.5 on my PC running Ubuntu 18.04 LTS.  Everything works like a charm except the fact that I can not see the Residual Norms ( that is only terminal output I would like to see)  associated with each Newton iteration in a step when I use NOPRint  in the INTEractive solution. I haven't had any  kind of issues before with the previous versions of FEAP

To be more precise I would like to see something like on the terminal

   Residual norm =     1.2391747E+04    1.0000000E+00      t=     0.10     0.01
   Residual norm =     1.1636245E+02    9.3903183E-03      t=     0.10     0.01
   Residual norm =     2.7485783E-02    2.2180716E-06      t=     0.10     0.01
   Residual norm =     1.5475916E-09    1.2488889E-13      t=     0.10     0.01


Below you can find the input file and the corresponding terminal screenshots of FEAP Example  no:11 (\ex11) obtained by two versions

1- FEAP 8.5
2- FEAP 8.3

As can bee seen in the PNG files attached, the desired is achieved in FEAP 8.3 while it is absolutely not the case with FEAP 8.5. I have tried PRINt,RESI but it didn't work, either.  If I remove NOPRint, then the terminal starts to be overcrowded with other outputs.

I delved into the source codes and found that \program\pmacr1.f files differ from each other, especially line 584 in FEAP 8.5 might be where the problem lies.

I appreciate any kind of help and comments.   

Best regards,
Dr. Osman Gültekin

 



 


Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Not sure if this will give the behavior you are looking for but try

print,off

followed by

print,on

This will set the printing flags as pfr=.false. and prnt=.true.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Seems you can also achieve the equivalent with a single statement

nopr,less


osman

  • Jr. Member
  • **
  • Posts: 13
Dear Professor,

Both of your suggestions worked out and I am now able to see only the residual norms.

Thank you very much

Best regards,
Osman