Domestic water heater

Hi, I’m trying to run a simple simulation of a domestic water heater. I want to simulate a case where the heater is full of hot water (60 c), then cold water (20 c) enters from the bottom through a tube. It enters for t amount of time and stops. I then want to see the temperature in the tank over time (when no more flow).
When running the simulation i got an error:
“The solution diverged, please check your simulation setup. Divergence can also be caused by bad elements in the mesh. Such elements tend to exist near walls and sharp corners. Visually inspect your mesh to locate them and re-mesh with additional refinements in their vicinity. If you are confident about the mesh-quality, please reduce relaxation factors and use more conservative numerical schemes.”
I’m not sure what went wrong and how to fix it. my CAD is a simple tank with ports at the top and bottom.

Hi @pollack_eitan, thanks for posting on the forum and welcome to the SimScale Community :handshake:

From what you described, it seems you’re aiming at running a transient multiphase analysis, which you unfortunately won’t be able to perform using a Community account.

However, if you want to run a steady-state approximation of the problem, these resources might be helpful in troubleshooting the divergence issue:

If this still does not solve your issue, please make sure to share your project’s URL here so that we can take a closer look.

Best,
Igor

1 Like