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.

Redefining variables in consecutive study steps

Please login with a confirmed email address before reporting spam

Suppose I want to use different expressions for a predefined parameter in the first and second study step, how can I do that in a neat manner?

More concrete:
Call the parameter f(t)
- step 1: time-dependent solver. Parameter should be: f(t)=step(t)
- step 2: time-dependent solver. Should take initial values from solution 1, but parameter should be f(t)=constant

1 Reply Last Post 16 gen 2012, 10:38 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 gen 2012, 10:38 GMT-5
Hi

I expect that you must enable and disable two BC with the different cases, and reset the "initial condition" to point to your first study.

But I'm not sure you will get the different time steps to use the initial conditions from different time steps of the initial condition "automatically", probably you must select it manually in the time sequence list

--
Good luck
Ivar
Hi I expect that you must enable and disable two BC with the different cases, and reset the "initial condition" to point to your first study. But I'm not sure you will get the different time steps to use the initial conditions from different time steps of the initial condition "automatically", probably you must select it manually in the time sequence list -- 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.