Author Topic: ISTE variable declaration problem in user element.  (Read 9479 times)

Rahul

  • Jr. Member
  • **
  • Posts: 18
ISTE variable declaration problem in user element.
« on: April 24, 2021, 05:34:38 AM »
Hello all,

I am new to FEAP. I am running the user element in FEAPPv and getting the following error.

 ERROR in User Element elmt15
     Variable ISTE not set in the projection module.


Here elmt15 is my user element.

Could you please suggest a possible solution for the error?

I am thanking you in advance for your time.

Regards
Rahul Jangid
Ph.D. Student (IIT Bombay)

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: ISTE variable declaration problem in user element.
« Reply #1 on: April 24, 2021, 08:15:56 AM »
Starting in ver8.6 the error of not defining the number of projections of element variables causes the program to print this error message and stop.  When using the command STREss,NODE or PLOT STREss it is necessary to set the "iste" in "strnum.h" to a non-zero value in any user element.  This is set under the portion for "isw = 8".  If the element is actually performing projections then it is required that two parameters be set

In isw=1 area: set istv = max(istv, nn) where nn is the maximum location that this element will project.  This is used to allocate sufficient memory for the projections to be performed. Be sure to use the 'max' in case other elements project more than 'nn' element values.

in isw=8 area: set istv = nn  -- this is used to control the number of projections this element performs.

Both parameters are in strnum.h

Rahul

  • Jr. Member
  • **
  • Posts: 18
Re: ISTE variable declaration problem in user element.
« Reply #2 on: April 24, 2021, 09:37:36 AM »
Thank you for your reply.

Still, I have the following questions.

1 - do I need to define istv in user element or in "strnum.h" file ?

2 - I didn't get the nn variable.could you please elaborate on this about the 2D elasticity problem?

Regards
Rahul

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: ISTE variable declaration problem in user element.
« Reply #3 on: April 24, 2021, 11:35:05 AM »
You should never change any of the *.h include files.

In your user element you set 'istv' and 'iste'.

For example, if you are projecting 4 stresses in the element you would set
         istv = max(istv,4)
in the isw=1 part.
You would set
         iste = 4
in the isw=8 part.   The values are defined as integers in strnum.h

Rahul

  • Jr. Member
  • **
  • Posts: 18
Re: ISTE variable declaration problem in user element.
« Reply #4 on: April 25, 2021, 09:29:08 AM »
Thank you very much for your active reply.

My user element is working fine now.

Regards
Rahul