Heat transfer and Fluid Mechanics, COMSOL

Click For Summary
SUMMARY

This discussion focuses on coupling heat transfer and fluid mechanics using COMSOL for a model involving a concrete slab with a water pipe. The user is experiencing fluctuations in the velocity field and temperature within the water pipe, as well as solver errors related to a "zero in diagonal matrix." Recommendations include refining the mesh, smoothing corners, and starting with a no-flow condition to establish a good initial guess for the temperature solution.

PREREQUISITES
  • COMSOL Multiphysics for modeling
  • Understanding of heat transfer principles
  • Knowledge of fluid mechanics, particularly laminar flow
  • Experience with numerical methods and solver settings
NEXT STEPS
  • Learn about mesh refinement techniques in COMSOL
  • Explore the use of initial conditions and solver settings for transient analysis
  • Investigate the impact of artificial diffusion on fluid simulations
  • Study methods for identifying and resolving singularities in numerical solutions
USEFUL FOR

Engineers and researchers working on thermal-fluid simulations, particularly those using COMSOL for heat transfer and fluid mechanics applications.

Windforce
Messages
1
Reaction score
0
Heat transfer and Fluid Mechanics, COMSOL Help

Hello,
I am trying to couple heat transfer and fluid mechanic together, model is a simple concrete slab (3'x6')with a water pipe beneath it and along 3' direction. For heat transfer, the heat flux will apply on the surface of concrete slab, other faces are thermally isolated, the temperature of concrete and water at inlet are 273K, and water outlet is set to be convective flux. activate convective heat transfer in water pipe with u, v, w.
For fluid mechanics, DE-activate concrete slab properties, and only activate water pipe, and inlet of water is set to be laminar flow with V=0.058m/s, and outlet is set to be Pa=0.
I tried both stationary and time-dependent,
I used Direct Spooles for stationary, the velocity field at center of water pipe is fluctuate, and as well as temperature, both number will move up and down along the water pipe.
For time-dependent, I could not find a solver to solve it, always show errors on "zero in diagonal matrix".
What should I do to improve the analysis? I increased mesh side, swept mesh, to very fine mesh size, still not work, I also try to use artificial diffusion, Isotropic, but the Vmax will not be V=0.058*2.
Can anyone give me some advice or point out what I did wrong? please, this has been puzzled for couple months,
Thanks
 
Last edited:
Engineering news on Phys.org


Windforce said:
Hello,
I am trying to couple heat transfer and fluid mechanic together, model is a simple concrete slab (3'x6')with a water pipe beneath it and along 3' direction. For heat transfer, the heat flux will apply on the surface of concrete slab, other faces are thermally isolated, the temperature of concrete and water at inlet are 273K, and water outlet is set to be convective flux. activate convective heat transfer in water pipe with u, v, w.
For fluid mechanics, DE-activate concrete slab properties, and only activate water pipe, and inlet of water is set to be laminar flow with V=0.058m/s, and outlet is set to be Pa=0.
I tried both stationary and time-dependent,
I used Direct Spooles for stationary, the velocity field at center of water pipe is fluctuate, and as well as temperature, both number will move up and down along the water pipe.
For time-dependent, I could not find a solver to solve it, always show errors on "zero in diagonal matrix".
What should I do to improve the analysis? I increased mesh side, swept mesh, to very fine mesh size, still not work, I also try to use artificial diffusion, Isotropic, but the Vmax will not be V=0.058*2.
Can anyone give me some advice or point out what I did wrong? please, this has been puzzled for couple months,
Thanks

try to find a singularity in the fluid or thermal solution and start with a good first guess at the problem solution by running no flow and feed the temperature solution for a first guess

turn smoothing of corners on and refine your mesh and raise your iteration at the beginning of the solution... take like five time steps and plot the solution you may find where the matrix is singular or trouble is occurring
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
18
Views
5K
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
5
Views
4K
Replies
3
Views
6K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K