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.

initial value set-up

Please login with a confirmed email address before reporting spam

Hi,


I have a 2D simulation running from T=0 to T=100. First, I run the simulation from T=0 to T= 50. Then I want to use the solution at T=50 plus some value changes in specific domain as the initial value for my simulation from T=50 to T=100.
Can anyone help me out?

Another simple question is: can I find the solution value of variable PIP at T= 50 by PIP(t=50)? if not, how can I reference the variable at specific time point and/or spatial points as well?

Thanks in advance,

John

3 Replies Last Post 25 gen 2013, 00:19 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 24 gen 2013, 15:13 GMT-5
Hi

you need to set up the solver node setting for thesecond study step to use the initial conditions from the first study. This is (in the most recent version) done under one of the tabs of the main study node, while earlier it was on the "dependent variable" subnode in the solver tree. here you can define separately where the initial values are taken from, for dependent and unsolved variables

--
Good luck
Ivar
Hi you need to set up the solver node setting for thesecond study step to use the initial conditions from the first study. This is (in the most recent version) done under one of the tabs of the main study node, while earlier it was on the "dependent variable" subnode in the solver tree. here you can define separately where the initial values are taken from, for dependent and unsolved variables -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 24 gen 2013, 16:16 GMT-5
Hi Ivar,

Thank you for your suggestion. Howver, I want the initial value for the second study is the last time point from the first study PLUS some changes. So how to add these changes to the last time point from the first study? Let's say I want the initial value of 2nd study to be the half of the last time point of 1st study?

Thank you,
John
Hi Ivar, Thank you for your suggestion. Howver, I want the initial value for the second study is the last time point from the first study PLUS some changes. So how to add these changes to the last time point from the first study? Let's say I want the initial value of 2nd study to be the half of the last time point of 1st study? Thank you, John

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 25 gen 2013, 00:19 GMT-5
Hi

that you cannot easily, anyhow what if "half the stress" ? the stress tensor components are far from linearly dependent,

but you can refer directly to previous values or, to a given point (parameter value) if you have done a previous parametric sweep, then you can get the corresponding value at param = 0.5 if this one was stored so with some care you might get where you want

--
Good luck
Ivar
Hi that you cannot easily, anyhow what if "half the stress" ? the stress tensor components are far from linearly dependent, but you can refer directly to previous values or, to a given point (parameter value) if you have done a previous parametric sweep, then you can get the corresponding value at param = 0.5 if this one was stored so with some care you might get where you want -- 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.