Hi
In COMSOL, the discretization could be setted by this
Could Elmer do this?
Xiejinzhi
how to set discretization in Elmer
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: how to set discretization in Elmer
Hi
If you have Lagrange/Serendipity-elements then what is used is the elements in the mesh file. All shapes are supported to 2nd degree, some shapes even up to 4th.
More convenient way to increase basis power is to use hierarchical p-basis. This does not work for all solvers, but does for HeatSolveVec, for example. There you can say
where n defines the polynomial degree. Usually n=2..4 but it could be at least 10 (which is usually an overkill).
For curved shapes you may have to pull some additional keywords to obtain ideal convergence rate.
-Peter
If you have Lagrange/Serendipity-elements then what is used is the elements in the mesh file. All shapes are supported to 2nd degree, some shapes even up to 4th.
More convenient way to increase basis power is to use hierarchical p-basis. This does not work for all solvers, but does for HeatSolveVec, for example. There you can say
Code: Select all
Element = p:n
For curved shapes you may have to pull some additional keywords to obtain ideal convergence rate.
-Peter
-
- Posts: 2318
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: how to set discretization in Elmer
In ElmerGUI you can edit solver settings on on the general options tab there is free field input, so you can add
Element="p:2" or Element = "p:4", etc.
Element="p:2" or Element = "p:4", etc.