Current Solver Test
Posted: 10 Jan 2012, 15:28
Hi All,
This is a complete file package with which you can test the CurrentSolve solver.
Current through a AWG20 wire is solved for, when applying 0.1V. The Whitney EM solver is also used to calc the resulting magnetic field.
To make sure my models were being correctly calculated, I modelled the following:
- 5cm AWG20 copper wire with expected resistance of 1.72mOhm
- 0.1V across the wire, should result in 5.8W power loss
- Aircube with 10cm sides at zero potential
- the two objects are meshed in conformal fashion using salome, allowing correct electromagnetic modeling. Note that this is key to making this work.
Result: It works nicely! Part of the solver log:
-------------------------------------------------------------------------------------------
StatCurrentSolve: Total Heating Power : 5.8175872743848025
StatCurrentSolve: Effective Resistance : 1.71892565222538573E-003
-------------------------------------------------------------------------------------------
The Salome python script that generates the model and mesh can be found here: The sif file is here: And finally, the project folder is below. You can extract the folder and open it as a project in elmer - but note that you have to generate the sif file, then edit it, load case2.sif, save it as case.sif and only then start the solver. I dont have the project set up for ElmerGUI, and the GUI overwrites the case by default. VTK showing the electrical potential on the wire
VTK showing the potential and the magnetic flux
This is a complete file package with which you can test the CurrentSolve solver.
Current through a AWG20 wire is solved for, when applying 0.1V. The Whitney EM solver is also used to calc the resulting magnetic field.
To make sure my models were being correctly calculated, I modelled the following:
- 5cm AWG20 copper wire with expected resistance of 1.72mOhm
- 0.1V across the wire, should result in 5.8W power loss
- Aircube with 10cm sides at zero potential
- the two objects are meshed in conformal fashion using salome, allowing correct electromagnetic modeling. Note that this is key to making this work.
Result: It works nicely! Part of the solver log:
-------------------------------------------------------------------------------------------
StatCurrentSolve: Total Heating Power : 5.8175872743848025
StatCurrentSolve: Effective Resistance : 1.71892565222538573E-003
-------------------------------------------------------------------------------------------
The Salome python script that generates the model and mesh can be found here: The sif file is here: And finally, the project folder is below. You can extract the folder and open it as a project in elmer - but note that you have to generate the sif file, then edit it, load case2.sif, save it as case.sif and only then start the solver. I dont have the project set up for ElmerGUI, and the GUI overwrites the case by default. VTK showing the electrical potential on the wire
VTK showing the potential and the magnetic flux