Ashish Kumar
Forum Moderator

Translated:

Dear everyone,

Maxwell cannot be used due to licensing issues.
I created the program below to simulate the effect of fringe electric fields on parallel plate capacitors in MAPDL, but the simulation does not work well.

/CLEAR
/PREP7
 
! Plate dimensions (convert from μm to mm)
width = 0.1
height = 0.02
thickness = 0.003
separation = 0.01
 
! Configured for electrostatic analysis of 3D 8-node elements
ET,1,SOLID122
 
! Define infinite element
ET,2,111,2,1
 
! Material properties (relative dielectric constant in vacuum)
MP,PERX,1,8.854e-12
 
! Create your first plate
BLOCK,0,width,0,height,0,thickness
 
!Create second plate
BLOCK,0,width,0,height,separation,separation+thickness
 
! Mesh settings
ESIZE,0.005 ! Set element size
 
!Apply mesh to all volumes
ALLSEL,ALL
VMESH,ALL
 
/SOLU
 
! Specify electrostatic analysis
ANTYPE,STAT
 
! boundary condition
ALLSEL
CSYS,0
 
!Apply 0V to the top of the first plate
ASEL,S,LOC,Z,thickness
NSLA,S,1
D,ALL,VOLT,0
 
!Apply 1V to the bottom of the second plate
ALLSEL
ASEL,S,LOC,Z,separation
NSLA,S,1
D,ALL,VOLT,1
 
! Find the solution
SOLVE
FINISH
 
/POST1
PLNSOL,VOLT ! Plot node solution (voltage)
 
! Calculate capacity by extracting electric field energy
/OUT, CAPACITANCE_CALCULATION, , TXT
*GET, W, ENER, , STAT, ENE
V = 1
C = 2*W/(V**2)
*STATUS, C
/OUT
 
 
Please tell me what needs to be improved.
 
thank you