Electrostatic force: strange results on internal surface charge layer

Numerical methods and mathematical models of Elmer
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: Electrostatic force: strange results on internal surface charge layer

Post by Rich_B »

Hello,
Attached is an ElmerGrid file that is similar to your geometry. If one reverses the order of the boundary condition input entries, then the order of parent1 and parent2 are also reversed.

Rich.
layers3.grd
(954 Bytes) Downloaded 34 times
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Electrostatic force: strange results on internal surface charge layer

Post by kevinarden »

That is good, keeps from having to manually edit the mesh. Goo dto know that you can control the parent. I had to make one modification to make the simulation work. The middle boundary only uses 1 parent to calculate electrical force density. So two boundaries on the interior is necessary one pointing to each parent.

The grid file creates the six boundaries, and they do exist in the mesh files and simulation, but the do not appear in ElmerGUI.
layers3.grd
(1.01 KiB) Downloaded 30 times
case.sif
(3.57 KiB) Downloaded 29 times
ElmerGrid 1 2 layers3
ElmerSolver case.sif
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: Electrostatic force: strange results on internal surface charge layer

Post by Rich_B »

Hi Kevin,

Attached is a third version of layers3.grd.

In the Boundary Definitions, changing the fourth entry called 'double of the boundary' from 1 to 2 tells ElmerGUI to include the extra boundaries. Now all six boundaries appear in ElmerGUI in the Tree, while the graphics window shows one of the two doubled boundaries.

Also, some element ratios were set to better distribute the elements near the boundaries.

Rich.
layers3.grd
(881 Bytes) Downloaded 29 times
Edit: I also reordered the boundaries, with 1 at the bottom and 6 at the top, so the case.sif should be updated, or change the numbering back.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Electrostatic force: strange results on internal surface charge layer

Post by kevinarden »

It looks good in ElmerGUI
elmergui.png
(57.61 KiB) Not downloaded yet
bI adjust the sif to match the boundary numbers, but the output in paraview came out wrong
paraview.png
(49.39 KiB) Not downloaded yet
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: Electrostatic force: strange results on internal surface charge layer

Post by Rich_B »

I'm traveling for the next few days and don't have Paraview installed on this net book, so I can't check the results. ElmerVTK won't load the vtu either, just crashes. Do the results look good in Paraview, if the boundaries are not set to double?

Rich.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Electrostatic force: strange results on internal surface charge layer

Post by kevinarden »

Yes they did look good without the double
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Electrostatic force: strange results on internal surface charge layer

Post by raback »

Hi,

The "double" is an old way of creating jumps on boundary conditions. It requires that the solvers know what to do with the jump i.e. have some kind of boundary condition for that. The initial problem was poor thermal contact which is one of the implemented ones. The if you have other field in your multiphysics case there should be other models as well. So things become overly complex. The only test case for this is "HeatGap". The feature could perhaps be removed as there is a more elegant way to deal with the jumps which need not be present in the mesh.

-Peter
Post Reply