Andreas Bick
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
2 years ago
15.03.2023, 08:51 GMT-4
Dear Aryan,
I understand that you are trying to model the potential in the region around a source using the Electrostatics interface in COMSOL Multiphysics, and you would like to approximate the V = 0 at infinity boundary condition.
You are correct that the main issue with defining boundary conditions on the outside of a domain is that they can affect the solution around the source. The farther away the boundary is from the source, the smaller the effect will be.
There are two options to address this issue:
Creating a very large physical domain: As you mentioned, you can create a spherical domain around the region of interest and assign V = 0 to its outer surface. A size of 10 times the scale of the core geometry might be a good value, but the required size depends on your specific situation. It is recommended to test different sizes to ensure accurate results.
Using infinite elements: This approach stretches the domain in the equations rather than in the geometry. Infinite elements can be advantageous in some cases, but they can also be computationally more expensive compared to a small domain. However, you should be aware of some known issues when modeling with infinite elements, such as poor element quality, slow convergence for iterative solvers, and increased time for assembly stages. To overcome these issues, it is recommended to use swept meshing in the infinite element domains and avoid using objects with different material parameters or boundary conditions inside an infinite element region. The required distance of the infinite elements to the source depends on the specific scenario, and it is recommended to test different distances to ensure an accurate solution.
Regarding the roles of the inner and outer layers in an infinite element geometry, the inner layer is where the transition between the domain of interest and the scaling domain happens, while the outer layer represents the "infinity" boundary condition. As you mentioned, if your primary concern is the V = 0 condition at infinity, infinite elements can be a viable option.
In summary, both methods have their merits, and the choice depends on your specific application and requirements. To determine the most appropriate method for your situation, I recommend testing different geometries and distances to ensure an accurate representation of the potential around the source.
Regards,
Andreas
Dear Aryan,
I understand that you are trying to model the potential in the region around a source using the Electrostatics interface in COMSOL Multiphysics, and you would like to approximate the V = 0 at infinity boundary condition.
You are correct that the main issue with defining boundary conditions on the outside of a domain is that they can affect the solution around the source. The farther away the boundary is from the source, the smaller the effect will be.
There are two options to address this issue:
1. Creating a very large physical domain: As you mentioned, you can create a spherical domain around the region of interest and assign V = 0 to its outer surface. A size of 10 times the scale of the core geometry might be a good value, but the required size depends on your specific situation. It is recommended to test different sizes to ensure accurate results.
3. Using infinite elements: This approach stretches the domain in the equations rather than in the geometry. Infinite elements can be advantageous in some cases, but they can also be computationally more expensive compared to a small domain. However, you should be aware of some known issues when modeling with infinite elements, such as poor element quality, slow convergence for iterative solvers, and increased time for assembly stages. To overcome these issues, it is recommended to use swept meshing in the infinite element domains and avoid using objects with different material parameters or boundary conditions inside an infinite element region. The required distance of the infinite elements to the source depends on the specific scenario, and it is recommended to test different distances to ensure an accurate solution.
Regarding the roles of the inner and outer layers in an infinite element geometry, the inner layer is where the transition between the domain of interest and the scaling domain happens, while the outer layer represents the "infinity" boundary condition. As you mentioned, if your primary concern is the V = 0 condition at infinity, infinite elements can be a viable option.
In summary, both methods have their merits, and the choice depends on your specific application and requirements. To determine the most appropriate method for your situation, I recommend testing different geometries and distances to ensure an accurate representation of the potential around the source.
Regards,
Andreas