Author Topic: history-field variable in a loading process  (Read 3720 times)

Yaakov

  • Sr. Member
  • ****
  • Posts: 323
history-field variable in a loading process
« on: August 18, 2016, 11:20:40 AM »
Dear FEAP Team & Users,

It is the first time to use history- field variable in FEAP.

I want to get  the history-field variable of the maximum reference energy in User-Element, and I use hr(nh1) for energy value at t_n.

I compare the value of hr(nh1) with current energy value "estore", I am a little surprised, that hr(nh1) is always zero (debugger)...

Thanks very much your suggestion!!

Best Regards,
Yaakov

« Last Edit: October 04, 2016, 05:04:18 PM by zheliu »
Let's boost FEAP's performance!

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: history-field variable in a loading process
« Reply #1 on: August 18, 2016, 12:06:52 PM »
 You should place new values in hr(nh2).  then when you use "TIME" the value in hr(nh2) will be put in hr(nh1) so you can compare at the new time to what you got at the old time.  If it is not time dependent you could use hr(nh3).  It will have the previous value so when you  change it is always one iteration behind.

Yaakov

  • Sr. Member
  • ****
  • Posts: 323
Re: history-field variable in a loading process
« Reply #2 on: October 04, 2016, 04:56:01 PM »
Dear Prof. R.L. Taylor,

Thanks very much for your answer!

Now I can get the history  "TIME" value   t_n und t_n+1 for the strain energy (set nh1 under isw=1).
« Last Edit: October 05, 2016, 04:02:20 AM by zheliu »
Let's boost FEAP's performance!