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.

Defining steady solution as initial condition.

Please login with a confirmed email address before reporting spam

Hi,

I want to define steady solution as initial condition

Therfore, I added two study mode, 1 for steay and 2 for transient.

I solved steady state solution first, and then typed T in the initial values field.

Then, I solved study 2 for transient.

But I had an error,

"Undefined value found.
- Detail: Undefined value found in the stiffness matrix.
There are 14961 equations giving NaN/Inf in the matrix rows for the variable mod1.T
at coordinates: (0.224,0.038), (0.224,0.035), (0,0.038), (0,0.035), (0.224,0.0378125), ...
and similarly for the degrees of freedom, NaN/Inf in the matrix columns"

Please help.

Thanks.


2 Replies Last Post 2012年3月4日 GMT-5 04:59
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 2012年3月4日 GMT-5 02:23
Hi

Normally when you link two studies, you use the solver derived values sub-node to select which initial conditions to use, here you can choose betwen the results from previous solver sequence (default when you add multiple solver nodes under thesame study), or the one you defined in the initila conditions.

But in multiphysics multi solver onemust ensure that all BC are defined for all physics, and typically "t" is not defined in a steady state solution while it becomes defined for the transient one, and often one link t into BC's. Ths can lead to errors. It might be your case.

My way for the "t" time issue is t add t=0[s] in the Global Paramter list or whatever other value that is of interest

--
Good luck
Ivar
Hi Normally when you link two studies, you use the solver derived values sub-node to select which initial conditions to use, here you can choose betwen the results from previous solver sequence (default when you add multiple solver nodes under thesame study), or the one you defined in the initila conditions. But in multiphysics multi solver onemust ensure that all BC are defined for all physics, and typically "t" is not defined in a steady state solution while it becomes defined for the transient one, and often one link t into BC's. Ths can lead to errors. It might be your case. My way for the "t" time issue is t add t=0[s] in the Global Paramter list or whatever other value that is of interest -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2012年3月4日 GMT-5 04:59
Thanks, IVar

It works!
Thanks, IVar It works!

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.