Author Topic: *ERROR* ENDCLR: End of file encountered in TINPUT  (Read 2526 times)

elhoucine

  • Jr. Member
  • **
  • Posts: 15
    • Finest 小asual Dating - Verified Damsels
*ERROR* ENDCLR: End of file encountered in TINPUT
« on: January 17, 2020, 01:42:02 PM »
Dear all,

I moved from Feap7 to Feap84 recently. So, I have an input file work on Feap7 and dosn't work on Feap84.
In the O-file, I have the following error:
*ERROR* ENDCLR: End of file encountered in TINPUT   ?
May I know what is the diff閞ence between the two version ? and what I should add in Input file ?

Does any body know something about that? Thanks a lot.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: *ERROR* ENDCLR: End of file encountered in TINPUT
« Reply #1 on: January 17, 2020, 04:25:37 PM »
(1) try
Code: [Select]
mate,1
user 25
1.885E+6,0.725E+6,9.27E+3
0.01784,0.0000877,0.1,0.1

I assume you element is elmt25.f.

(2) If you still have trouble, try adding two blank lines before 'boun' (though I don't think that should be needed).

(3) The other thing to check is that you elmt25.f is handling all the required isw cases (see the programmers manual). 
It looks like you input routine is being called too many times.

elhoucine

  • Jr. Member
  • **
  • Posts: 15
    • Finest 小asual Dating - Verified Damsels
Re: *ERROR* ENDCLR: End of file encountered in TINPUT
« Reply #2 on: January 19, 2020, 12:19:01 AM »
Thank you so much Prof. for your quick reply
 I am trying the two first proposed solution but it dosn't work.
For the third, in elmt25, I am using the following form for moving to isw:

goto (1,2,3,4,5,3,2,8,2,2,2,2,13,2,2), isw
...
return

there is any problem in this form?
It is important to note that the elmt25 work in old feap (FEAP7) !!
So if any one tel me the difference between the two Feap versions (in structure input or element); I think that solve the problem ?
I will apreciate any help

Thank's in advance for help

Best regard


Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: *ERROR* ENDCLR: End of file encountered in TINPUT
« Reply #3 on: January 19, 2020, 08:44:57 AM »
It should still work, however, you should put a return after the go to statement so that if it is not satisfied it merely returns.  Newer versions of feap probably use more values of the 'isw' than you have set.

You should note however that this command has been removed from the current fortran standard.  We do still have some places where it is used because too many changes were needed to remove the form.  While it has been removed the compilers we have used still support it.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: *ERROR* ENDCLR: End of file encountered in TINPUT
« Reply #4 on: January 19, 2020, 12:39:19 PM »
What do you have at label 2?  Hopfully it is
Code: [Select]
2       return
Also make sure that directly after the goto you have a return.  So something like
Code: [Select]
       goto (1,2,3,4,5,3,2,8,2,2,2,2,13,2,2), isw
       return
1
.
.
.
       return
2      return
3
.
.
.
       return
etc.
Best of course is to use an if-then-else structure.

elhoucine

  • Jr. Member
  • **
  • Posts: 15
    • Finest 小asual Dating - Verified Damsels
Re: *ERROR* ENDCLR: End of file encountered in TINPUT
« Reply #5 on: January 19, 2020, 02:50:57 PM »
Thank you so much Prof. Taylor and Prof. Govindjee for your quick reply and for your time.
I will check values of the 'isw' in the used feap version, and I will try IF-THEN-ELSE structure.

Thank you

Best regard

elhoucine

  • Jr. Member
  • **
  • Posts: 15
    • Finest 小asual Dating - Verified Damsels
Re: *ERROR* ENDCLR: End of file encountered in TINPUT
« Reply #6 on: January 24, 2020, 12:22:40 PM »
Thank you so much for the help,
the problem is fixed by replacing the "if-goto-return" structure by "if-then-else" one.

Thank you

Best regard