How to plot the electric field?

The graphical user interface of Elmer
Post Reply
sprite
Posts: 7
Joined: 04 Nov 2015, 15:31
Antispam: Yes

How to plot the electric field?

Post by sprite »

Hello.
I've just formed a simulation. I used Electrostatics and set "Calculate Electric Field = True". Then in ElmerVTK, potential can be plotted, but when I click Vector and choose Electric.field as vector then click apply, nothing is plotted. How can I plot the Electric field vector?
my sif file:

Code: Select all

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
  Solver Input File = case.sif
  Post File = case.ep
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 = 2
  Material = 2
End

Solver 1
  Equation = Electrostatics
  Variable = Potential
  Procedure = "StatElecSolve" "StatElecSolver"
  Calculate Electric Field = True
  Exec Solver = Always
  Stabilize = True
  Bubbles = False
  Lumped Mass Matrix = False
  Optimize Bandwidth = True
  Steady State Convergence Tolerance = 1.0e-5
  Nonlinear System Convergence Tolerance = 1.0e-7
  Nonlinear System Max Iterations = 20
  Nonlinear System Newton After Iterations = 3
  Nonlinear System Newton After Tolerance = 1.0e-3
  Nonlinear System Relaxation Factor = 1
  Linear System Solver = Iterative
  Linear System Iterative Method = BiCGStab
  Linear System Max Iterations = 500
  Linear System Convergence Tolerance = 1.0e-10
  BiCGstabl polynomial degree = 2
  Linear System Preconditioning = Diagonal
  Linear System ILUT Tolerance = 1.0e-3
  Linear System Abort Not Converged = False
  Linear System Residual Output = 1
  Linear System Precondition Recompute = 1
End

Equation 1
  Name = "Equation 1"
  Active Solvers(1) = 1
End

Equation 2
  Name = "Equation 2"
End

Material 1
  Name = "Air (room temperature)"
  Viscosity = 1.983e-5
  Heat expansion Coefficient = 3.43e-3
  Heat Conductivity = 0.0257
  Relative Permittivity = 1.00059
  Sound speed = 343.0
  Heat Capacity = 1005.0
  Density = 1.205
End

Material 2
  Name = "Gold (generic)"
  Heat expansion Coefficient = 14.2e-6
  Electric Conductivity = 45.17e6
  Electric Conductivity = 45.17e6
  Heat Conductivity = 318.0
  Sound speed = 2030.0
  Heat Capacity = 129.0
  Mesh Poisson ratio = 0.44
  Density = 19300.0
  Poisson ratio = 0.44
  Youngs modulus = 78.0e9
End

Boundary Condition 1
  Target Boundaries(1) = 7 
  Name = "BoundaryCondition 1"
  Potential Condition = 7000
  Potential = 7000
End

Boundary Condition 2
  Target Boundaries(6) = 1 2 3 4 5 6 
  Name = "BoundaryCondition 2"
  Electric Infinity BC = True
End
Any hints?
Thanks
Post Reply