Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Define a function like Linear elastic-perfectly plastic behavior.

Please login with a confirmed email address before reporting spam

How can I define a load which increase linearly up to time t0 and then stay fix by time.
I defined something like "F*(rm1(t<t0)+step1(t))" which step function location is time t0. the only section which I do not know if it works or not is the Ramp section. I want a ramp function which goes from 0 to 1 in time domain of 0 and t0 and after t0 ramp function become zero.

4 Replies Last Post 4 mars 2013, 10:13 UTC−5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 3 mars 2013, 12:24 UTC−5
Hi

you could combine a ramp1() with cut-off at 1 and slope 1/t0 and a step1() (from 1 to 0 at t0) and adapt the transition regions to make it nicely smooth.

Then check your time stepping to intermediate and assure enough time steps during the ramp, and at the turn down from 0 to 1 (you can combine several range(,,) 'es

--
Good luck
Ivar
Hi you could combine a ramp1() with cut-off at 1 and slope 1/t0 and a step1() (from 1 to 0 at t0) and adapt the transition regions to make it nicely smooth. Then check your time stepping to intermediate and assure enough time steps during the ramp, and at the turn down from 0 to 1 (you can combine several range(,,) 'es -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 3 mars 2013, 12:46 UTC−5
Thank you Ivar
Does my definition for ramp with cut of at t0 is correct? (ramp1(t<t0))
Thanks
Mahmood
Thank you Ivar Does my definition for ramp with cut of at t0 is correct? (ramp1(t

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 3 mars 2013, 14:46 UTC−5
Hi

I would suggest NOT to use Booleans as these make sharp non-continuous transitions and then the solver has issues how to handle these. If you are in v4 check all the tabs and features of the Definitions Functions ramp1(...) you define the slope as 1/t0 (t0 is a Parameter you have defined ) and you limit at "1" (check on) and then you adjust the ansition times. Use the "plot" button to llok at the shape. You then call it with F0*ramp(t[1/s]) where F0 is a Parameter wit the amplitude of the ramp

--
Good luck
Ivar
Hi I would suggest NOT to use Booleans as these make sharp non-continuous transitions and then the solver has issues how to handle these. If you are in v4 check all the tabs and features of the Definitions Functions ramp1(...) you define the slope as 1/t0 (t0 is a Parameter you have defined ) and you limit at "1" (check on) and then you adjust the ansition times. Use the "plot" button to llok at the shape. You then call it with F0*ramp(t[1/s]) where F0 is a Parameter wit the amplitude of the ramp -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 4 mars 2013, 10:13 UTC−5
Thank you so much.
Thank you so much.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.