Dear Elmer-community,
I am facing a problem which is very close related to the test case which can be found here:
https://github.com/ElmerCSC/elmerfem/tr ... teady_wire
In fact, it is the same test except for the fact, that I use a different meshed geometry.
I want to compare the magnetic field with the results of the quasi-static case (E.g. Angular frequency =100rad/s) of the Elmer-GUI Tutorial 7 "Magnetic field induced by harmonic current in a wire".
If I use the provided test case with the wire.grd geometry and a desired current of 188.4 A to get the expected magnetic field of 0.037 T everything works fine.
But If I use my meshed geometry I get an implausible B-Field distribution as depicted in Figure.
In the .sif I only changed the boundary conditions.
I have applied the boundary conditions by using Gmsh and using the command:
ElmerGrid 2 4 GmshWire
I do not see any difference compared to the test case "mgdyn_steady_wire".
The sif File as well as the geometry are enclosed in this Post as zipFile.
I highly appreciate if someone could help me.
Best regards,
Phlix
magnetic field of a straight wire due to static current
-
- Site Admin
- Posts: 4838
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: magnetic field of a straight wire due to static current
Hi Phlix
Nasty little problem in the sif file: You had wrong size of Target Boundaries in the AirSurface. Try with this:
-Peter
Nasty little problem in the sif file: You had wrong size of Target Boundaries in the AirSurface. Try with this:
Code: Select all
Boundary Condition 5
Name = "AirSurface"
Target Boundaries(4) = 1 2 9 12
AV {e} 1 = Real 0.0
AV {e} 2 = Real 0.0
End
Re: magnetic field of a straight wire due to static current
Hi Peter,
thank you very much for checking my sif!
Best regards!
Phlix
Ps.
To everyone who is new to Elmer and want to check this case...
Unzip the attached file of the initial post, correct the mentioned mistake of the previous post in the sif file.
With the command prompt in windows go to the unzipped folder.
To execute the solver with the command prompt type:
ElmerSolver case.sif >elmersolver.log
thank you very much for checking my sif!
Best regards!
Phlix
Ps.
To everyone who is new to Elmer and want to check this case...
Unzip the attached file of the initial post, correct the mentioned mistake of the previous post in the sif file.
With the command prompt in windows go to the unzipped folder.
To execute the solver with the command prompt type:
ElmerSolver case.sif >elmersolver.log