Circuit + CoilSolver - Transformer Test

Numerical methods and mathematical models of Elmer
Post Reply
gforti
Posts: 3
Joined: 11 Jan 2022, 20:39
Antispam: Yes

Circuit + CoilSolver - Transformer Test

Post by gforti »

Hello,

I've been studying Elmer FEM through the webinars and tutorials. To try to understand it better, I am trying a simple simulation of a transformer.
The transformer has a very simple geometry and I am using GMSH to create the geometry + mesh.
The driving fields are established through "CircuitsAndDynamics" and 3D coil is calculated using "CoilSolver".
I am comparing the results with some simple analytical calculations.

My issue here is the difference between the results from 2D and Analytical simulations (which agree) with the 3D one (specially at higher frequencies).

All the files are attached.
GMSH files: trafo_geo_v4.py + trafo3d_geo.py. The command for ElmerGrid is in cmd_elmerGrid.txt
Analytical calculation: Trafo_Ind.py (calculated results for 6 Hz, 60 Hz and 600 Hz are commented here)
Elmer FEM files are the remainder ones.

I am running Elmer in an Ubuntu 20.04 based distro (Elementary OS 6.1)
Version: 9.0 (Rev: 1c73bb548, Compiled: 2022-11-23)
Attachments
Elmer_Trafo_Test.zip
(9.19 KiB) Downloaded 8 times
mesh_3d_2.zip
(812.08 KiB) Downloaded 7 times
mesh_2d.zip
(98.67 KiB) Downloaded 7 times
vencels
Posts: 42
Joined: 20 Sep 2016, 17:05
Antispam: Yes
Location: Latvia
Contact:

Re: Circuit + CoilSolver - Transformer Test

Post by vencels »

Hi,

This is not a commercial post of mine, but I would like to suggest you to try TRAFOLO https://trafolo.eu/download-page/
It generates Elmer's sif files and runs it so you can get some ideas out of it.

Free for non-commercial use. We would be very happy if you could do comparisons with other solutions.

If any issues, you can find my contact details on the web.

Juris
Post Reply