Ansys Learning Forum › Forums › Discuss Simulation › LS Dyna › Variable to refer to current time in user defined function › Reply To: Variable to refer to current time in user defined function
October 27, 2021 at 4:50 pm
marcansyl
Subscriber
Thanks,
I still cannot use the time as condition in if in my code.
what I want is to have for instance : if (time>200) {shear=0;}
when I do that, it gives me shear = 0 for all time between 0 and 400.
Marc
I still cannot use the time as condition in if in my code.
what I want is to have for instance : if (time>200) {shear=0;}
when I do that, it gives me shear = 0 for all time between 0 and 400.
Marc