Comsol: Infinite Element Domain module

Click For Summary

Discussion Overview

The discussion revolves around the use of the Infinite Element Domain module in Comsol for simulating a 2D heat transfer process in an infinite region. Participants explore the differences in results when using traditional lengthy geometries versus the Infinite Element Domain approach, focusing on boundary conditions and the accuracy of numerical solutions compared to analytical results.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes their successful simulation of a lengthy geometry that matches analytical solutions, while encountering issues with the Infinite Element Domain approach.
  • Another participant confirms that infinite elements can reduce computational effort and are used in various fields, suggesting that the participant should share their model for better advice.
  • A participant elaborates on their boundary conditions and the discrepancies in results when using the Infinite Element Domain, questioning if they are missing something in the implementation.
  • There is a request for clarification on the differences in results between the analytical solution, the finite element model, and the model with infinite elements.
  • One participant asks about the continuity of temperature and heat flux at the interface of the bounded region and the Infinite Element Domain.
  • Another participant provides temperature and heat flux profiles, indicating continuity at the interface but still questions the accuracy of the results with the Infinite Element Domain.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the correct implementation of the Infinite Element Domain in Comsol, with no consensus on whether the discrepancies in results are due to user error or limitations of the method itself.

Contextual Notes

Participants mention specific boundary conditions and the importance of the geometry's dimensions, but there are unresolved questions regarding the implementation details and the expected behavior of the Infinite Element Domain.

Who May Find This Useful

This discussion may be useful for users of Comsol interested in heat transfer simulations, particularly those exploring the use of Infinite Element Domains for modeling infinite regions.

madani
Messages
5
Reaction score
0
Hello folks,
I want to simulate a 2D heat transfer process in the subsurface on a region which is infinite on the r-direction. So, as you know, the very basic way to model this is to draw a geometry that is very long in the r direction. I have done this, and the results that I obtain is correct as in this case, the results are matched with the analytical solution. As you know, there is a capability in Comsol called infinite element domain which serves the purpose to the problem mentioned above. In this case, we need to define a limited geometry on which we want to solve the PDE, and also need to draw a small domain acting as the Infinite Element Domain. However, in this case, the results are not correct because they are not matched with the analytical solution. Is there anything that I am missing to correctly use Infinite Element Domain in Comsol?
Any help or comment would be appreciated.
 
Engineering news on Phys.org
There are some examples of analyses involving infinite elements in Comsol's Application Gallery. Have you checked them ?
 
  • Like
Likes   Reactions: madani
FEAnalyst said:
There are some examples of analyses involving infinite elements in Comsol's Application Gallery. Have you checked them ?
Hi, thanks for your reply.
Yup, I have checked them, and I think I am doing it right for the problem that I am considering. I have a question; to numerically solve an infinite region problem, one way is to draw a very lengthy region, right? And, now one functionality of infinite elements domain feature of Comsol is to replace this infinite region with a finite region and then stick to it an infinite element domain, right?
 
Yes, with sufficiently large models it’s usually possible to approximate unbounded (or almost unbounded when compared with the ROI) domains. But infinite elements allow you to reduce the computational effort by performing the analyses on much smaller geometries. Those elements are often used in acoustics and even solid mechanics (e.g. infinite plates).

Can you attach some pictures showing your model ? It would be easier to give some advice.
 
  • Like
Likes   Reactions: madani
Thanks again for your prompt reply.
Please consider this geometry
Q1.jpg

At the inner BC, a fluid at constant temp is injected, and far at the infinity, the boundary condition is another constant temperature (lower than that at the inner BC). Also, the temp at initial condition is the same as that at the outer boundary condition. Now, the general way to model this is to draw this geometry whose length in the r direction is large. The simulation results are correct until the temperature at the outer boundary condition starts to increase. The problem has an analytical solution, based on which I have verified the numerical results.

Another way to model this, is to use infinite element domain in Comsol. For this, the above geometry can be replaced with:
Q2.JPG

In this case, I assume even if temp at the outer boundary (at the bounded region, not at the infinite element domain) starts to increase, the results should be correct. However, the results in this case, is incorrect (unverified against the analytical solution). I wonder what I am missing, or if I am doing something wrong in Comsol?

Thanks again.
 
Last edited:
What are the differences in the results (analytical, finite element only model and the one with infinite elements) ?
 
  • Like
Likes   Reactions: madani
Here are the results that I get:
1629474572950.png

Either I am missing something on how I should implement this Infinite Element in Comsol, or I am mistaken to believe that Infinite element works for this scenario.

Let me elaborate more on the problem:
A fluid with high temperature is being injected into a region with lower temperature:
1629474664577.png

The equation to solve is:
1629475164428.png

With the following initial and boundary conditions (note that the upper and lower boundary condition is no-flux):
1629475180541.png

We want to obtain the temperature profile over the length of rw<r<140 m (rw is very small and is equal to 0.005 m here) at different times. One way to model this numerically in Comsol is to draw a rectangle that is 2000 m in the r-direction, and get results only in the span of r [rw,140] m:
1629475209121.png


The results of this case is fine, because they are well-matched with the analytical solution.Another way to model this is to replace the above geometry with a bounded one that is [rw, 140] m in the r-direction and then augment it with an Infinite Element domain that is meshed mapped, as follows:
1629475232266.png


Here, I have set the thickness of Infinite Element to 10 m in the r-direction. However, the results in this case are not matched with the analytical solution (or the above case where Infinite Element domain was not used). Is there anything that I am missing in Comsol? I have also changed some variables with regard to Infinite Element in Comsol such as physical width or distance, but I didn't see any changes in the results.

Thanks for your assistance.
 
Do the temperature and heat flux contour plots look correct in the case when infinite elements are used ? Are their distributions continuous at the interface of these two domains ?
 
The temperature profile:
1629522349286.png


The temperature gradient (representing heat flux) profile:
1629523180588.png

The bounded region or the so-called ROI is 0.005<r<140 m and physical width of infinite element in the r-direction is 10 m. As you can see, the temperature and its gradient are both continuous at the interface (r=140 m).

As far as temperature and flux contours in both the bounded region and infinite element are concerned, I don't see anything suspicious. Here, for example, the contour map of temperature is:
1629523479084.png
 

Similar threads

Replies
1
Views
2K
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K