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
2013年3月3日 GMT-5 12:24
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
2013年3月3日 GMT-5 12:46
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
2013年3月3日 GMT-5 14:46
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
2013年3月4日 GMT-5 10:13
Thank you so much.
Thank you so much.