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
20.07.2012, 04:51 GMT-4
Hi
you can 1) define one study, use 2 solvers in the same study a stationary and a time dependent, if you start this from scratch (brand new study node, then hit Show default solvers, you will see that COMSOl stores the results of the first (stationary) solver, then uses that as initial conditions for the time stepping one,
the other way you have 2 discinct studies one stationary you solve first, then manualyy you launch the second study a time dependent one. If this is the case YOU must edit the "dependent variables node of your second Time dependent solver sequence and get this one to refer to study 1 stationary results (to decide if it is ONLY for the dependent variables or also for the others too)
These are the "two ways" I know about
--
Good luck
Ivar
Hi
you can 1) define one study, use 2 solvers in the same study a stationary and a time dependent, if you start this from scratch (brand new study node, then hit Show default solvers, you will see that COMSOl stores the results of the first (stationary) solver, then uses that as initial conditions for the time stepping one,
the other way you have 2 discinct studies one stationary you solve first, then manualyy you launch the second study a time dependent one. If this is the case YOU must edit the "dependent variables node of your second Time dependent solver sequence and get this one to refer to study 1 stationary results (to decide if it is ONLY for the dependent variables or also for the others too)
These are the "two ways" I know about
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
07.04.2017, 06:37 GMT-4
Hello,
Sorry for reviving an old topic.
I have a similar issue in Comsol 5.1.
I use the heat transfer module and have a time dependent study with a heat source varying periodically with time. However, reaching the transient part takes too long to simulate so I want to use the solution of a stationary study (with constant heat source) as initial conditions of my time-dependent study.
I thus created two study steps, which work fine separately.
The problem is that since the heat source depends on time, I needed two physics. One in stationary, and one time dependent. Then, the stationary study use the variable T for temperature, while the time dependent physics uses T2. If I use T in the second study I get an error message so I would like to know how to use the output of the stationary solver of T as initial conditions for T2.
Thank you in advance for the help,
Best regards,
Jeremie
Hello,
Sorry for reviving an old topic.
I have a similar issue in Comsol 5.1.
I use the heat transfer module and have a time dependent study with a heat source varying periodically with time. However, reaching the transient part takes too long to simulate so I want to use the solution of a stationary study (with constant heat source) as initial conditions of my time-dependent study.
I thus created two study steps, which work fine separately.
The problem is that since the heat source depends on time, I needed two physics. One in stationary, and one time dependent. Then, the stationary study use the variable T for temperature, while the time dependent physics uses T2. If I use T in the second study I get an error message so I would like to know how to use the output of the stationary solver of T as initial conditions for T2.
Thank you in advance for the help,
Best regards,
Jeremie