Page 4 of 4

Re: Closed coil with core simulation

Posted: 09 Apr 2020, 02:28
by raback
Hi Frederic,

There should not be any empty files. There can be may .vtu files if you run in parallel and the .pvtu file is then the wrapper file.

Perhaps you could share a listing of your problem?

-Peter

Re: Closed coil with core simulation

Posted: 10 Apr 2020, 01:46
by ftrillaudp
Dear Peter an all,

Here is the case study. It involves 4 coils and an iron core around them. I join the case study as well as the log.txt file. There is no error indicated in the log.txt file that I have pinpointed.

When running the case, I get 18 vtu files labelled case_t0001.vtu to case_t0018.vtu. Some of these files have no results such as case_t0003.vtu for instance and some results are repeated through some of the files. I did not attached the results since there are two heavy to uploaded, running the case study should create the vtu files. It creates also a results.pos in Gmsh format (some issue there to open in the lasses Gmsh release).

I do not understand why so many files are created first and then why some of them have empty results only providing the "GeometryIDs".

Best,

Frederic

Re: Closed coil with core simulation

Posted: 10 Apr 2020, 02:02
by raback
Hi

Join solvers 4 and 8 by adding keywords "Vtu Format = Logical True" and "Gmsh Format = Logical True" and keep the "After Simulation" active.

-Peter

Re: Closed coil with core simulation

Posted: 25 May 2024, 03:26
by thalesmaoa
I'm not able to open this example. I made a fresh new compilation, I also tested with the VM. When I load the mesh I get segfault using ElmerGUI.
Any help?

Re: Closed coil with core simulation

Posted: 25 May 2024, 11:14
by kevinarden
If you run
ElmerGrid 2 2 MESH -autoclean
it will open in ElmerGUI
but it renumbers the BCs

The ElmerSolver should run with the mesh as is.

Re: Closed coil with core simulation

Posted: 25 May 2024, 23:17
by thalesmaoa
Thanks Kevin, that worked. I also run with Elmer solver.

However, after opening the result with Paraview, there was a huge value for flux. The value seems odd. Thus I decided to simulate it with femm. It seems that the value is doubled.

Image

Image

Do I need to adjust anything for postprocessing Elmer results?

Re: Closed coil with core simulation

Posted: 26 May 2024, 05:34
by thalesmaoa
Just a quick correction. Since I wasn't able to see the model, I wrongly assumed that the picture lack of core material. I will perform again my simulation.

Re: Closed coil with core simulation

Posted: 26 May 2024, 16:39
by thalesmaoa
I still get the same result. I need to double the current to reach the same potential. I can't understand what can be the problem.

Re: Closed coil with core simulation

Posted: 27 May 2024, 04:13
by thalesmaoa
Just a quick followup.
There is a problem with the example. Body 2 and 3 are switched. The correct config is:

Code: Select all

Body 1
  Name = "Inductor"
  Target Bodies(1) = 1
  Equation = 5
  Material = 1
  Body Force = 1 
End

Body 3
  Name = "Core"
  Target Bodies(1) = 2
  Equation = 6
  Material = 3
End

Body 2
  Name = "Air"
  Target Bodies(1) = 3
  Equation = 1
  Material = 2
End