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.

modify equation system during the simulation

Please login with a confirmed email address before reporting spam

Hello,

I started using COMSOL 4.3a only recently and I'm experiencing some troubles with my model.
My simulation is somehow analogous to the boiling water process, so I'd like to ask how you would simulate this very simple process.

Let's assume to have a mass of water m [kg] in a pot, heated by a flux Q [W], starting from a temperature T=20 [°C]. Rho is water density [kg/m^3], cp is water heat capacity [J/kg/K] and DHev is water enthalpy of vaporization [J/kg].

The system I would solve would be:

dm/dt=0
V*rho*cp dT/dt = Q

if T<=100°C.

I would then change my system to the following, when T>100°C:

dm/dt = - Q/DHev
dT/dt = 0

How can I solve such a problem, where I basically have to modify the equation system as a consequence of the temperature condition?

Thank you,
Alessia

0 Replies Last Post 25.09.2013, 04:26 GMT-4
COMSOL Moderator

Hello Alessia Corbetta

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.