User Subroutine
User Subroutine
(OP)
Hi guys,
I'd like to specify the maximum time increment of a step while the step is running. I mean, I'd like to implement a subroutine that after a step increment is finished, some outputs are extracted from the fil, then I perform some calculation with this outputs then on the basis of the results I'd like to impose the time increment of the next step increment inorder to increase or decrease it as a function of the calculation results. Is it possible?
I hope it is clear.
Thanks
Bye
I'd like to specify the maximum time increment of a step while the step is running. I mean, I'd like to implement a subroutine that after a step increment is finished, some outputs are extracted from the fil, then I perform some calculation with this outputs then on the basis of the results I'd like to impose the time increment of the next step increment inorder to increase or decrease it as a function of the calculation results. Is it possible?
I hope it is clear.
Thanks
Bye





RE: User Subroutine
URDFIL : This reads the file file.
So in principle you can read the fil file and and do some calulcations on the field values. But to set the time increment.? anyone knows?
RE: User Subroutine
Bye
RE: User Subroutine
RE: User Subroutine
thanks for the answers.
Actually I'd like to avoid so complicated procedure using restart....therefore at the end of the day no user subroutine for the scope to impose directly the step increment
See you
RE: User Subroutine
that's exactly the purpose of the variable DTIME in the subroutine URDFIL mentioned by guru64.
RE: User Subroutine
yes u are right. I read only the overview and so I missed that one....always read till the end of the page!!
Thanks a lot guys
Bye