Search found 15 matches

by JanHoek
12 May 2020, 12:58
Forum: ElmerSolver
Topic: Simulation of the force between two magnets
Replies: 31
Views: 17229

Re: Simulation of the force between two magnets

Are you sure about this? When I generate the mesh using gmsh with the given .geo file, I get three bodies:
Elmer_bodies.png
(93.33 KiB) Not downloaded yet
TwoMagnets.geo
(911 Bytes) Downloaded 333 times
mesh.elements
(19.45 KiB) Downloaded 321 times
by JanHoek
12 May 2020, 10:58
Forum: ElmerSolver
Topic: Simulation of the force between two magnets
Replies: 31
Views: 17229

Re: Simulation of the force between two magnets

Thank you Kevin for your response! When I use that condition with the direction normal to the boundaries (so direction 1 for boundaries 3, 13 and 15 and direction 2 for boundaries 5, 12 and 14), it gives the same result. Here is the case file with the alteration you suggested: case.sif Could anythin...
by JanHoek
11 May 2020, 17:44
Forum: ElmerSolver
Topic: Simulation of the force between two magnets
Replies: 31
Views: 17229

Re: Simulation of the force between two magnets

Hi everyone, For further verification of the magnetic force implementation in Elmer, I am now trying to add symmetry planes to the model, simulating a quarter of the 3D case. For the symmetry, I am using that the magnetic flux density normal to the plane of symmetry is equal to zero. This also means...
by JanHoek
01 May 2020, 10:49
Forum: ElmerSolver
Topic: Simulation of the force between two magnets
Replies: 31
Views: 17229

Re: Simulation of the force between two magnets

Thank you Mika, you are correct. I was using some different models which had different orientations, it does gives the expected result right now. Sorry for the silly mistake.

- Jan
by JanHoek
27 Apr 2020, 21:31
Forum: ElmerSolver
Topic: Simulation of the force between two magnets
Replies: 31
Views: 17229

Re: Simulation of the force between two magnets

I tried to refine the mesh a couple of times for the case where the distance between the magnets is 1mm. I also tried multiple local mesh refinements, however the solution seems to converge to half the value of the analytical solution and 2D axisymmetric case result every time. Here are the files I ...
by JanHoek
23 Apr 2020, 17:20
Forum: ElmerSolver
Topic: Simulation of the force between two magnets
Replies: 31
Views: 17229

Re: Simulation of the force between two magnets

Below are the files I used for the 2D case:
case.sif
(3.83 KiB) Downloaded 366 times
d20.grd
(923 Bytes) Downloaded 356 times
The analytical solution is valid for x>>R, given by:
Analytical_Solution.png
Analytical_Solution.png (97.13 KiB) Viewed 5221 times
Does anyone have any idea why the solutions from the 2D and 3D case are different? Any help would be greatly appreciated.

Kind regards,
Jan
by JanHoek
23 Apr 2020, 17:15
Forum: ElmerSolver
Topic: Simulation of the force between two magnets
Replies: 31
Views: 17229

Re: Simulation of the force between two magnets

Hi All, Thank you for everybody who has been studying the case! It seems that the nodal forces had not been used in 2D cylindrically symmetric cases before. So the postprocessing code was missing the weight multiplication by the radius. I have just committed a fix to the devel branch. Now the fact ...
by JanHoek
04 Feb 2020, 14:43
Forum: Installation & compilation
Topic: Implementing updates/fixes without complete compiling
Replies: 6
Views: 4832

Re: Implementing updates/fixes without complete compiling

Unfortunately, the installation gets stuck at 80% when running the command 'pacman -S mingw-w64-x86_64-qt5', at installing qt. Has anyone else experienced this problem? I also tried to download Qt as a stand-alone, however that hasn't worked for me so far...
by JanHoek
03 Feb 2020, 16:34
Forum: Installation & compilation
Topic: Implementing updates/fixes without complete compiling
Replies: 6
Views: 4832

Re: Implementing updates/fixes without complete compiling

Hi Peter,

Thank you for your quick reply, much appreciated! I will look into both and post my results later.

-Jan
by JanHoek
03 Feb 2020, 14:00
Forum: Installation & compilation
Topic: Implementing updates/fixes without complete compiling
Replies: 6
Views: 4832

Implementing updates/fixes without complete compiling

Hey everyone, I understood that the nightly version for windows are currently down, which is why I have been trying to compile Elmer from the source code. However, every time I fix the error at hand a new error occurs. I am compiling on Windows 10 with Visual Studio 15. I am now trying to compile El...