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.

CHANGE the TIME STEP during the analysis

Please login with a confirmed email address before reporting spam

Hello everybody,

I would like to know, if it is possible to change the time step during the analysis. E.g. at the beginning you need very small step and at the end it is ok with larger... or vice versa. Logarithmic function or something like that. I couldn't find anything in the help or in COMSOL settings. Does anybody know how to do it?

Thank you very much!

Katerina

1 Reply Last Post 16.12.2011, 15:54 GMT-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 16.12.2011, 15:54 GMT-5
Hi

one often define the time steps with a range() operator

i.e. range(0,0.1,1) = { 0 0.1 0.2 0.3 0.4 0.5 ... 0.9 1}

but you can also write

10^{range(-3,1,3)} = { 1E-3 1E-2 1E-1 1E0 1E+1 1E+2 1E+3 }

or any combination

0 0.001 range(0.1,0.2,1) range(10,0.1,11) 100 1000

etc, so long you define amonotonous set

--
Good luck
Ivar
Hi one often define the time steps with a range() operator i.e. range(0,0.1,1) = { 0 0.1 0.2 0.3 0.4 0.5 ... 0.9 1} but you can also write 10^{range(-3,1,3)} = { 1E-3 1E-2 1E-1 1E0 1E+1 1E+2 1E+3 } or any combination 0 0.001 range(0.1,0.2,1) range(10,0.1,11) 100 1000 etc, so long you define amonotonous set -- Good luck Ivar

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.