Hi,
I am a newbie using Elmer. I was trying to run the "Magnetic Field induced by Harmonic currents " but I encountered an error while running the solver - Fortran runtime error: Attempt to DEALLOCATE unallocated 'currentmodel' ". What is the reason of this error? Can somebody please help me to solve it?Attached is the sif file.
Header
CHECK KEYWORDS Warn
Mesh DB "." "."
Include Path ""
Results Directory ""
End
Simulation
Max Output Level = 5
Coordinate System = Cartesian
Coordinate Mapping(3) = 1 2 3
Simulation Type = Steady state
Steady State Max Iterations = 1
Output Intervals = 1
Timestepping Method = BDF
BDF Order = 1
Coordinate Scaling = 1.0e-3
Angular Frequency = 1.0e5
Solver Input File = case.sif
Post File = case.vtu
End
Constants
Gravity(4) = 0 -1 0 9.82
Stefan Boltzmann = 5.67e-08
Permittivity of Vacuum = 8.8542e-12
Boltzmann Constant = 1.3807e-23
Unit Charge = 1.602e-19
End
Body 1
Target Bodies(1) = 1
Name = "Body 1"
Equation = 1
Material = 1
End
Body 2
Target Bodies(1) = 2
Name = "Body 2"
Equation = 1
Material = 2
End
Equation 1
Name = "Equation 1"
End
Material 1
Name = "Copper (generic)"
Electric Conductivity = 59.59e6
Electric Conductivity = 59.59e6
Relative Permeability = 0.999994
Relative Permeability = 0.999994
End
Material 2
Name = "Air (room temperature)"
Relative Permittivity = 1.00059
Relative Permeability = 1.00000037
Relative Permeability = 1.00000037
End
Boundary Condition 1
Target Boundaries(1) = 3
Name = "Ground"
AV im {e} 2 = 0
AV re {e} 2 = 0
AV im {e} 1 = 0
AV re {e} 1 = 0
AV im = 0
AV re = 0
End
Boundary Condition 2
Target Boundaries(1) = 1
Name = "Voltage"
AV im {e} 2 = 0
AV re {e} 2 = 0
AV im {e} 1 = 0
AV re {e} 1 = 0
AV im = 0
AV re = 0.01
End
Boundary Condition 3
Target Boundaries(1) = 4
Name = "Axial Field"
AV im {e} 2 = 0
AV re {e} 2 = 0
AV im {e} 1 = 0
AV re {e} 1 = 0
End
Error while launching elmer tutorial example for magnetic field induced by harmonic currentsi
-
- Site Admin
- Posts: 4812
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Error while launching elmer tutorial example for magnetic field induced by harmonic currentsi
At least the sif is missing a Solver i.e. the module that is supposed to calculate the fields. You should activate it in some body to have it included. -Peter
-
- Posts: 2237
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Error while launching elmer tutorial example for magnetic field induced by harmonic currentsi
Posting the mesh would help.
I have received this error when the body in the mesh isn't number 1
Target Bodies(1) = 1
would then produce this error.
I have received this error when the body in the mesh isn't number 1
Target Bodies(1) = 1
would then produce this error.
-
- Posts: 2237
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Error while launching elmer tutorial example for magnetic field induced by harmonic currentsi
I tested it and not having a solver produces this error. In the GUI you have to check the active solver box and add the equation.