How Does Mesh Size Affect Heat Transfer Modeling in COMSOL?

  • Thread starter Thread starter GT1
  • Start date Start date
  • Tags Tags
    Comsol Fea
Click For Summary

Discussion Overview

The discussion revolves around the impact of mesh size on heat transfer modeling in COMSOL, specifically for a hollow heated cylinder. Participants explore questions regarding the appropriate number of mesh elements, the relationship between mesh size and solution accuracy, and strategies for effective meshing in finite element analysis (FEA).

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions whether 170,000 mesh elements are necessary for obtaining an average temperature of the cylinder, suggesting that around 10,000 elements might suffice if boundary effects are not a concern.
  • Another participant mentions that the accuracy of the solution can depend on the geometry and problem description, introducing the concept of a "mesh convergence study" to determine if the mesh is sufficiently refined.
  • A participant notes that the complexity of the CAD model with holes and small features may necessitate a larger mesh size, indicating that they have faced challenges in using a coarser mesh due to meshing failures.
  • Some participants suggest that simplifying the model by removing unnecessary features could help reduce the mesh size while still achieving the desired results.
  • There is a mention of the analytical solution to the heat equation for a cylinder, which could provide a reference point for comparison with FEA results.
  • A participant inquires about the specifics of mesh size in COMSOL's 'extremely coarse' setting, indicating a need for more detailed guidance on mesh parameters.

Areas of Agreement / Disagreement

Participants express varying opinions on the adequacy of the mesh size, with some suggesting that fewer elements may be sufficient while others emphasize the importance of maintaining a larger mesh due to the model's complexity. The discussion remains unresolved regarding the optimal mesh size and the necessity of a convergence study.

Contextual Notes

Participants highlight the importance of engineering discretion in determining mesh size, noting that the specific requirements of the problem and the geometry can significantly influence the choice of mesh. There are also references to potential computational limitations based on available resources.

Who May Find This Useful

This discussion may be useful for students and practitioners involved in finite element analysis, particularly those using COMSOL for heat transfer modeling, as well as those interested in understanding the implications of mesh size on simulation accuracy.

GT1
Messages
129
Reaction score
0
I'm a student with no much experience with FEA and COMSOL. I'm trying to model the heat transfer from a heated cylinder. The cylinder has diameter of about 0.18 m and height of 0.36 m. The cylinder is hollow with holes from one side to the other side.
I'm interesting in finding the temperature of the cylinder on steady state.
my questions are:
1. How much elements the mesh should have? I just want to know the average temperature of the cylinder, I'm not interesting in some boundary effects or some thing like this. The mesh I have now has 170,000 elements. Is it enough for this kind of problem? When I try to model something, how do I know what is a reasonable size for the mesh?
2.Does the size of the mesh effects the accuracy of the whole solution? If a problem solved once with fine mesh and once with coarse mesh, would the average temperature of the whole object will be different?
 
Engineering news on Phys.org
GT1 said:
1. How much elements the mesh should have? I just want to know the average temperature of the cylinder, I'm not interesting in some boundary effects or some thing like this. The mesh I have now has 170,000 elements. Is it enough for this kind of problem? When I try to model something, how do I know what is a reasonable size for the mesh?

170,000 elements is too many if you're just looking for a simple tempertuare profile and aren't conncerned about boudnary effects. Without a picture of your geometry and mesh, I would think you could have a mesh of around 10,000 and very easily accomplish what you're wanting. Of course, if you want an average tempertaure you could just solve for it analytically, it sounds like a fairly straightforward problem.

As for how to know if the mesh is fine enough, the user has to excersise some engineering discretion. You decide based on what you know about the problem, where the areas of interest are, and what values you are expecting based on some simple analytical modeling or empirical testing. Usually experienced users know if a mesh is fine enough just by looking at it and knowing what is being solved for and how accurate the result must be.

GT1 said:
2.Does the size of the mesh effects the accuracy of the whole solution? If a problem solved once with fine mesh and once with coarse mesh, would the average temperature of the whole object will be different?

It depends on the geometry, the problem description, and what you're solving for. Generally there is a method called a "mesh convergence study" where the mesh is incrementally refined and results are compared to see if their change is greater than a certain percent value. If the mesh is refined and nothing changes (or the changes are below some threshhold, say 5%) the mesh has "converged."

For a problem such as you're describing it, I seriously doubt a mesh convergence study will be required.
 
Last edited:
Mech_Engineer said:
170,000 elements is too many if you're just looking for a simple tempertuare profile and aren't conncerned about boudnary effects. Without a picture of your geometry and mesh, I would think you could have a mesh of around 10,000 and very easily accomplish what you're wanting. Of course, if you want an average tempertaure you could just solve for it analytically, it sounds like a fairly straightforward problem.

Thanks Mech_Engineer!
170,000 elements is the minimum size for which the meshing succeed. I imported a CAD model (IGES) to COMSOL. The model is not a perfect cylinder, it has holes, small faces, short edges etc, and every time I tried to mesh it with coarser mesh, it failed.
Maybe I don't know how to mesh it right. Do you have meshing tips?
 
GT1 said:
Thanks Mech_Engineer!
170,000 elements is the minimum size for which the meshing succeed. I imported a CAD model (IGES) to COMSOL. The model is not a perfect cylinder, it has holes, small faces, short edges etc, and every time I tried to mesh it with coarser mesh, it failed.
Maybe I don't know how to mesh it right. Do you have meshing tips?


Hmm, well if the part has complex geometry like little holes and stuff, you'll have to keep the mesh where its at. It's important to keep in mind that if you don't really care about precise temperature distributions around certain geometry elements, you can help make the mesh simpler by removing those elements. Also, removing things like countersinks, chamfers, and radiused edges will help simplify the mesh dramatically.

A mesh with 170,000 elements may be too large for a "regular" computer to solve, it depends on how much ram and hard drive space you have available. Let me also stress again that you'll probably want to have some analytical calculations so you have a ballpark estimate of what the FEA answer will be.
 
Last edited:
I agree with Mech, get yourself an analytic solution to start with. The solution to the heat equation for a cylinder is a Bessel function IIRC. You should be able to easily find an exact equation.
 
One of the things that characterizes FEA, is the need to simplify your model according to what you want to know. If the little holes have no influence on your final solution, simply leave them out. If you are interested in a simple cylinder, model the cylinder and leave everything else out :)
 
Can I just squeeze in a little question here?

In the 'extremely coarse' mesh in comsol, what is the mesh size? I need the mesh size details, and they don't seem to be mentioned in the free mesh parameters...please suggest.
 

Similar threads

Replies
15
Views
3K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 45 ·
2
Replies
45
Views
7K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
1
Views
5K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
2
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K