5/29/13
C hapter 12. El ectr i c Fiel d Analysi s
Low-Frequency Guide |
Chapter 12. Electric Field Analysis
www.kxcad.net Hom Ho me > CAE Index > AN ANSYS SYS Index > Release 11. 11.0 0 Documentation for A NSYS
Electric field analyses calculate the electric field in conductive or capacitive systems. Typical quantities of interest in an electric field analysis include: Electric field Current density Electric flux density Charge density Joule heat This chapter describes elements used in all types of electric field analysis. You can use them to model electric effects in lossy dielectrics, high-voltage insulators, microwave passive components, semiconductor devices, micro-electromechanical (MEMS) devices, and biological tissues. This chapter also specifically covers the procedures procedures for for perform performiing steady-sta steady-state te curren currentt conduc conducti tion on anal analys ysiis and and quasi quasistat statiic tim time-harmon e-harmoniic and and tim timetransient electric field analyses. See "Electrostatic Field Analysis (h-Method)", (h-Method)", "p-Method Electrostatic Analysis", Analysis", and "Electric Circuit Analysis" for a description of the other types of electric field analysis. ANSYS uses Maxwell's equations as the basis for electric field analysis. Refer to "Electromagnetics" in the Theory Reference for ANSYS and ANSYS Workbench for details. The primary unknowns (nodal degrees of freedom) that the finite element solution calculates are electric scalar potentials (voltages). Other electric field quantities are then derived from the nodal potentials. This document descri bes bes electri electric-onl c-only y field eld anal analy ysis, sis, specif specificall cally steady-state steady-state curren currentt condu conducti ction on anal analy ysis, sis, quasistatic time-harmonic and time-transient electric field analyses, electrostatic field analysis, and electric circuit analysis. Some of the elements described can also be used as coupled-field elements. The Coupled-Field Analysis Guide discusses coupled-field analyses. Electric contact is also available in ANSYS. See Modeling Electric Contact in the Contact Technology Guide for details. The following electric field topics are available: Elements Used in Electric Field Analysis www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13.html
1/2
5/29/13
C hapter 12. El ectr i c Fiel d Analysi s
Element Compatibility Current Densities Steady-S Stead y-State tate Current Conducti C onduction on Analysi Analysiss Harmonicc Q uasistatic Electric Anal Harmoni Analysi ysiss Transient Quasistatic Electric Analysis Samplee Stead Sampl Steady-S y-State tate Co Conducti nduction on Current C urrent Analysi Analysiss Sample Conductance Calculation Sample Harmonic Quasistatic Electric Analysis Sampl Sa mplee Transient Quasistatic Q uasistatic Electric Analysis Analysis Where to Find Current Conduction Analysis Examples
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13.html
2/2
5/29/13
12.1. El ements Used in El ectr i c Fiel d Analysi s
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.1. Elements Use d in Ele Ele ctr ctric ic Field Analy Analysis sis
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The ANSYS program has a large number of elements available for specific types of electric field analysis. The following tables summarize them to make element type selection easier. These elements enable you to perform the following following types of analysis: Steady-state Stead y-state current conducti co nduction on anal a nalysi ysiss Quasistatic time-harmonic and time-transient electric field analyses Electrostatic field analysis Electric circuit analysis Table 12.1 Conductin Conducting g Bar Elements Eleme nts El ement
LINK68
Dimens .
3-D
S hape or Characteri s ti c
Un iaxial, t wo n o d es
DOFs
Temp erat u re an d v o ltag e at each node
Us age Notes
Steady-state Steady-state current current conduction analysis; therm th ermal-el al-elect ectri ricc cou c ou pled-field analysis
Table 12.2 12. 2 2-D PlanarEleme PlanarElements nts El ement
Dimens .
S hape or Characteri s ti c
DOFs
Us age Notes
PLANE67
2-D
Quadr uadriilater teral, four our node nodess
Temper perattu urre and and vol voltage tage at each ach node
Steady-state Steady-state current current conduction analysis; ther mal-elect al-electri ricc cou pled-field analysis
PLA PL A NE NE121 121
2-D
Quadr uadrilater ateral al,, eight eight nodes nodes
Voltag e at each n o d e
Elect ro s t at ic an aly s is ; quasistatic time-harmonic analysis
PLANE230
2-D
Qu ad rilat eral, eig h t n o d es
Vo ltag e at each n o d e
Stead y -s tate cu rren t conduction analysis; quasistatic time-harmonic and time-transient analyses
Table Table 12.3 3-D Solid Elements El ement
Dimens .
S hape or Characteri s ti c
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_2.html
DOFs
Us age Notes 1/3
5/29/13
12.1. El ements Used in El ectr i c Fiel d Analysi s
SOLID5
3-D
Hexah ed ed ra ral, eig ht ht n od od es es
Up to to si six at each no no de de; t he he DOFs are structural displacements, temperature, temperature, electric pot ential, and magnet ic scalar pot ential
Steady-state Steady-state current current conduction analysis; therm th ermal-el al-elect ectri ricc cou c ou pled-field analys is or co upled-field upled-field electromagnet electromagnet ic analys is
SOLID69
3-D
Hexah ed ed ra ral, eig ht ht no no de des
Temp er erat ur ure an an d v ol oltag e at ea each node
Steady-state Steady-state current current conduction analysis; therm th ermal-el al-elect ectri ricc cou c ou pled-field analysis
SOLID98
3-D
Tet rah ed ral, t en no no d es
Up to to si six at ea each no no d e; th th e DOFs are structural displacements, temperature, temperature, electric pot ential, and magnet ic scalar pot ential
Steady-state Steady-state current current conduction analysis; therm th ermal-el al-elect ectri ricc cou c ou pled-field analys is or co upled-field upled-field electromagnet electromagnet ic analys is
SOLID122
3-D
Hexah ed ral, t wen ty n o d es
Vo ltag e at each n o d e
Elect ro s t at ic an aly s is ; quasistatic time-harmonic analysis
SOLID123
3-D
Tet rah ed ral, t en n o d es
Vo ltag e at each n o d e
Elect ro s t at ic an aly s is ; quasistatic time-harmonic analysis
SOLID127
3-D
Tet rah ed ral, t en n o d es
Vo ltag e at each n o d e
Elect ro s t at ic an aly s is
SOLID128
3-D
Hexah ed ral, t wen ty n o d es
Vo ltag e at each n o d e
Elect ro s t at ic an aly s is
SOLID231
3-D
Hexah ed ral, t wen ty n o d es
Vo ltag e at each n o d e
Stead y -s tate cu rren t conduction analysis; quasistatic time-harmonic and time-transient analyses
SOLID232
3-D
Tet rah ed ral, t en n o d es
Vo ltag e at each n o d e
Stead y -s tate cu rren t conduction analysis; quasistatic time-harmonic and time-transient analyses
Table Table 12.4 Shell Elements El ement
SHELL157
Dimens .
3-D
S hape or Characteri s ti c
Quadr uadriilater teral shel shelll, four our nodes
DOFs
Temperature and voltage at each node
Us age Notes
Steady-state Steady-state current current conduction analysis; therm th ermal-el al-elect ectri ricc cou c ou pled-field analysis
Table Table 12.5 Specialty Elements El ement
Dimens .
S hape or Characteri s tic
DOFs
MATRIX50 None Depends on the elements that it includes in (super- its structure element)
Depends Depends on t he included included elem element ty pes
INFIN110
2-D
Fo u r o r eig h t n o d es
On e p er n o d e; t h is can b e a mag n etic v ect o r poten po ten tial, temperat temperature, ure, or electric pot ent ial
INFIN111
3-D
Hexah ed ral, eig ht ht o r t wen t y n o de des
A X, A Y, A Z mag ne netic v ect o r p ot ot en t ial, temperature, electric scalar potential, or magnetic scalar potential
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_2.html
2/3
5/29/13
12.1. El ements Used in El ectr i c Fiel d Analysi s
Table 12.6 Ge General neral Circuit Circuit Elements Eleme nts El ement
Dimens .
S hape or Characteri s tic
DOFs
CIRCU94
None
Circuit Circuit element element for use us e in piezoelectric-circuit piezoelectric-circuit Voltage at two nod es (plus charge at a third node analyses, two or three nodes for an independent voltage source)
CIRCU124
None
General ene ral circuit element element app licab licable le to circuit simulation, simulation, up to six nod es
Up to three at each nod e; thes e can be electric electric poten po ten tial, current, or electromotive force d rop
CIRCU125
None
Diod Diodee element element us ed in electric circuit analysis, analysis, two nod es
Electric potential
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_2.html
3/3
5/29/13
12.2. Element C ompati bi l i ty
Low-Frequen Low-F requency cy Guide | Chapter 12. Electric Field Analysis |
12.2. Element Compatibility
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
Your finite element model may intermix certain elements with the VOLT degree of freedom. To be compatible, the elements elements must have the same reaction solution (see table below). Electric charge reactions must all be positi positive ve or neg negati ative ve.. Table 12.7 Re action Solutions Solutions for Ele Elem me nts with with VOLT DOF Element le ment
KEYOPT (1)
DOFs
Material Property Input for VOLT DOF
Reaction Solution
PLA PL A NE NE67 67
N/A
TEMP, VOLT OLT
RSVX, RSVX, RSVY RSVY
Electric Current Current (F label = AMPS)
LINK68
N/A
TEMP, VOLT OLT
RSVX RSVX
Electric Current Current (F label = AMPS)
SOLID69
N/A
TEMP, VOLT OLT
RSVX, RSVX, RSVY RSVY, RSV RSVZ Z
Electric Current Current (F label = AMPS)
SHELL157 SHE LL157
N/A
TEMP, VOLT OLT
RSVX, RSVX, RSVY RSVY
Electric Current Current (F label = AMPS)
PLA PL A NE NE53 53
1
VOLT, A Z
RSVX, RSVY
Electric Cu rren t (F lab el = A MPS)
1
A X, A Y, A X, VOLT
4
AX, AY, AZ, VOLT, CURR
RSV RSVX, RSV RSVY Y, RSV RSVZ
Electric lectric Current Current (F label label = AMPS)
SOLID117
1
A Z, VOLT
RSVX, RSVY, RSVZ
Electric Cu rren t (F lab el = A MPS)
PLANE121
N/A
VOLT OLT
RSVX, RSVY, PERX, PERY, LSST
Positive or Negative Electric Charge (F label = CHRG) [1 [1]
VOLT OLT
RSVX, RSVY, RSVZ, PERX, PERY, PERZ, LSST
Positive or Negative Electric Charge (F label = CHRG) [1 [1] Positive or Negative Electric Charge (F label = CHRG) [1 [1]
SOLID97
SOLID122
N/A
SOLID123 SOL ID123
N/A
VOLT
RSVX, RSVY, RSVZ, PERX, PERY, PERY, PERZ, LSST
SOLID127
N/A
VOLT OLT
PERX PERX,, PERY PERY,, PERZ PERZ
Pos itive Electric Electric Charge (F label = CHRG)
SOLID128
N/A
VOLT OLT
PERX PERX,, PERY PERY,, PERZ PERZ
Pos itive Electric Electric Charge (F label = CHRG)
PLANE230
N/A
VOLT OLT
RSVX, RSVY, PERX, PERY, LSST
Electric Current (F label = AM PS)
VOLT OLT
RSVX, RSVY, RSVZ, PERX, PERY, PERZ, LSST
Electric Current (F label = AM PS)
VOLT OLT
RSVX, RSVY, RSVZ, PERX, PERY, PERZ, LSST
Electric Current (F label = AM PS)
SOLID231
SOLID232
N/A
N/A
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_3.html
1/3
5/29/13
12.2. Element C ompati bi l i ty
CIRCU94
0– 5
VOLT, CURR
N/ A
Negative Negat ive or Pos itive Electric Electric Charg Chargee (F label = CHRG or AMPS) [2 [2]
CIRCU124
0– 12
VOLT, CURR, EM F
N/ A
Electric Cu rren t (F lab el = A MPS)
CIRCU125
0 or 1
VOLT
N/ A
Electric Cu rren t (F lab el = A MPS)
PERX
Pos itive Electric Electric Charge (F label = CHRG)
TRANS109
0 or 1
UX, UY, VOLT
Mechan Mec han ical Force (F label = FX, FY FY)
TRANS126 N/A
UX-VOLT, UX-VOLT, UY-VOL UY-VOLT, T, UZ N/A VOLT
SOLID98
SOLID62
PLANE223
SOLID226
Mechanical Force (F label = FX)
6
VOLT, A Z
RSVX, RSVY
Electric Cu rren t (F lab el = A MPS)
7
UX, UY, UZ, VOLT
PERX, PERY
Negative Negat ive Electric Electric Charg Chargee (F labe labell = AMPS)
RSV RSVX, RSV RSVY Y, RSV RSVZ
Electric lectric Current Current (F label label = AMPS)
0
UX, UY, UZ, TEMP, VOLT, MAG
PERX, PERY, PERZ
Negative Negat ive Electric Electric Charg Chargee (F labe labell = AMPS)
1
TEM P, VOLT, M A G
RSVX, RSVY, RSVZ
Electric Cu rren t (F lab el = A MPS)
3
UX, UY, UZ, VOLT
PERX, PERY, PERZ
Negative Negat ive Electric Electric Charg Chargee (F labe labell = AMPS)
9
VOLT
RSVX, RSVY, RSVZ
Electric Cu rren t (F lab el = A MPS)
RSV RSVX, RSV RSVY Y, RSV RSVZ
Electric lectric Current Current (F label label = AMPS)
0
UX, UY, UZ, TEMP, VOLT, MAG
PERX, PERY, PERZ
Negative Negat ive Electric Electric Charg Chargee (F labe labell = AMPS)
1
TEM P, VOLT, M A G
RSVX, RSVY, RSVZ
Electric Cu rren t (F lab el = A MPS)
3
UX, UY, UZ, VOLT
PERX, PERY, PERZ
Negative Negat ive Electric Electric Charg Chargee (F labe labell = AMPS)
9
VOLT
RSVX, RSVY, RSVZ
Electric Cu rren t (F lab el = A MPS)
N/A
UX, UY, UZ, AX, AY, AZ, RSV RSVX, RSV RSVY Y, RSV RSVZ VOLT
Electric lectric Current Current (F label label = AMPS)
101
UX, UY, VOLT
RSVX, RSVY
Electric Cu rren t (F lab el = A MPS)
1001
UX, UY, VOLT
PERX, PERY, LSST
Positive or Negative Electric Charge (F label = CHRG) [3 [3]
110
TEM P, VOLT
RSVX, RSVY, PERX, PERY
Electric Current (F label = AM PS)
111
UX, UY, TEM P, VOLT
RSVX, RSVY, PERX, PERY
Electric Current (F label = AM PS)
1011
UX, UY, TEM P, VOLT
PERX, PERY, LSST, DPER
Negative Negat ive Electric Electric Charg Chargee (F labe labell = CHRG)
101
UX, UY, UZ, VOLT
RSVX, RSVY, RSVZ
Electric Cu rren t (F lab el = A MPS)
1001
UX, UY, UZ, VOLT
PERX, PERY, PERZ, LSST
Positive or Negative Electric Charge (F label = CHRG) [3 [3]
110
TEM P, VOLT
RSVX, RSVY, RSVZ, PERX, PERY, PERZ
Electric Current (F label = AM PS)
PLANE13
SOLID5
Electric Current (F label = AM PS)
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_3.html
2/3
5/29/13
12.2. Element C ompati bi l i ty
111
UX, UY, UZ, TEMP, VOLT
RSVX, RSVY, RSVZ, PERX, PERY, PERZ
Electric Current (F label = AM PS)
1011
UX, UY, UZ, TEMP, VOLT
PERX, PERY, PERZ, LSST, DPER
Negative Negat ive Electric Electric Charg Chargee (F labe labell = CHRG)
101
UX, UY, UZ, VOLT
RSVX, RSVY, RSVZ
Electric Cu rren t (F lab el = A MPS)
1001
UX, UY, UZ, VOLT
PERX, PERY, PERZ, LSST
Positive or Negative Electric Charge (F label = CHRG) [3 [3]
110
TEM P, VOLT
RSVX, RSVY, RSVZ, PERX, PERY, PERZ
Electric Current (F label = AM PS)
111
UX, UY, UZ, TEMP, VOLT
RSVX, RSVY, RSVZ, PERX, PERY, PERZ
Electric Current (F label = AM PS)
1011
UX, UY, UZ, TEMP, VOLT
PERX, PERY, PERZ, LSST, DPER
Negative Negat ive Electric Electric Charg Chargee (F labe labell = CHRG)
INFIN110
1
VOLT
PERX, PERY
Positive or Negative Electric Charge (F label = CHRG) [1 [1]
INFIN111
2
VOLT
PERX, PERY, PERZ
Positive or Negative Electric Charge (F label = CHRG) [1 [1]
SOLID227
1. The followi following ng apply ap ply to electrostatic electro static elements elements PLANE121 PLANE121,, SOLID122 SOLID122,, and SOLID123 and far-field elements INFIN110 and and INFIN111 INFIN111:: If KEYOPT(6) is set to 0, the reaction solution is positive electric charge. If KEYOPT(6) is set to 1, the reaction solution is negative electric charge. 2. The following following apply ap ply to circuit element CIRCU94 CIRCU94,, KEYOPT(1) KEYOPT(1) = 0-4: 0- 4: If KEYOPT(6) is set to 0, the analysis type is piezoelectric-circuit and the reaction solution is negative electric charge. If KEYOPT(6) is set to 1, the analysis type is electrostatic-circuit and the reaction solution is positi positive ve electr electriic charg charge. e. 3. The foll following owing apply ap ply to coupledco upled-fi field eld elements elements PLANE223 PLANE223,, SOLID226 SOLID226,, and SOLID227 SOLID227,, KEYOPT(1) = 1001: If a piezoelectric matrix is specified (TB,PIEZ), the analysis type is piezoelectric and the reaction solution is negative electric charge. If a piezoelectric matrix is not specified, the analysis type is electroelastic and the reaction solution is positi positive ve electr electriic charg charge. e.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_3.html
3/3
5/29/13
12.3. Cur r ent D ensi ti es
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.3. Current Current Densities
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The ANSYS output includes various element current densities (JS, JT, and JC item labels). As shown in the following table, their meaning depends upon the type of low-frequency electromagnetic analysis. Table Table 12.8 1 2.8 Cur Current Densities Densitie s in Low-Fr Low-Free qu quee ncy Analys Analysee s Current Density Dens ity Label Label
Low-Frequency El ec ectric Anal ys ys is is
Low-Frequency Magneti c Anal ys ys is is
Source Source cu rrent rrent dens ity.
JS
Total element element cu rrent rrent d ens ity. It It is the s um of the element conduction and the displacement current densities. It It may may be us ed as a s ource for for a subs equent magnetos tatic analysis.
JT
Elemen t co n d u ctio n cu rren t d en s it y .
To tal meas u rab le elemen t cu rren t d en s ity .
JC
No d al co n d u ctio n cu rren t d en s it y .
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_C URR.html
—
1/1
5/29/13
12.4. Steady- State C ur r ent Conducti on Anal ysis
Low-Frequency LowFrequency Guide | Chapter 12. Electric Field Analysis |
12.4. 12.4 . Steady-State Current Conduction Analysis
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
Steady-state current conduction analysis determines the current density and electric potential (voltage) distribution caused by direct current (DC) or potential drop. You can apply two types of loads in this analysis: voltage and electric electric cur rent. rent. Refer to "Electromagnetics" in the Theory Reference Reference for ANSYS A NSYS and ANSYS Workbench for more information. A steady-state current conduction analysis is assumed to be linear. That is, the electric current is proportional to the applied voltage. The procedure for doing a steady-state current conduction analysis consists of three main steps: 1. Build the model. 2. Apply loads and obtain the solution. 3. Review the results. The next few topics discuss what you must do to perform these steps. 12.4.1. 12.4 .1. B uild uildin ing g the Mode l
To build the model, you start by specifying the jobname and a title for your analysis, using the following commands or GUI paths: Command(s Command(s): ):
/FILNAME, /TITLE
GUI:
Utility Menu Menu> File> Chan Change ge Jobname Utility til ity Menu> Menu> File> File > Change Change Title
If you you are using the A NSYS N SYS GUI , the next step is is to set preferences for an electric analysis: Main Menu> Preferences> Electromagnetics> Electric You must set must set the preference to Electric to ensure that the elements needed for your analysis will be available. (The ANSYS GUI filters element types based on the preference you choose.) Once you have set the Electric preference, use the ANSYS preprocessor (PREP7) to define the element types, the material properties, and the model geometry. These tasks are common to most analyses. The Modeli Modeling ng and Meshing Meshi ng Guide explains them in detail.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_5.html
1/5
5/29/13
12.4. Steady- State C ur r ent Conducti on Anal ysis
You can use the following types of elements in a steady-state current conduction analysis: Table Table 12.9 Eleme Eleme nts nts Use d in a Steady-State Analys Analysis is El ement
Di mens .
Type
LINK68
3-D
Two n o d e t h ermal / electric lin e
PLANE67
2-D
Fo u r n o d e t h ermal/ electric q u ad rilateral
PLANE230
2-D
Eig h t n o d e electric q u ad rilateral
SOLID5
3-D
Eig h t n o d e s tr tru ct ct u ral/t h ermal/mag n etic/ elect ric h exah ed ra ral
SOLID69
3-D
Eig h t n o d e th ermal/ /elect ric h exah ed ral
SOLID98
3-D
Ten n od od e s tr tru ctu ra ral/ t h ermal/ mag ne net ic/ electric tetrah ed ed ral
SOLID231
3-D
Twen ty n o d e elect ric h exah ed ral
SOLID232
3-D
Ten n o d e elect ric t et rah ed ral
SHELL157
3-D
Fo u r n o d e t h ermal/ electric s h ell
MATRIX50
3-D
Su p erelemen t
You must specify electric resistivity values RSVX, RSVY, and RSVZ using the MP command. command. These prope p roperti rties es may be constant or temperature dependent. 12.4.2. Applying Loads and Obtaining a Solution
In this step, you define the analysis type and options, apply loads to the model, specify load step options, and initiate the finite element solution. The next few topics explain how to perform the following tasks: 1. En Enter ter the SOLU SO LUTION TION Processor. 2. Define the analysis type. 3. Defi Define ne the analy analysis sis options. op tions. 4. Apply loads. 5. Start the solution. 6. Finish the solution. 12.4.2.1. Entering the SOLUTION Processor
To enter the SOLUTION processor, use either of the following: Command(s Command(s): ): /SOLU GUI:
Mai n Menu> S ol ution
12.4.2.2. Defining Analysis Type
To specify the analysis type, do either of the following: In the GUI, choose menu path Main Menu> Solution> Analysis Type> New Analysis and choose a www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_5.html
2/5
5/29/13
12.4. Steady- State C ur r ent Conducti on Anal ysis
Steady-state Stead y-state analysi analysis. s. If this is a new analysis, issue the command ANTYPE,STATIC,NEW. If you want to restart a previous analysis (for example, to specify additional loads), issue the command ANTYPE,STATIC,REST. You can restart an analysis only if you previously completed a steady-state analysis, and the files Jobname.EMAT, Jobname.ESAV, and Jobname.DB from the previous run are available. 12.4.2.3. Defining Analysis Options
Next, Next, you you defi define whi which solv solver you you want want to to use. use. You You can use the the sparse sparse solv solver (defau (defaullt), the the frontal rontal solv solver, the the Jacobi Conjugate Gradient (JCG) solver, the Incomplete Cholesky Conjugate Gradient (ICCG) solver, or the Precondi Prec onditi tioned oned Conju Co njugate gate Gradient solver solver (PC ( PCG). G). To select an equation solver, use either of the following: Command(s Command(s): ): EQSLV GUI:
Main Men Menu u> Solu Soluttion ion> An Analysis lysis Ty Type> Analysis lysis Opt Option ions
12.4.2.4. Applying Loads
You can apply loads to a steady-state analysis either on the solid model (keypoints, lines, and areas) or on the finite element model (nodes and elements). You can specify several types of loads: 12.4.2 .4.1. Curr Curre nt
Electric currents (AMPS) are concentrated nodal loads that you usually specify at model boundaries (the label AMPS is just a load label; it does not indicate the units of measurement). A positive value of current indicates current flowing into the node. For a uniform current density distribution, couple the appropriate nodes in the VOLT degree of freedom, and apply the full current at one of the nodes. To apply current, use one of the following: Command(s Command(s): ): F GUI:
Main Men Menu> u> Solut Solutio ion> n> Define efine Lo Loads> Ap Apply> ly> Elect Electric> ric> Excita citation> ion> Curren urrentt
12.4.2 .4.2. Voltage oltage (VOLT) (VOLT)
Voltages are DOF constraints that you usually specify at model boundaries to apply a known voltage. A typical approach specifies a zero voltage at one end of the conductor (the "ground" end) and a desired voltage at the other end. To apply voltage, use the following command or GUI path: Command(s Command(s): ): D GUI:
Main Men Menu> u> Solut Solutio ion> n> Define efine Lo Loads> Ap Apply> ly> Elect Electric> ric> Boun Bound dary> ry> Vo Voltage ltage
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_5.html
3/5
5/29/13
12.4. Steady- State C ur r ent Conducti on Anal ysis
You can also apply current and voltage loads using the independent current and voltage source options of CIRCU124.. For more information, refer to "Electric Circuit Analysis". CIRCU124 Analysis". Optionally, you can use other commands to apply loads to a steady-state analysis, and you also can specify output controls as load step options. For information about using these commands to apply loads and about the load step options avail available for steady-sta stea dy-state te anal a nalysi ysis, s, see "Alternative Analysis Options and Solution Methods". Methods". 12.4.2.5. Starting the Solution
In this step, you initiate the solution for all load steps using one of the following: Command(s Command(s): ): SOLVE GUI:
Main Menu enu> Solu Soluttion ion> Solv Solve> e> Curren rrentt LS
12.4.2.6. Finishing the Solution
To leave the SOLUTION processor, use either of the following: Command(s Command(s): ): FINISH GUI:
Mai n Menu> Fi nis h
12.4.3. Reviewing Results
The program writes results from a steady-state current conduction analysis to the results file, Jobname.RTH (or to Jobname.RST if other degrees of freedom are available besides VOLT). Results include the data listed below: below: Primary data: Nodal voltages (VOLT). Derived data:
Nodal electri electricc fi field eld (EFX, (EFX, EFY, EFY, EFZ, EFZ, EFSUM). EFSUM). Nodal conduc conducti tion on cu current rrent densi densiti ties es (JCX, (JCX, JCY, JCZ, JCZ, JCSUM). JCSUM). Supported Supported onl only by PLANE230 PLANE230,, SOLID231,, and SOLID232 SOLID231 SOLID232.. Element conduction current densities (JSX, JSY, JSZ, JSSUM, JTX, JTY, JTZ, JTSUM). Element Joule heat (JHEAT). Nodal reacti reaction curren currents. ts. You can review analysis results in POST1, the general postprocessor. To access the postprocessor, choose one of the following: Command(s Command(s): ): /POST1 GUI:
Mai n Menu> General Po Pos ttp proc
For a complete description of all postprocessing functions, see the Bas the Basic ic Analysis Analysis Guide. Guide. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_5.html
4/5
5/29/13
12.4. Steady- State C ur r ent Conducti on Anal ysis
12.4.3.1. Reviewing Results in POST1
To review results in POST1, the ANSYS database must contain the same model for which the solution was calculated. Also, the results file (Jobname.RTH or Jobname.RST) must be available. To read results at the desired time point into the database, use either of the following: Command(s Command(s): ): SE SET T,,,,,TIME GUI:
Utilit ility Menu enu> List> ist> Result esults> s> Load Step Step Sum Summary
If you specify a time value for which no results are available, the program performs linear interpolation to calculate the results at that time. To identify the results data you want, use a combination of a label and a sequence number or component name. You can now review the results by obtaining graphics displays and tabular listings. To obtain these, use the following: Table Table 12.10 Revie Re view wing ing Results Re sults S tep
Produce Produce conto ur displays.
Commands PLESOL, PLNSOL
GUI Path Main Menu> Gener General al Pos tproc> tproc> Pl ot Results Res ults > Contour Contour Plot> P lot> Ele Element ment Solution Main Menu> Gener General al Postp Pos tproc> roc> Plot Pl ot Resul ts> Contour Plot> Nodal Nodal S olu
Produce Produce vector (arrow) (arrow) displays .
PLVECT Main Menu> General Postproc> Plot Results> Vector Plot> Predefined Main M
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_5.html
5/5
5/29/13
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.5. Harmonic Harmonic Quasistatic Electric Analysis
www ww w.kxcad. .kxcad.net net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
A harmonic electric analysis determines the effects of alternating current (AC), charge or voltage excitation in electric devices. In this analysis, the time-harmonic electric and magnetic fields are uncoupled, and the electromagnetic electromagnetic field can be treated as quasistatic. Eddy currents are considered to be negligib le, and the electric field is derived from the electric scalar potential. Capacitive effects and displacement current ar e ar e taken into account. Refer to "Electromagnetics" in the Theory Reference for ANSYS and ANSYS Workbench for more information. You can use this analysis to determine the voltage, electric field, electric flux density, and electric current density distributions in an electric device as a function of frequency in response to time-harmonic loading. The procedure for doing a harmonic quasistatic analysis consists of three main steps: 1. Build the model. 2. Apply loads and obtain the solution. 3. Review the results. The next few topics discuss what you must do to perform these steps. 12.5.1. Building the Model
To build the model, you first specify a jobname and a title for your analysis as described in Steady-S Steady-State tate Current Current Conduction Co nduction Analysis Analysis. If you are using the ANSYS GUI, you set preferences for an electric analysis. You then use the ANSYS preprocessor (PREP7) to define the element types, the material properties, and the model geometry. To perform perform a current- based based harmonic quasistatic analysis, you can use the following types of elements: Table Table 12.12 1 2.12 Elements Used Use d iin n a Curr Curree nt-Bas nt-Basee d Harm Harmonic onic Analysis Analysis [1] El ement
Dimens .
Type
PLANE230
2-D
Eig h t n o d e elect ric q u ad rilat eral
SOLID231
3-D
Twen t y n o d e electric h exah ed ral
SOLID232
3-D
Ten n o d e electric tetrah ed ral
1. The reaction rea ction solution solution is is current. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
1/8
5/29/13
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
To perform a charge-based harmonic quasistatic analysis, you can use the following types of elements: Table Table 12.13 12 .13 Elements Used Use d in a Charge-Ba Charge-Base se d Harm Harmonic Analys Analysis is [1 [1] El ement
Dimens .
Type
PLANE121
3-D
Eig h t n o d e elect ro s t at ic q u ad rilat eral
SOLID122
3-D
Twen t y n o d e electro s tatic h exah ed ral
SOLID123
3-D
Ten n o d e electro s tatic t et rah ed ral
1. The reaction rea ction solution solution is is charge. The default system of units is MKS. In the MKS system of units, free-space permittivity is set to 8.85e-12 Farads/meter. To specify your own system of units and free-space permittivity use one of the following: Command(s Command(s): ): EMUNIT GUI:
Main Men Menu> u>Pr Prep epro rocesso cessor> r>M Materia erial pro prop ps>E s>Elect lectrom romag Uni Unitts
To model resistive and capacitive effects, a harmonic electric analysis requires the specification of electrical resistivity and electric permittivity, respectively. Define electrical resistivity values as RSVX, RSVY, and RSVZ on the MP command. Define relative electric permittivity values as PERX, PERY, and PERZ on the MP command. You can specify losses by defining electrical resistivity (RSVX, RSVY, RSVZ) or a loss tangent (LSST) on the MP command. Resistivity and loss tangent effects are additive. These properties may be constant or temperature dependent. 12.5.2. Applying Loads and Obtaining a Solution
In this step, you define the analysis type and options, apply loads to the model, specify load step options, and initiate the finite element solution. The next few topics explain how to perform the following tasks: 1. En Enter ter the SOLU SO LUTION TION processor. 2. Define the analysis type. 3. Defi Define ne the analy analysis sis options. op tions. 4. Apply loads. 5. Start the solution. 6. Finish the solution. 12.5.2.1. Entering the SOLUTION Processor
To enter the SOLUTION processor, use either of the following: Command(s Command(s): ): /SOLU www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
2/8
5/29/13
GUI:
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
Mai n Menu> S ol ution
12.5.2.2. Defining the Analysis Type
To specify the analysis type, do either of the following: In the GUI, choose menu path Main Menu> Solution> Analysis Type> New Analysis and choose a Harmonic analysis. If this is a new analysis, issue the command ANTYPE,HARMONIC,NEW. If you want to restart a previous analysis (for example, to specify additional loads), issue the command ANTYPE,HARMONIC,REST. You can restart an analysis only if you previously completed a harmonic analysis, and the files Jobname.EMAT, Jobname.ESAV, and Jobname.DB from the previous run are available. 12.5.2.3. Defining Analysis Options
Next, Next, you you defi define whi which solu solution tion meth method od and and whi which solv solver you you want want to use. use. Harm Harmoni onicc electri electricc anal analys yses es requi require the full solution method. To select a solution method, use one of the following: Comma Command nd(s): (s): HRNOPT,FULL GUI:
Main Men Menu> u> Solu Soluttion ion> Ana Analy lysis sis Typ Type> New Analy nalysis> sis> Ha Harmo rmonic
You can use the sparse solver (default), the frontal solver, the Jacobi Conjugate Gradient (JCG) solver, the Incomplete Incomplete Chol C holesky esky Conjug C onjugate ate Gradient Gradient (ICCG) (IC CG) solver, solver, or the Preconditi Pre conditioned oned Conju Co njugate gate Gradi Grad ient solver solver (PCG). To select an equation solver, use one of the following: Command(s Command(s): ): EQSLV GUI:
Main Men Menu u> Solu Soluttion ion> An Analysis lysis Ty Type> Analysis lysis Opt Option ions
To specify the frequency range, use any of the following: Command(s Command(s): ): HARFRQ GUI:
Main Menu> Preprocessor> Loads> Load Step opts> Time/Frequency Main Menu> Solution> Loads> Load Step opts> Time/Frequency
To specify the number of harmonic solutions within the load step, use either of the following: Comma Command nd(s): (s): NSUBS GUI:
Main Menu> Preprocessor> Loads> Load Step Opts> Time/Frequenc> Freq & and Substps Main Menu> Solution> Load Step Opts> Time/Frequenc> Freq & Substps
When specifying multiple substeps within a load step, you need to indicate whether the loads are to be ramped or stepped. stepped . The KBC command is used for this purpose: KBC,0 indicates ndicates ramped loads (default), (default), and a nd KBC,1 indicates stepped loads. Command(s Command(s): ): KBC GUI:
Main Menu> Solution> Load Step Opts> Time/Frequenc> Time and Substps (or Time & Time Step)
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
3/8
5/29/13
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
Main Menu> Solution> Load Step Opts> Time/Frequenc> Time and Substps (or Time & Time Step)
To specify results data for the printed output file ( Jobname.OUT), use one of the following: Command(s Command(s): ): OUTPR GUI:
Main Menu> Preproces s or> Load Loads > Load Load Step Opts> Opts> Outp Output ut Ctrls > Solu S olu Printout Pr intout Main Menu> Solution> Sol ution> Load Load Step Opts> Opts> Outp Output ut Ctrls > S olu Printout Pr intout
You can also control the solution items sent to the results file ( Jobname.RTH). By default, the ANSYS program program writes writes onl only the the last last subs substep tep of each load step to the the resul results fi file. If you want want all all substeps substeps (that (that is, is, the the solution at all time substeps) on the results file, use one of the following to specify a frequency or ALL or 1. Command(s Command(s): ): OUTRES GUI:
Main Menu> Preprocess Preproces s or> Load Loadss > Load Load Step Opts> Opts> Output Ctrls Ctrls > DB/Res DB/Re s ults File Main Menu> Solution> Loads Loads > Load Load Step Opts> Opts> Outp Output ut Ctrls > DB/Res DB/ Results ults File
12.5.2.4. Applying Loads
You can apply loads in a harmonic analysis either on the solid model (keypoints, lines, and areas) or on the finite element model (nodes and elements). The type of loads you can specify depends on the element type chosen for a harmonic analysis. Table Table 12.14 Load Type Type s Anal ys i s
Current-B Current-Based ased Analys is
El ement Types
Loads
PLANE230,, SOLID231 PLANE230 SOLID231,, SOLID232 Current Voltage
Charge-Based Charge-Based An alysis
PLANE121,, SOLID122 PLANE121 SOLID122,, SOLID123 Charge Surface charge density Volume olume ch arge d ens ity Voltage
12.5.2 .4.1. Curr Curre nt
Electric currents (AMPS) are concentrated nodal loads that you usually specify at model boundaries (the label AMPS is just a load label; it does not indicate the units of measurement). A positive value of current indicates current flowing into the node. For a uniform current density distribution, couple the appropriate nodes in the VOLT degree of freedom, and apply the full current at one of the nodes. To apply current, use one of the following: Command(s Command(s): ): F www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
4/8
5/29/13
GUI:
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
Main Men Menu> u> Solut Solutio ion> n> Define efine Lo Loads> Ap Apply> ly> Elect Electric> ric> Excita citation> ion> Curren urrentt
You can also apply current loads using the independent current source option of CIRCU124 of CIRCU124.. For more information, refer to "Electric Circuit Analysis". Analysis". 12.5.2 .4.2. Char Charge
Electric charges (CHRG) are concentrated nodal force loads. To apply them, use the following command or GUI path: Command(s Command(s): ): F GUI:
Main Menu Menu> > Solutio Solution> n> Define Define Lo Loads> Ap Apply> Electric> lectric> Excita xcitatio tion> n> Char Charge> ge> On Nod Nodes
12.5.2 .4.3. Voltage oltage (VOLT) (VOLT)
Voltages are DOF constraints that you usually specify at model boundaries to apply a known voltage. A typical approach specifies a zero voltage at one end of the conductor (the "ground" end) and a desired voltage at the other end. To apply voltage, use the following command or GUI path: Command(s Command(s): ): D GUI:
Main Men Menu> u> Solut Solutio ion> n> Define efine Lo Loads> Ap Apply> ly> Elect Electric> ric> Boun Bound dary> ry> Vo Voltage ltage
You can also apply voltage loads using the independent voltage source option of CIRCU124 of CIRCU124.. For more information, refer to "Electric Circuit Analysis". Analysis". 12.5.2.5. Starting the Solution
In this step, you initiate the solution for all load steps using one of the following: Command(s Command(s): ): SOLVE GUI:
Main Menu enu> Solu Soluttion ion> Solv Solve> e> Curren rrentt LS
12.5.2.6. Finishing the Solution
To leave the SOLUTION processor, use either of the following: Command(s Command(s): ): FINISH GUI:
Mai n Menu> Fi nis h
12.5.3. Reviewing Results
The program writes results from a harmonic electric analysis to the results file, the data listed below:
Jobname.RTH.
Results include
Primary data: Nodal DOF (VOLT). www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
5/8
5/29/13
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
Derived data: Note
Some output quantities depend on the element type used in the analysis. Nodal electri electricc fi field eld (EFX, (EFX, EFY, EFY, EFZ, EFZ, EFSUM). EFSUM). For a current-based analysis using electric elements, nodal conduction current densities (JCX, JCY, JCZ, JCSUM). For a charge-based analysis using electrostatic elements, nodal electric flux densities (DX, DY, DZ, DSUM). Element current densities (JSX, JSY, JSZ, JSSUM). This output item represents the total (that is, sum of conduction and displacement current densities). It can be used as a source for a subsequent magnetic analysis. Element conduction current densities (or total measurable current density) (JTX, JTY, JTZ, JTSUM). Element Joule heat generation rate per unit volume (JHEAT). This is a time-averaged value. Element stored electric energy (SENE). This is a time-averaged value. For a current-based analysis using electric elements, nodal reaction currents. For a charge-based analysis using electrostatic elements, nodal reaction charges. You can review analysis results in POST1, the general postprocessor, or in POST26, the time-history postprocessor. postprocessor. To To access the the gen general eral postprocessor, postprocessor, choos choosee one one of the the fol folllowin owing: Command(s Command(s): ): /POST1 GUI:
Mai n Menu> General Po Pos ttp proc
To access ac cess the tim time-hi e- history story postproc po stprocessor, essor, choose one of the followin following: g: Command(s Command(s): ): /POST26 GUI:
Mai n Menu> TimeHi st st Pos tp tproc
The following table summarizes the applicable labels for the /POST1 and /POST26 commands. Table 12.15 Comm Command Labels Analysis Output Quantity
Label
Command(s )
Current- Chargebased [1 [1 ] based [2 [2 ]
Nodal DOF
VOLT OLT
PRNSOL, PLNSOL, ETABLE, NSOL,
Y
Y
Nodal electric field field
EF
Y
Y
Nodal con duction du ction current den s ity
JC
PRNSOL, PLNSOL,
Y
–
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
6/8
5/29/13
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
Nodal electric flux flux den s ity
D
PRESOL, PLESOL, PRVECT, PLVECT, ETABLE, ESOL
–
Y
Elemen t to t al cu rren t d en s it y
JS [3 ]
Y
Y
Elemen t co n d u ctio n cu rren t d en s it y
JT [3 ]
PRESOL, PLESOL, PRVECT, PLVECT, ETABLE, ESOL
Y
Y
Element Joule heat generation rate per unit volume (timeaveraged)
JHEAT
Y
Y
Elemen t s t o red electric en erg y (time-av erag ed )
SENE
PRESOL, PLESOL, ETABLE, ESOL
Y
Y
Nodal reaction current
AMPS AM PS
Y
–
Nodal reaction charge cha rge
CHRG CHRG
RFORCE, PRRFOR , PRRSOL, PRESOL, PLESOL
–
Y
1. PLANE230 PLANE230,, SOLID231 SOLID231,, and SOLID232 are current-ba current-based. sed. 2. PLANE121 PLANE121,, SOLID122 SOLID122,, and SOLID123 are charge-based. 3. Refer Refer to Table 12.8: "Current Densities in Low-Frequency Analyses" for the meaning of this label. For a complete description of all postprocessing functions, see "The General Postprocessor (POST1)" and and "The Time-History Postprocessor (POST26)" in the Bas the Basic ic Analysis Analysis Guide. Guide. 12.5.3.1. Reviewing Results in POST1
To review results in POST1, the ANSYS database must contain the same model for which the solution was calculated. Also, the results file (Jobname.RTH) must be available. The procedures for reviewing POST1 harmonic electric analysis results are identical to the procedures described in Stead Steady-Sta y-State te Current Conducti C onduction on Analysi Analysiss with the following exception. Results from a harmonic electric analysis are complex and consist of real and imaginary components. Set KIMG=0 or KIMG=1 on the SET command to read the real or imaginary results respectively. 12.5.3.2. Reviewing Results in POST26
To review results in POST26, the time-history postprocessor, the ANSYS database must contain the same model for which the solution was calculated, and the results file ( Jobname.RTH) must be available. If the model is not in the database, restore it using one of the following: Command(s Command(s): ): RES RESUM UME E GUI:
Utilit ility y Menu enu> File> ile> Resum esume Job Jobname.d e.db
Then use one of the following to read in the desired set of results.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
7/8
5/29/13
12.5. H ar moni c Quasi stati c El ectr i c Anal ysis
Command(s Command(s): ): SE SET T GUI:
Utilit ility Menu enu> List> ist> Result esults> s> Load Step Step Sum Summary
POST26 works with tables of result item versus frequency, known as variables. Each variable is assigned a reference number, with variable number 1 reserved for frequency. Therefore the first things you need to do is define the variables using the following commands or GUI paths. Table Table 12.16 Defin De finin ing g Vari Variables ables S tep
Command
GUI Path
Define primary data variables
NSOL
Main Menu> TimeHist Postpro> Define Variables
Define Define derived data variables variables
ESOL
Main Menu> TimeHist Postpro> Define Variables
Define Define reaction d ata v ariables. ariables.
RFORCE
Main Menu> TimeHist Postpro> Define Variables
Once you have defined these variables, you can graph or list them (versus time or any variable) using the following commands or GUI paths. Table 12.17 12. 17 Gr Graphin aphing g and Listing Variables Variables S tep
Command
GUI Path
To graph variables.
PLVAR
Main Menu> TimeHist Postpro> Graph Variables
To list variables.
PRVAR
Main Menu> TimeHis TimeHis t Postp Pos tpro> ro> Lis t Variables
To list o nly th e extrem extremee v ariables. ariables.
EXTREM
Main Menu> TimeHis TimeHis t Postp Pos tpro> ro> Lis t Extremes
POST26 offers many other functions, such as performing math operations among variables, moving variables into array parameters, etc. For more information, see "The Time-History Postprocessor (POST26)" in the Bas the Basic ic Analysis Guide Guide.. By reviewing the time-history results at strategic points throughout the model, you can identify the critical time poin points for for fu further rther POST1 postprocess postprocessiing.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_6.html
8/8
5/29/13
12.6. Tr ansi ent Quasi stati c El ectr i c Analysi s
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.6. Transient Trans ient Quasistatic Electric Analysis
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
A transient electric analysis determines the effects of time-dependent current or voltage excitation in electric devices. devices. In this analysis, the time-varying electric and magnetic fields are uncoupled, and the electromagnetic ele ctromagnetic field can be can be treated treated as quasi quasistat statiic. Eddy Eddy cu currents rrents are are consi considered dered to be negl egligibl gible, e, and and the the electri electricc fi field is derived from the electric scalar potential. A transient electric analysis is assumed to be linear. Refer to "Electromagnetics" in the the Theory Reference for ANSYS and ANSYS Workbench for more information. You can use this analysis to determine the voltage, electric field, and electric current density distributions in an electric device as a function of time in response to time-dependent loading. The time scale of the loading is such that the ca paciti pacitive ve eff effects and and displ displace acement ment current are considered to be important. It they are not important, you might be able to use a steady-state current conduction analysis instead. The procedure for doing a transient quasistatic analysis consists of three main steps: 1. Build the model. 2. Apply loads and obtain the solution. 3. Review the results. The next few topics discuss what you must do to perform these steps. 12.6.1. Building the Model
To build the model, you first specify a jobname and a title for your analysis as described in Steady-S Steady-State tate Current Current Conduction Co nduction Analysis Analysis. If you are using the ANSYS GUI, you set preferences for an electric analysis. You then use the ANSYS preprocessor (PREP7) to define the element types, the material properties, and the model geometry. You can use the following types of elements in a transient electric analysis: Table Table 12.18 12 .18 Elements Used Use d in a Transie Transient nt Analys Analysis is El ement
Dimens .
Type
PLANE230
2-D
Eig h t n o d e elect ric q u ad rilat eral
SOLID231
3-D
Twen t y n o d e electric h exah ed ral
SOLID232
3-D
Ten n o d e electric tetrah ed ral
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_7.html
1/5
5/29/13
12.6. Tr ansi ent Quasi stati c El ectr i c Analysi s
The default system of units is MKS. In the MKS system of units, free-space permittivity is set to 8.85e-12 Farads/meter. To specify your own system of units and free-space permittivity use one of the following: Command(s Command(s): ): EMUNIT GUI:
Main Men Menu> u>Pr Prep epro rocesso cessor> r>M Materia erial pro prop ps>E s>Elect lectrom romag Uni Unitts
To model resistive and capacitive effects, a transient electric analysis requires the specification of electrical resistivity and electric permittivity, respectively. Define electrical resistivity values as RSVX, RSVY, and RSVZ on the MP command. Define relative electric permittivity values as PERX, PERY, and PERZ on the MP command. These properties may be constant or temperature dependent. 12.6.2. Applying Loads and Obtaining a Solution
In this step, you define the analysis type and options, apply loads to the model, specify load step options, and initiate the finite element solution. The next few topics explain how to perform the following tasks: 1. En Enter ter the SOLU SO LUTION TION processor. 2. Define the analysis type. 3. Defi Define ne the analy analysis sis options. op tions. 4. Apply loads. 5. Start the solution. 6. Finish the solution. 12.6.2.1. Entering the SOLUTION Processor
To enter the SOLUTION processor, use either of the following: Command(s Command(s): ): /SOLU GUI:
Mai n Menu> S ol ution
12.6.2.2. Defining the Analysis Type
To specify the analysis type, do either of the following: In the GUI, choose menu path Main Menu> Solution> Analysis Type> New Analysis and choose a Transient analysis. If this is a new analysis, issue the command ANTYPE,TRANSIENT,NEW. If you want to restart a previous analysis (for example, to specify additional loads), issue the command ANTYPE,TRANSIENT,REST. You can restart an analysis only if you previously completed a transient analysis, and the files Jobname.EMAT, Jobname.ESAV, and Jobname.DB from the previous run are available.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_7.html
2/5
5/29/13
12.6. Tr ansi ent Quasi stati c El ectr i c Analysi s
12.6.2.3. Defining Analysis Options
Next, Next, you you defi define whi which solu solution tion meth method od and and whi which solv solver you you want want to use. use. Tran Transi sien entt electr electriic anal analy yses requ requiire the the full solution method. To select a solution method, use one of the following: Command(s Command(s): ): TRNOPT,FULL GUI:
Main Menu> enu> Solu Soluttion ion> Analy nalysis sis Ty Type> New Analy nalysis>T sis>Tra ran nsient sient
You can use the sparse solver (default), the frontal solver, the Jacobi Conjugate Gradient (JCG) solver, the Incomplete Incomplete Chol C holesky esky Conjug C onjugate ate Gradient Gradient (ICCG) (IC CG) solver, solver, or the Preconditi Pre conditioned oned Conju Co njugate gate Gradi Grad ient solver solver (PCG). To select an equation solver, use one of the following: Command(s Command(s): ): EQSLV GUI:
Main Men Menu u> Solu Soluttion ion> An Analysis lysis Ty Type> Analysis lysis Opt Option ions
To specify the time at the end of a load step, use any of the following: Command(s Command(s): ): TIME GUI:
Main Menu>Preprocessor>Loads>Load Step opts>Time/Frequency Main Menu>Solution>Loads>Load Step opts>Time/Frequency
The integration time step is the time increment used in the time integration scheme. It determines the accuracy of your solution. The smaller the time step size, the higher the accuracy. The size of the first integration time step following any large step change in loading conditions is especially critical. You can reduce inaccuracies by reducing the integration time step size. You can specify it directly via the DELTIM command or indirectly via the the NSUBST command. Command(s Command(s): ): DELTIM GUI:
Main Menu> Preproces s or> Load Loads > Load Load Step Opts> Opts> Time/Frequenc> Time & Time Step S tep Main Menu> Solution> Load S tep Opts> Opts> Time/Frequenc> Time & Time Step S tep
Comma Command nd(s): (s): NSUBS GUI:
Main Menu> Preprocessor> Loads> Load Step Opts> Time/Frequenc> Time and Substps Main Menu> Solution> Load Step Opts> Time/Frequenc> Time and Substps
When specifying multiple substeps within a load step, you need to indicate whether the loads are to be ramped or stepped. stepped . The KBC command is used for this purpose: KBC,0 indicates ndicates ramped loads (default), (default), and a nd KBC,1 indicates stepped loads. Command(s Command(s): ): KBC GUI:
Main Menu> Solution> Load Step Opts> Time/Frequenc> Time and Substps (or Time & Time Step) Main Menu> Solution> Load Step Opts> Time/Frequenc> Time and Substps (or Time & Time Step)
To specify results data for the printed output file ( Jobname.OUT), use one of the following: Command(s Command(s): ): OUTPR GUI:
Main Menu> Preproces s or> Load Loads > Load Load Step Opts> Opts> Outp Output ut Ctrls > Solu S olu Printout Pr intout Main Menu> Solution> Sol ution> Load Load Step Opts> Opts> Outp Output ut Ctrls > S olu Printout Pr intout
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_7.html
3/5
5/29/13
12.6. Tr ansi ent Quasi stati c El ectr i c Analysi s
You can also control the solution items sent to the results file ( Jobname.RTH). By default, the ANSYS program program writes writes onl only the the last last subs substep tep of each load step to the the resul results fi file. If you want want all all substeps substeps (that (that is, is, the the solution at all time substeps) on the results file, use one of the following to specify a frequency or ALL or 1. Command(s Command(s): ): OUTRES GUI:
Main Menu> Preprocess Preproces s or> Load Loadss > Load Load Step Opts> Opts> Output Ctrls Ctrls > DB/Res DB/Re s ults File Main Menu> Solution> Loads Loads > Load Load Step Opts> Opts> Outp Output ut Ctrls > DB/Res DB/ Results ults File
12.6.2.4. Applying Loads
You can apply loads in a transient analysis either on the solid model (keypoints, lines, and areas) or on the finite element model (nodes and elements). You can specify current and voltage loads. The procedures and GUI paths you use to apply these loads are identical to those described in Stea Steady-S dy-State tate Current C urrent Conduction Conduction Analysi Analysiss. You can also apply current and voltage loads using the independent current and voltage source options of CIRCU124.. For more information, refer to "Electric Circuit Analysis". CIRCU124 Analysis". 12.6.2.5. Starting the Solution
In this step, you initiate the solution for all load steps using one of the following: Command(s Command(s): ): SOLVE GUI:
Main Menu enu> Solu Soluttion ion> Solv Solve> e> Curren rrentt LS
12.6.2.6. Finishing the Solution
To leave the SOLUTION processor, use either of the following: Command(s Command(s): ): FINISH GUI:
Mai n Menu> Fi nis h
12.6.3. Reviewing Results
The program writes results from a transient electric analysis to the results file, Jobname.RTH. Results include the data listed below: Primary data: Nodal DOF (VOLT). Derived data:
Nodal electri electricc fi field eld (EFX, (EFX, EFY, EFY, EFZ, EFZ, EFSUM). EFSUM). Nodal conduc conducti tion on cu current rrent densi densiti ties es (JCX, (JCX, JCY, JCZ, JCZ, JCSUM). JCSUM). Element current densities (JSX, JSY, JSZ, JSSUM). This output item represents the total (that is, the sum of conduction and displacement current densities). It can be used as a source for a subsequent magnetic analysis. Element conduction current densities (or total measurable current density) (JTX, JTY, JTZ, JTSUM). www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_7.html
4/5
5/29/13
12.6. Tr ansi ent Quasi stati c El ectr i c Analysi s
Element Joule heat generation rate per unit volume (JHEAT). Element stored electric energy (SENE). Nodal reacti reaction curren currents. ts. You can review analysis results in POST1, the general postprocessor, or in POST26, the time-history postprocessor. postprocessor. To To access the the gen general eral postprocessor, postprocessor, choos choosee one one of the the fol folllowin owing: Command(s Command(s): ): /POST1 GUI:
Mai n Menu> General Po Pos ttp proc
To access ac cess the tim time-hi e- history story postproc po stprocessor, essor, choose one of the followin following: g: Command(s Command(s): ): /POST26 GUI:
Mai n Menu> TimeHi st st Pos tp tproc
For a complete description of all postprocessing functions, see "The General Postprocessor (POST1)" and and "The Time-History Postprocessor (POST26)" in the Bas the Basic ic Analysis Analysis Guide. Guide. 12.6.3.1. Reviewing Results in POST1
To review results in POST1, the ANSYS database must contain the same model for which the solution was calculated. Also, the results file (Jobname.RTH) must be available. The procedures for reviewing POST1 transient electric analysis results are identical to the procedures described in Stead Steady-Sta y-State te Current Conducti C onduction on Analysi Analysiss. 12.6.3.2. Reviewing Results in POST26
To review results in POST26, the time-history postprocessor, the ANSYS database must contain the same model for which the solution was calculated, and the Jobname.RTH file (the results file) must be available. If the model is not in the database, restore it using one of the following: Command(s Command(s): ): RES RESUM UME E GUI:
Utilit ility y Menu enu> File> ile> Resum esume Job Jobname.d e.db
The procedures for reviewing POST26 transient electric analysis results are identical to the procedures described in Harmoni Harmonicc Q uasistatic Electric Analysis Analysis. Variable number 1 is reserved for time instead of frequency.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_7.html
5/5
5/29/13
12.7. Sample Steady- State Conducti on Cur r ent Anal ysi s
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.7. Sample Steady-State Conduction Current Analysis
www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The following is an example of how to perform a steady-state conduction current analysis by issuing ANSYS commands. You can also perform the analysis through the ANSYS GUI menus. 12.7.1. Problem Problem De scri sc ription ption
A current I is applied to a thin disk of radius r = a. As shown in the following figure, the current enters and leaves via point electrodes located at r = b, φ = 0 and r = b, φ = π. Find the potential and dc-current distributions in the disk. Figure Figure 12.3 1 2.3 Conducting Conducting Disk Dis k with Current Current Loading Loading
The geometric and electrical parameters are: Radius a = 20 cm Distance from the center to the point electrodes b = 10 cm App lied Current I = 1 mA mA Disk Resistivity ρ = 100 Ωm
To obtain an accurate field distribution, the disc area is densely meshed with triangle-shaped PLANE230 electric elements. A VOLT degree of freedom constraint is applied to the center of the disk. Current loads are applied as concentrated nodal loads. A cylindrical coordinate system is used. 12.7.2. Res ults ults
Table 12.19 12. 19 Electric Pote Potential ntial at Points with with Coordinate Coordinatess r = a and φ Electric Potential (V)
φ (degrees (degrees )
Computed
Targ et [1 ]
0
– .03501
– .03497
10
– .03399
– .03392
20
– .03124
– .03110
30
– .02708
– .02716
40
– .02269
– .02271
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13stead.html
1/4
5/29/13
12.7. Sample Steady- State Conducti on Cur r ent Anal ysi s
50
– .01814
– .01810
60
– .01360
– .01349
70
– .00880
– .00894
80
– .00438
– .00445
90
0.0
0.0
1. Problem Prob lem # 286, 286 , p.137 p.1 37 in N.N. N. N. Lebedev, Lebe dev, I.P. Skalskaya, S kalskaya, Y.S. Ufland, Ufland, "Work "Worked ed probl prob lems in Applied Applied Mathematics," Mathematics," Dover Publications, Inc., NY (1979). The following figures display the potential and dc-current distributions in the disk. Figure Figure 12.4 Potential Pote ntial Distrib Dis tribution ution
Figure Figure 12.5 12. 5 Current Current Distrib Dis tribution ution
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13stead.html
2/4
5/29/13
12.7. Sample Steady- State Conducti on Cur r ent Anal ysi s
12.7.3. Command Listing
You can perform this example steady-state analysis using the ANSYS commands shown below. Text prefaced by an exclamation point (!) is a comment. /batch,list /title, DC-current distribution in a thin conducting disk a=20.e-2 ! disk radius, m b=10.e-2 ! electrode distance from the center, m I=1.e-3 ! current, A rho=100 ! resistivity, Ohm*m /nopr /PREP7 ! Model and meshing et,1,PLANE230 mp,rsvx,1,rho cyl4,0,0,0,0,a,360 esize,,64 msha,1,2-D amesh,1 ! Boundary conditions csys,1 d,node(0,0,0),volt,0
! electric element type ! resistivity ! circular area ! mesh with triangles
! cylindrical coordinate system ! ground center node
! Nodal current loads f,node(b,0,0),amps,-I f,node(b,180,0),amps,I www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13stead.html
3/4
5/29/13
12.7. Sample Steady- State Conducti on Cur r ent Anal ysi s
fini /solu antype,static solve fini /post1 plnsol,volt plnsol,jc,sum
! steady-state current conduction
! plot electric potential ! plot current density vector magnitude
*dim,value,,10,2 *dim,coord,,10,2 *do,i,1,10 ! coordinates of solution point r=a $ phi=(i-1)*10 coord(i,1)=r coord(i,2)=phi ! ANSYS solution value(i,1)=volt(node(a,(i-1)*10,0)) *enddo ! Analytical solution *vfill,value(1,2),data,-0.034969,-0.03392 *vfill,value(1,2),da ta,-0.034969,-0.033923,-0.031098,-0.02716 3,-0.031098,-0.027163,-0.022709 3,-0.022709 *vfill,value(6,2),data,-0.018095,-0.01348 *vfill,value(6,2),da ta,-0.018095,-0.013485,-0.008937,-0.00445 5,-0.008937,-0.004451,0. 1,0. /com,---------------- VOLT SOLUTION ---------------/com,---------------/com, /com, R | PHI | ANSYS | TARGET /com, *vwrite,coord(1,1),coord(1,2),value(1,1),value(1,2), (1X,' ',F6.1,' ',F6.1,' ',F11.6,' ',F11.6) /com,------------------------------------------------fini
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13stead.html
4/4
5/29/13
12.8. Sampl e Conductance Calcul ati on
Low-Frequency Low-Fr equency Guide | Chapter 12. Electric Field Analysis |
12.8. Sample Conductance Calculation
www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
This problem evaluates conductance between parallel plate electrodes. The following is an example of how to conduct the analysis by issuing ANSYS commands. You can also perform the analysis through the ANSYS GUI menus. 12.8.1. Problem Description
In this example, the objective is to compute the self and mutual conductance coefficients between two parallel plate electrodes. In this example, the model consists of two parallel plate electrodes, 3 m in length, with a gap of 2 m and a conductivity of 10. One electrode represents the ground, and 100 volts is applied to the other electrode. The target conductance is 15. Figure Figure 12.6 Problem Problem Geom Geo me try
12.8.2. Command Listing
/title,Conductance between parallel plate electrodes using GMATRIX /com Inpu Inp ut data dat a /com sigma : conductivity /com g : gap between betwe en electrodes /com w : electrode width /com l : length /com /com Target /com /com G = sigma w l / g : conductance between parallel plate electrodes ! g=2 ! gap between electrodes w=3 ! electrode width l=1 ! length sigma=10 ! conductivity ! gt=sigma*w*l/g ! target conductance ! /prep7 www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13cond.html
1/2
5/29/13
12.8. Sampl e Conductance Calcul ati on
et,1,230 mp,rsvx,1,1/sigma ! n,1,0,0 n,2,w,0 n,3,w,g n,4,0,g e,1,2,3,4 ! nsel,s,loc,y,g cm,comp1,node d,all,volt,100 ! nsel,s,loc,y,0 cm,comp2,node d,all,volt,0 ! nsel,all ! gmatrix,1,'comp',2,0 gc=gmatrix(1,1,1) finish
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13cond.html
! electrode
! ground
! compute conductance matrix ! computed conductance
2/2
5/29/13
12.9. Sampl e Har moni c Quasistati c Electr i c Anal ysi s
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.9. Sample Harmonic Quasistatic Electric Analysis
www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
12.9.1. Problem Problem Des cripti cription on
A time-harmonic voltage of amplitude V o is applied to a barium titanate parallel plate capacitor with circular plates of radius a and dielectric thickness d. The dielectric has relative permittivity ε r and loss tangent tanδ. Perform a harmonic analysis to determine the capacitor admittance (Y) in the frequency (f) range of 0 to 1 M Hz, and find the dissipated power at 1 MHz. Figure Figure 12.7 12 .7 Parallel Paralle l Plate Capacitor Capacito r with Time-Harmonic Voltage Voltag e Load
The geometric and electrical parameters are: Radius a = 9 cm Thickness d = 0.1 cm Relative Permittivity εr = 1143 Loss tangent tanδ = 0.0105 Voltage amplitude amplitude Vo = 50 volts Frequency f = 0 to 1 MHz
The capacitor is modeled using the axisymmetric option of PLANE230 of PLANE230 electric elements. Electrodes are defined by coupling VOLT degrees of freedom on the major surfaces of the capacitor. The bottom electrode is grounded, and a voltage load V o is applied to the top electrode. Figure Figure 12.8 Axisymmetric Axisymmetric Model Mo del
Electric admittance (Y) is calculated at ten frequencies between 0 and 1 MHz using the reaction current on the loaded electrode. Results are compared with target values obtained from the following analytical expression: Y = 2πfC(tanδ+j) where:
www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELE13_9.html
1/4
5/29/13
12.9. Sampl e Har moni c Quasistati c Electr i c Anal ysi s
and j = imaginary unit. Power dissipation at f = 1 MHz is calculated in /POST1 by summing up the Joule heat rates over the elements. The result is compared with the following analytical expression for the time-average power dissipated in the capacitor:
12.9.2. Res ults ults
As shown in the following table, the ANSYS electric admittance (Y) results agree with those from the analytical expression given above. Table Table 12.20 12 .20 Electric Adm Admittance ittance (Y) (Y) Frequency (MHz)
Admittance Ampl itude (S ) [1 ]
0.0
0.1618
0.2
0.3236
0.3
0.4855
0.4
0.6473
0.5
0.8091
0.6
0.9709
0.7
1.1327
0.8
1.2945
0.9
1.4564
1.0
1.6182
1. The phase angle angle is is 89.4 89. 4 degrees at a t all ten frequencies. frequencies. The power dissipated at a frequency of 1 MHz is 21.2 watts. 12.9.3. Command Listing
You can perform this example harmonic analysis using the ANSYS commands shown below. Text prefaced by an exclamation point (!) is a comment. Besides commands to perform this analysis using the PLANE230 electric elements, this command listing includes the commands to do the same analysis using PLANE121 electrostatic elements.
/batch,list /title, Harmonic response of a lossy capacitor /com, /com, Problem parameters: a=9.e-2 ! radius, m d=0.1e-2 ! thickness, m epsr=1143 ! relative permittivity tand=0.0105 ! loss tangent Vo=50 ! voltage amplitude, V f1=0 ! begin frequency, Hz f2=1.e6 ! end frequency, Hz eps0=8.854e-12 ! free space permittivity, F/m Pi=acos(-1) C=epsr*eps0*Pi*a**2/d C=epsr*eps0*Pi*a* *2/d ! capacitance, F P2d=Pi*f2*Vo**2*C*tand P2d=Pi*f2*Vo**2*C *tand ! power dissipation at freq. f2, Watt /nopr /PREP7 et,1,PLANE230,,,1 emunit,epzro,eps0 mp,perx,1,epsr mp,lsst,1,tand rect,,a,,d www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELE13_9.html
! axisymmetric electric element ! specify free-space permittivity ! electric material properties ! model and mesh 2/4
5/29/13
12.9. Sampl e Har moni c Quasistati c Electr i c Anal ysi s
esize,d/2 amesh,1 ! Boundary conditions and loads nsel,s,loc,y,0 cp,1,volt,all ! *get,n_grd,node,0,num,min *get,n_grd,node,0 ,num,min ! nsel,s,loc,y,d cp,2,volt,all ! *get,n_load,node,0,num,min *get,n_load,node, 0,num,min ! nsel,all d,n_grd,volt,0 ! d,n_load,volt,Vo ! fini /solu antype,harm harfrq,f1,f2 nsubs,10 outres,all,all kbc,1 solve fini
! ! ! ! !
define bottom electrode get master node on bottom electrode top electrode get master node on top electrode ground bottom electrode apply voltage load to top electrode
harmonic analysis frequency range number of substeps write all solution items to the result file stepped load
/post1 /com,Calculate power dissipation at frequency = %f2%, Hz set,last ! read last data set etab,jh,jheat ! fill etable with Joule heat rates per unit volume etab,vol,volu ! fill etable with element volumes smult,dpower,jh,vol smult,dpower,jh,v ol ! fill etable with element Joule heat rates ssum ! sum element Joule heat rates /com,Expected power dissipation = %P2d%, Watt fini /post26 rfor,2,n_load,amps rfor,2,n_load,amp s prod,3,2,,,Y_ANSYS,,,1/Vo prod,3,2,,,Y_ANSY S,,,1/Vo prod,4,1,,,,,,2*Pi*C prod,4,1,,,,,,2*P i*C cfact,tand,,,1 add,5,4,4,,Y_TARGET add,5,4,4,,Y_TARG ET prcplx,1 prvar,Y_ANSYS,Y_TARGET fini
! reaction current I ! Y_ansys = I/V ! 2*Pi*f*C ! Y_target = 2*Pi*f*C*(tand+j)
/com, /com, *** Perform same frequency sweep using electrostatic elements /com, /PREP7 et,1,PLANE121,,,1 ! axisymmetric electrostatic element fini /solu antype,harm harfrq,f1,f2 nsubs,10 outres,all,all kbc,1 solve fini
! ! ! ! !
harmonic analysis frequency range number of substeps write all solution items to the result file stepped load
/post1 /com,Calculate power dissipation at frequency = %f2%, Hz set,last ! read last dataset etab,jh,jheat ! fill etable with Joule heat rates per unit volume www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELE13_9.html
3/4
5/29/13
12.9. Sampl e Har moni c Quasistati c Electr i c Anal ysi s
etab,vol,volu ! fill etable with element volumes smult,dpower,jh,vol smult,dpower,jh,v ol ! fill etable with element Joule heat rates ssum ! summ up element Joule heat rates /com,Expected power dissipation = %P2d%, Watt fini /post26 rfor,2,n_load,chrg rfor,2,n_load,chr g cfact,0,2*Pi prod,3,1,2,,Y_ANSYS,,,,1/Vo prod,3,1,2,,Y_ANS YS,,,,1/Vo prod,4,1,,,,,,2*Pi*C prod,4,1,,,,,,2*P i*C cfact,tand,,,1 add,5,4,4,,Y_TARGET add,5,4,4,,Y_TARG ET prcplx,1 prvar,Y_ANSYS,Y_TARGET fini
www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELE13_9.html
! reaction charge Q ! Y_ansys = j*2*Pi*Q/Vo ! 2*Pi*f*C ! Y_target = 2*Pi*f*C*(tand+j)
4/4
5/29/13
12.10. Sampl e Tr ansient Quasi static El ectr i c Analysi s
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.10. Sample Transient Quasistatic Electric Analysis
www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
12.10.1. Problem Description
A parallel plate capacitor filled with a lossy dielectric, characterized by relative permittivity ε r and resistivity ρ, is connected, in series with a resistor R, to a source of constant voltage U. The switch closes at time t = 0. Find the electric field and current density distributions in the capacitor as functions of time. Figure Figure 12.9 12 .9 Paralle Parallell Plate Plate Capacitor Connecte Connected d to a Voltage Source
The The capacitor and circu circuit parameter parameter s are: Length a = 3 cm Width Wid th b = 1 cm Thickness d = 0.5 cm Los s tangen t tanδ = 0.01 0.0105 05 Resistivity Resist ivity = 150 150 Ωm Resistance Resist ance R = 1 kΩ Voltage U = 12 volts
The lossy capacitor is modeled with SOLID231 electric elements. Electrodes are defined by coupling VOLT degrees of freedom on the major surfaces of the capacitor. Lumped circuit components are modeled using CIRCU124 elements and they are connected to the capacitor via the master nodes. A transient analysis is performed to determine the electric field variation in the capacitor with time. Computed results for a selected element are compared in /POST26 to the values derived from the following analytical expression for the electric field: www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_10.html
1/6
5/29/13
12.10. Sampl e Tr ansient Quasi static El ectr i c Analysi s
E(t) = Es {1 - exp (-t/τ)} where: Es = steady state electric field, Volts/m S = capacitor plate area, m2 τ = time constant, seconds and they are defined by:
S = ab
12.10.2. Res ults ults
The following figures display the electric field and current density distributions as functions of time. Figure Figure 12.10 12 .10 Computed Computed and Target Electric Fields
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_10.html
2/6
5/29/13
12.10. Sampl e Tr ansient Quasi static El ectr i c Analysi s
Figure Figure 12.11 12 .11 Current Current Density De nsity (Conduction, (Conduction, Displace Dis placement, ment, and and Total)
12.10.3. Command Listing www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_10.html
3/6
5/29/13
12.10. Sampl e Tr ansient Quasi static El ectr i c Analysi s
You can perform this example transient analysis using the ANSYS commands shown below. Text prefaced by an exclamation point (!) is a comment. Besides /POST26 commands to display the electric field and current density, this command listing includes the commands to print electric field, current density, electric flux density, and Joule heat rate. The current density and Joule heat rate output quantities are included to illustrate the coupling to magnetic and thermal analyses using companion magnetic and thermal elements, respectively.
/batch,list /title, Transient effects in a lossy capacitor /com, /com, Problem parameters: a=3.e-2 ! length, m b=1.e-2 ! width, m S=a*b ! area, m**2 d=0.5e-2 ! thickness, m epsr=12 ! relative permittivity of dielectric eps0=8.854e-12 ! free space permittivity, F/m rho=150 ! resistivity of dielectric, Ohm*m, R=1000 ! resistance, Ohm U=12 ! voltage, V Es=U/(S*R/rho+d) ! steady-state electric field, V/m tau=epsr*eps0*S*R/(S*R/rho+d) ! time constant, s /nopr /PREP7 emunit,epzro,eps0 ! Specify free-space permittivity ! Element attributes et,1,CIRCU124 ! Resistor et,2,CIRCU124,4 ! Voltage source et,3,SOLID231 ! 20-node brick electric solid r,1,R ! Real constants for circuit elements r,2,U mp,rsvx,1,rho ! Electric properties mp,perx,1,epsr ! Modeling and meshing type,3 mat,1 block,,d,,a,,b esize,d/2 vmesh,1 nsel,s,loc,x,0 cp,1,volt,all *get,n1,node,0,num,min nsel,s,loc,x,d cp,2,volt,all *get,n2,node,0,num,min nsel,all www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_10.html
! Couple nodes to model right electrode ! Get master node on right electrode ! Couple nodes to model left electrode ! Get master node on left electrode
4/6
5/29/13
12.10. Sampl e Tr ansient Quasi static El ectr i c Analysi s
! Circuit mesh *get,nmax,node,0,num,max n3=nmax+1 n4=n3+1 n,n3,a/2,-a n,n4,a/2,-a type,1 ! resistor real,1 e,n1,n3 type,2 ! voltage source real,2 e,n3,n2,n4 d,n2,volt,0 ! ground node fini /solu antype,transient t1=6*tau time,t1 deltim,t1/100 outres,all,5 ic,all,volt,0 solve fini
! transient analysis ! ! ! !
set analysis time set time step write results at every 5th substep initial conditions for VOLT
! Select nodes and elements for post-processing n_post=node(d/2,a/2,b/2) nsel,s,node,,n_post esln,s *get,e_post,elem,0,num,min allsel /com, *** Results verification /post26 numvar,20 ! Electric field esol,2,e_post,,EF,x,EF_ANS exp,3,1,,,,,,-1/tau,-1 filldata,4,,,,1 add,5,4,3,,EF_TAR,,,Es,Es
! -exp(-t/tau) ! 1 ! E=Es*(1-exp(-t/tau))
! Conduction current esol,6,e_post,,JC,x,JC_ANS prod,7,5,,,JC_TAR,,,1/rho
! Jc=E/rho
! Electric flux density esol,8,e_post,,NMISC,1,D_ANS prod,9,5,,,D_TAR,,,epsr*eps0
! D=epsr*eps0*E
! Displacement and total (displacement+conduction) currents esol,10,e_post,,JS,x,JS_ANS www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_10.html
5/6
5/29/13
12.10. Sampl e Tr ansient Quasi static El ectr i c Analysi s
add,11,10,6,,JD_ANS,,,,-1 deriv,12,9,1,,JD_TAR add,13,7,12,,JS_TAR
! Jd=Js-Jc ! Jd=dD/dt
! Joule heat generation rate per unit volume esol,14,e_post,,JHEAT,,HGEN_ANS prod,15,5,7,,HGEN_TAR! Jheat=E*Jc prvar,EF_ANS,EF_TAR,D_ANS,D_TAR prvar,JC_ANS,JC_TAR,JD_ANS,JD_TAR,JS_ANS,JS_TAR prvar,HGEN_ANS,HGEN_TAR /axlab,x, Time, s /axlab,y, Electric Field, Volt/m plvar,EF_ANS,EF_TAR ! Plot computed and expected EF /axlab,y, Current density, A/m**2 plvar,JC_ANS,JD_ANS,JS_ANS ! Plot computed currents fini /com, *** Coupling to /PREP7 et,1,0 et,2,0 et,3,90 esel,s,elem,,e_post ldread,hgen,,5,,,,rth bfelist,all,hgen ldread,hgen,,,,,,rth bfelist,all,hgen esel,all fini /com, *** Coupling to /PREP7 et,3,117 esel,s,elem,,e_post ldread,js,,5,,,,rth bfelist,all,js ldread,js,,,,,,rth bfelist,all,js esel,all fini
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_10.html
thermal analysis
! companion thermal element ! read heat generation from the 5th substep ! read heat generation from the last substep
magnetic analysis ! companion magnetic element ! read current from the 5th substep ! read current from the last substep
6/6
5/29/13
12.11. Wher e to Fi nd C ur r ent Conducti on Anal ysis Examples
Low-Frequency Guide | Chapter 12. Electric Field Analysis |
12.11. 12. 11. Where to Find Current Current Conduction Analy Analyss is Examples Examples
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
Another Another ANSYS, AN SYS, Inc., publ p ubliication, the Verification Manual , contains several examples of current conduction analysis: VM117 - Electric Electric Current Current Flowing Flowing in a Network Net work VM170 - Magnetic Field from a Square Current Loop VM173 - Centerline Centerline Temperature o f an Electrical Wire Wire
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE13_8.html
1/1
5/29/13
Chapter 13. El ectr ostati c Fi el d Anal ysis ( h- M ethod)
Low-Frequency Guide |
Chapter 13. Electrostatic Field Analysis (h-Method)
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
Electrostatic field analysis determines the electric field and electric scalar potential (voltage) distribution caused by ch charge arge distri distribut butiions or appli applied potenti potential al.. You can apply apply two two types types of loads in in thi this anal analys ysiis: voltag voltagee and and charg chargee densities. An electr ostatic ostatic analysis is assumed to be linear. The electric f ield ield is proportional to the applied voltage. Two electrostatic electrostatic analyses methods are available: h-Method and and p-Method. The traditional h-Method is covered in this cha pter and and the the p-Method p-Method is is covered covered in in "pp-Method Method Electrostatic Analysis". Analysis". Electrostatic Electrostatic contact is also available in ANSYS. See Modeling Electric Contact in the Contact Technology Guide for details. The following h-Method electrostatic field analysis topics are available: Elements Used in h-Method Electrostatic Analysis Steps in an h-Method Electrostatic Analysis Extracting Capacitance from Multi-conductor Systems Trefft Tref ftzz Method for Open O pen Boundary Representati Repre sentation on Doing an Example h-Method Electrostatic Analysis (GUI Method) Doing an Electrostatic Analysis (Command Method) Doing an Example Capacitance Calculation (Command Method) Doing an Electrostatic Analysis Using Trefftz Method (Command Method) Doing an Electrostatic Analysis Using Trefftz Method (GUI Method)
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14.html
1/1
5/29/13
13.1. Elements Used i n h- Method Electr ostati c Anal ysi s
Low-Frequency Guide | Cha Chapter pter 13. Electrostatic Field Analysis (h(h-Method Method)) |
13.1. Elements Use d in h-Me h-Me thod thod Electrostatic Electrostatic Analy Analyss is
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
Electrostatic analyses use the following ANSYS elements: Table Table 13.1 2-D Solid Elements El ement
PLANE121
Dimens .
2-D
S hape or Characteri s ti c
Qu ad rilat eral, eig h t n o d es
DOFs
Vo lt ag e at each n o d e
Notes
Su p p o rt ed fo r cyclic symmetry (periodic) analyses, except for Trefftz method or coupled thermo-elect thermo-elect ric with VOLT OLT and TEMP.
Table Table 13.2 3-D Solid Elements El ement
Dimens .
S hape or Characteri s ti c
DOFs
Notes
SOLID122
3-D
Brick, 20 n o d es
Vo lt ag e at each n o d e
Su p p o rt ed fo r cyc cycli licc s ymm ymmetry etry (periodic) (periodic) analyses , except except for Trefftz Trefftz metho metho d or co upled thermo-electric with VOLT and TEMP.
SOLID123
3-D
Tet rah ed ral, 10 n o d e
Vo lt ag e at each n o d e
Su p p o rt ed fo r cyc cycli licc s ymm ymmetry etry (periodic) (periodic) analyse s, except for Trefftz Trefftz metho metho d or co upled thermo-electric with VOLT and TEMP.
Table Table 13.3 Specialty Elements Element
Di mens .
S hape or Characteri s tic
DOFs
MATRIX50
None (th is is a su per- element) element)
Depends on the elements that make Depends o n th e included included elem element ent ty pes up t his element element
INFIN110
2-D
Fo u r o r eig h t n o d es
On e p er n o d e; th is can b e a mag n et ic v ect o r po ten tial, temperat temperat ure, or electric pot ent ial
INFIN111
3-D
Hexalat eral, 8 o r 20 n o d es
A X, A Y, A Z mag n et ic v ecto r p o ten tial, temperature, electric potential, or magnetic scalar potential
INFIN9
2-D
Plan ar, u n b o u n d ed , t wo n o d es
A Z mag n etic v ect o r p o t en tial, t emp erat u re
INFIN47
3-D
Qu ad rilat eral, fo u r n o d es or or
A Z mag n etic v ect o r p o t en tial, t emp erat u re
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_2.html
1/2
5/29/13
13.1. Elements Used i n h- Method Electr ostati c Anal ysi s
triang triang le, three no des
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_2.html
2/2
5/29/13
13.2. Steps in an h- Method Electr ostati c Anal ysi s
Low-Frequency Guide | Cha Chapter pter 13. Electrostatic Field Analysis (h(h-Method Method)) |
13.2. Steps in an h-Method Electrostatic Analysis
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The procedure for doing an electrostatic analysis consists of three main steps: 1. Build Build the model. mode l. 2. Apply App ly loads oads and obtai obta in the solution. solution. 3. Review the results. results. The next few topics discuss what you must do to perform these steps. First, the text presents a general description of the tasks required to complete each step. An example follows, based on an analysis of electrostatic forces between charge spheres. The example walks you through doing the analysis by choosing items from ANSYS' GUI menus, then shows you how to perform the same analysis using ANSYS commands. 13.2.1. Building the Model
To build the model, you start by specifying the jobname and a title for your analysis, using the following commands or GUI paths: Command(s Command(s): ):
/FILNAME, /TITLE
GUI:
Utility Menu> File> Change Jobname Utility til ity Menu> Menu> File> File > Change Change Title
M enu> > If you are using the ANSYS GUI, the next step is to set preferences for an electric analysis: Main Menu Preferences> Electromagnetics: Electric
You must set must set the preference to Electric to ensure that the elements needed for your analysis will be available. (The ANSYS GUI filters element types based on the preference you choose.) Once you have set the Electric preference, use the ANSYS preprocessor (PREP7) to define the element types, the material properties, and the model geometry. These tasks are common to most analyses. The Modeli Modeling ng and Meshing Meshi ng Guide explains them in detail. For an electrostatic analysis, you must define the permittivity (PERX) material property. It can be temperature dependent, as well as isotropic or orthotropic. In ANSYS, you must make sure that you use a consistent system of units for all the data you enter. See the EMUNIT command in the Commands Reference for additional information regarding appropriate settings of www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_3.html
1/4
5/29/13
13.2. Steps in an h- Method Electr ostati c Anal ysi s
free-space permeability and permittivity. For micro-electromechanical systems (MEMS), it is best to set up problems in more convenient units since components may only be a few microns in size. For convenience, see Table 13.4: "Electrical Conversion Factors for MKS to muMKSV" and and Table 13.5: "Electrical Conversion Factors for MKS to muMSVfA". muMSVfA". Table Table 13.4 1 3.4 Electrical Electrical Conve Converrs ion Factors Factors for MKS to muM muM KSV Electrical Parameter
MKS Uni t
Di mens i on
Mul ti pl y by This Numb Number
To Obtain μMKSV Unit
Dimension
Vo lt ag e
V
(kg )(m)2 /(A)(s)3
1
V
(kg )(μm)2/(pA)(s)3
Cu rren t
A
A
1012
pA
pA
Ch arg e
C
(A )(s )
1012
pC
(pA)(s)
Co n d u ctiv it y
S/m
(A )2 (s)3 /(kg)(m) 3
106
pS/μm
(pA) 2(s) 3/(kg)(μm)3
Res is t iv it y
Ωm
(kg )(m)3 /(A)2(s) 3
10-6
T Ωμm
(kg )(μm)3/(pA)2 (s)3
Permittivity[1 Permittivity[1]
F/m
(A )2 (s)4 /(kg)(m) 3
106
pF/μm
(pA) 2(s) 2/(kg)(μm)3
En erg y
J
(kg )(m)2 /(s)2
1012
pJ
(kg)(μm (kg)(μm))2/(s)2
Cap acit an ce
F
(A )2 (s)4 /(kg)(m) 2
1012
pF
(pA) 2(s) 4/(kg)(μm)2
Electric Field
V/m
(kg )(m)/ (s )3(A )
10-6
V/μm
(kg )(μm)/(s )3(pA)
Electric Flux Density
C/(m)2
(A)(s)/(m) 2
1
p C/ (μm)2
(pA)(s)/(μm)2
1. FreeFree - space permi p ermitti ttivi vity ty is equal to 8.854 8.85 4 x 10-6 pF/μm. Table Table 13.5 1 3.5 Electrical Electrical Conversion Factors Factors for MKS to m muMSVfA uMSVfA Electrical Parameter
MKS Uni t
Di mens i on
Mul ti pl y by This Numb Number
To Obtain μMKSVfA Unit
Dimension
Vo lt ag e
V
(kg )(m)2 /(A)(s)3
1
V
(g )(μm)2 /(fA)(s)3
Cu rren t
A
A
1015
fA
fA
Ch arg e
C
(A )(s )
1015
fC
(fA )(s )
Co n d u ctiv it y
S/m
(A )2 (s)3 /(kg)(m) 3
109
fS/ μm
(fA )2(s) 3/(g)(μm)3
Res is t iv it y
Ωm
(Kg )(m3/(A)2(s) 3
10-9
-
(g )(μm)3 /(fA)2 (s)3
Permittivity[1 Permittivity[1]
F/m
(A )2 (s)4 /(kg)(m) 3
109
fF/ μm
(fA )2(s) 2/(g)(μm)3
En erg y
J
(kg )(m)2 /(s)2
1015
fJ
(g )(μm)2 /(s)2
Cap acit an ce
F
(A )2 (s)4 /(kg)(m) 2
1015
fF
(fA )2(s) 4/(g)(μm)2
Electric Field
V/m
(kg )(m)/ (s )3(A )
10-6
V/μm
(g )(μm)/ (s )3 (fA)
Electric Flux Density
C/(m)2
(A)(s)/(m) 2
103
fC/(μm)2
(fA)(s)/(μm) 2
1. FreeFree - space permi p ermitti ttivi vity ty is equal to 8.854 8.85 4 x 10-3 fF/μm. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_3.html
2/4
5/29/13
13.2. Steps in an h- Method Electr ostati c Anal ysi s
13.2.2. Applying Loads and Obtaining a Solution
In this step, you define the analysis type and options, apply loads to the model, specify load step options, and initiate the finite element solution. The next few topics explain how to perform these tasks. 13.2.2.1. Entering the SOLUTION Processor
To enter the SOLUTION processor, use either of the following: Command(s Command(s): ): /SOLU GUI:
Mai n Menu> S ol ution
13.2.2.2. Defining the Analysis Type
To specify the analysis type, do either of the following: In the GUI, choose menu path Main Menu> Solution> Analysis Type> New Analysis and choose a Static Sta tic analysis. analysis. If this is a new analysis, issue the command ANTYPE,STATIC,NEW. If you want to restart a previous analysis (for example, to specify additional loads), issue the command ANTYPE,STATIC,REST. You can restart an analysis only if you previously completed an electrostatic analysis, and the files Jobname.EMAT, Jobname.ESAV, and Jobname.DB from the previous run are available. 13.2.2.3. Defining Analysis Options
Next, Next, you you defi define whi which solv solver you you want want to to use. use. You You can select select th the sparse sparse solve solverr (defau (defaullt), Precon Precondi diti tione oned d Conjugate Gradient (PCG) solver, PCG out-of-memory solver, Jacobi Conjugate Gradient (JCG) solver, Incomplete Cholesky Conjugate Gradient (ICCG) solver, or JCG out-of-memory solver. To select an equation solver, use either of the following: Command(s Command(s): ): EQSLV GUI:
Main Men Menu u> Solu Soluttion ion> An Analysis lysis Ty Type> Analysis lysis Opt Option ions
If you choose either the JCG solver or the PCG solver, you can also specify a solver tolerance value. This value defaults to 1.0E-8. 13.2.2 13. 2.2.4. .4. Apply Apply Boun Bo unda dary ry Conditions Conditions
These loads specify flux-parallel, flux-normal, far-field, and periodic boundary conditions, as well as an imposed external magnetic field. The following table shows the value of volt required for each type of boundary condition: B oundary Condi ti on
Val ue of VOLT
Flu x-p arallel
No n e req u ired (n at u rally o ccu rrin g ).
Flu x-n o rmal
Sp ecify a co n s t an t v alu e o f VOLT u s in g t h e D command command (Main Menu> Solution> Define Loads> Apply> Electric> Boundary> Voltage> J-Normal> On Nodes (On
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_3.html
3/4
5/29/13
13.2. Steps in an h- Method Electr ostati c Anal ysi s
Lines or On Areas).
Far-field
Fo r 2-D an aly s is , u s e INFIN9 (planar analyses only) or INFIN110 or INFIN110 element element s. For Fo r 3-D 3-D analysis, us e th e Trefftz Trefftz form formulation or INFIN47 or INFIN47 or INFIN111 or INFIN111 elements.
Imp o s ed ed ext ern al field
A p p ly n o nz nzero v alu es of of VOLT. Us e Main Menu> Solution> Define Loads> Apply> Electric> Boundary> Voltage> On Keypoints (On Nodes, On Lines or On Areas).
Flux-parallel boundary conditions force the flux to flow parallel to a surface, while flux-normal boundary conditions force the flux to flow normal to a surface. You do not need to specify far-field zero boundary conditions if you use the Trefftz formulation or far-field elements to represent the "infinite" boundary of the model. For an imposed external field, specify the appropriate nonzero value of VOLT. 13.2.2.5. Applying Loads
You can apply loads to an electrostatic analysis either on the solid model (keypoints, lines, and areas) or on the finite element model (nodes and elements). You can specify several types of loads: 13.2.2 .5.1. Voltage oltage (VOLT) (VOLT)
These loads are DOF constraints that you usually specify at model boundaries to apply a known voltage. To apply voltage, use one of the following: Command(s Command(s): ): D GUI:
Main Men Menu> u> Solut Solutio ion> n> Define efine Lo Loads> Ap Apply> ly> Elect Electric> ric> Boun Bound dary> ry> Vo Voltage ltage
13.2.2.5.2. Charges (CHRG)
These are concentrated nodal force loads. To apply them, use the following command or GUI path: Command(s Command(s): ): F GUI:
Main Menu Menu> > Solutio Solution> n> Define Define Lo Loads> Ap Apply> Electric> lectric> Excita xcitatio tion> n> Char Charge> ge> On Nod Nodes
13.2.2 .5.3. Su Surrface Char Charge Dens itie itie s (CHRGS) (CHRGS)
These are surface loads you can apply at nodes or elements. To apply them, use the following command or GUI path: path: Command(s Command(s): ): SF GUI:
Main Men Menu> u> Solut Solutio ion> n> Define efine Lo Loads> Ap Apply> ly> Elect Electric> ric> Excita citation> ion> Surf Chrg hrg Den
13.2.2.5.4. Infinite Surface Flags (INF)
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_3.html
4/4
5/29/13
13.3. Extr acti ng Capaci tance fr om Multi - conductor Systems
Low-Frequency Guide | Cha Chapter pter 13. Electrostatic Field Analysis (h(h-Method Method)) |
13.3. Extracting Capacitance from Multi-conductor Systems
www.kxcad.net Hom Ho me > CAE Index > AN ANSYS SYS Index Index > Release 11.0 Documentation for ANSYS
A key parameter from an electrostatic solution is capacitance. For multiple conductor systems, this involves extracting self and mutual capacitance terms so that equivalent circuit lumped capacitors can be defined for use in circuit simulators. The CMATRIX command macro has been developed to extract self and mutual capacitance terms for multiple conductor systems. See the Theory Reference for ANSYS and ANSYS Workbench for more details. 13.3.1. Ground Capacitances and Lumped Capacitances
Finite element simulation can readily compute and extract a "Ground" capacitance matrix of capacitance values that relate the charge on one conductor with the conductor's voltage drop (to ground). Figure 13.2: "Three Conductor System" illustrates a three-conductor system (one conductor is ground). The following two equations relate charges on electrodes 1 and 2, Q 1 and Q2, with the voltage drops for the electrodes, U 1 and U2: Q1 = (Cg )11 (U1) + (C g )12 (U2) Q2 = (Cg )12 (U1) + (C g )22 (U2) Figure Figure 13.2 Thr Three e Condu Conductor ctor Syste Sys tem m
where Cg represents a matrix of capacitances referred to as “ground capacitances”. These ground capacitances do not represent lumped capacitances typically used in a circuit simulator because they do not relate the capacitances between conductors. However, the CMATRIX command macro can convert the ground capacitance matrix to a lumped capacitor matrix which is suitable for use in circuit simulators. Figure 13.3: "Lumped Capacitor Equivalence of Three Conductor System" illustrates the lumped capacitances between the conductors. The following two equations then relate the charges with the voltage drops: Q1 = (Cl)11 (U1) + (C l)12 (U1 - U2) www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_4.html
1/4
5/29/13
13.3. Extr acti ng Capaci tance fr om Multi - conductor Systems
Q2 = (Cl)12 (U1 - U2) + (C l)22 (U2) Figure Figure 13.3 1 3.3 Lumped Lumped Capacitor Capacitor Equivale Equivalence nce of Three Three Conductor Conductor Sys tem te m
where Cl represents a matrix of capacitances referred to as “lumped capacitances”. 13.3.2 . Proce Proce du dure re
The The CMATRIX command macro will perform multiple simulations and extract both the ground capacitance matrix values and the lumped capacitance matrix values. To prepare for CMATRIX, you must group the conductor nodes into node components. Do not appl app ly any load loadss to the mode modell (voltag (voltages, es, charge, charge densi d ensity, ty, etc). The component name applied to the conductor nodes must contain a common prefix, followed by a numerical suffix progressing from 1 to the highest numbered conductor in the system. The last numbered conductor in the system must be the ground conductor (the conductor whose potential is assumed to be zero). The procedure for using CMATRIX is as follows: 1. Buil Build and mesh mesh the solid solid mod model el with with electr electrosta ostatic tic elements. elements. Conductors Co nductors are a re assumed to be perfect pe rfect conductors and hence do not require a finite element mesh within the conductor domain. Only the surrounding dielectric regions and air regions require a mesh. The resulting nodes on the boundary of the conductors represent the nodes that will be grouped into node components. 2. Select the nodes on the surface surface of o f the the each eac h conductor and group them them into into node components. Command(s): CM GUI:
Utility ility Menu enu> Select Select> > Comp/Assem /Assemb bly> ly> Creat reate Co Component ent
Share a command prefix for the component names, and use a numerical value sequencing from 1 to the highest numbered conductor. For example, in Figure 13.3: "Lumped Capacitor Equivalence of Three Conductor System", System", three node components would be defined for each set of conductor nodes. Using a prefi prefix "cond" cond",, the the node node compone componen nt nam names es woul would d be "con "cond1" d1",, "con "cond2" d2",, and and "con "cond3" d3".. The The last last com compone ponen nt, "cond3" would be the nodes representing the ground. 3. Enter the the SOLUTION SO LUTION proc p rocesso essor, r, using using either of the the foll following owing:: Command(s): SOLU GUI:
Mai n Menu> S ol ution
4. Select Select an equation solver (JCG (JC G recomm reco mmended ended), ), using using either either of the the followi following ng:: www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_4.html
2/4
5/29/13
13.3. Extr acti ng Capaci tance fr om Multi - conductor Systems
Command(s): EQSLV GUI:
Main Men Menu u> Solu Soluttion ion> An Analysis lysis Ty Type> Analysis lysis Opt Option ions
5. Invoke Invoke the CMATRIX macro, using one of the following: Command(s): CMATRIX GUI:
Main Men Menu> u> Solut Solutio ion> n> Solv Solve> Electro lectrom magnet> gnet> Stati Staticc Ana Analy lysis> sis> Cap Capac Ma Matrix trix
The The CMATRIX command macro requires the following input: A symmetry factor (SYMFAC ). ). If there is no symmetry in the model, the symmetry factor is 1 (default). If you wish to model only a portion of the model by taking advantage of symmetry, use the symmetry factor as a multiplier to obtain the correct capacitance. The node component prefix name (Condname ). This is the prefix of the node component name's used to define the conductor node components. In the above example, the prefix name is "cond". The command macro requires that you put single quotes around the prefix name when entering the character string. Thus, the input for this example would be 'cond'. In the GUI, the single quotes are automatically handled by the program. The number of conductor node components (NUMCOND ). ). Insert the total number of conductor node components. In the above example you would use "3". Enter the Ground Key option (GRNDKEY ). ). If your model does not contain an open boundary then the highest numbered node component represents ground. In this case, no special treatment is needed and you would set the ground key to zero (default). If your model contains an open bounda boundary ry (model (modeled ed with with infinite elem elemen ents, ts, or a Tref Treffftz domai domain) n) and and the the far-f far-fiield eld is is not not consi considered dered as a conductor, then you would set the ground key to zero (default). In some situations it is necessary to consider the far-field (infinity) as the ground conductor (for example, a single charged sphere in air requires the infinity location as ground in order to preserve a charge balance). When using the INFIN111 element or a Trefftz domain to represent a far-field ground, set the ground key to "1". Enter a name for the stored matrix of capacitance values ( Capname ). The command macro stores the computed ground and lumped matrix values in a 3-D array vector where the "i" and "j" columns represent the conductor indices, the "k" column indicates ground (k = 1) or lumped (k = 2) terms. The default name is CMATRIX. For example, the command macro stores the ground terms in CMATRIX(i,j,1) and the lumped terms in CMATRIX(i,j,2). The command macro also creates a text file containing the matrix values and stores it in a file with the stored matrix name and a .TXT extension. Do not apply inhomogeneous loads before using the CMATRIX command. Inhomogeneous loads are those created by: Degree of freedom commands (D, DA, etc.) specifying nonzero degree of freedom values on nodes or solid model entities Force commands (F, BF, BFE, BFA, etc.) specifying nonzero force values on nodes, elements, or solid www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_4.html
3/4
5/29/13
13.3. Extr acti ng Capaci tance fr om Multi - conductor Systems
model entities Any Any CE command with a nonzero constant term CMATRIX executes a series of solutions to compute self and mutual capacitance between conductors. The solutions, which are stored in the results file, are available for postprocessing, if desired. At the end of the execution, the command macro presents a summary table.
If infinite elements (INFIN110 (INFIN110 and and INFIN111 INFIN111)) share a common boundary with a conductor (such as a ground plan plane), e), you you can consi consider der the the grou groun nd plan planee and and in infinite nite boun boundary as a si singl ngle conduc conductor tor (grou (group p onl only the the grou groun nd plan planee nodes nodes in into a compone componen nt). Figure 13.4: "Modeling Scenarios" illustrates several modeling scenarios for open and closed domain models along with the appropriate settings for
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_4.html
4/4
5/29/13
13.4. Tr efftz M ethod for Open Boundar y Repr esentati on
Low-Frequency Guide | Cha Chapter pter 13. Electrostatic Field Analysis (h(h-Method Method)) |
13.4. Trefftz Method for Open Boundary Representation
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
In conjunction with the Infinite Elements (INFIN110 (INFIN110 and and INFIN111 INFIN111)) for modeling the open domain of a field problem problem,, anoth another er meth method od may may be chosen chosen that that uti utillizes a hybr hybriid fi finite nite elem elemen entt - Tref Trefftz method ethod (hereaf (hereafter ter ref referred erred to as the Trefftz method). The Trefftz method bears the name of the founder of boundary element techniques. The Trefftz method combines the efficiency of boundary techniques in open domain treatment with a finite element-like positive definite stiffness matrix. It allows treatment of complex surface geometry, even with high aspect ratios. It offers an easy to generate Trefftz-complete function system. The result is an easy to use, accurate method for handling open boundary domains in electrostatics. For information on the Trefftz Method theory, see the Theory Reference for ANSYS and ANSYS Workbench. Workbench . For an example problem, see Doing an Electrostatic Analysis Using Trefftz Method (Command Method) in this manual. 13.4.1. Overview
The Trefftz method involves creating a Trefftz domain. The Trefftz domain consists of the following: A set of Trefftz source nodes located within the finite element domain, but not attached to to the finite element model. A flagged exterior surface of the finite element region. A substructure matrix created from the Trefftz source nodes and the flagged exterior finite element surfaces. A superelement defined from the substructure. A set of constrai constraint equations equations generated generated in conjunction conjunction with the substructure. The Trefftz method has a number of positive features and certain advantages and disadvantages when compared to infinite infinite elements. The Trefftz method offers the following positive features: The formulation leads to symmetric matrices. The formulation has no theoretical limitations to open boundary treatment. The method does not involve a singular integral. The number of unknowns is minimal. (20-100 unknowns give reasonable results.) www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_5.html
1/4
5/29/13
13.4. Tr efftz M ethod for Open Boundar y Repr esentati on
The method may be applied to high aspect ratio boundaries. The method allows flexible generation of Green's functions. The Trefftz region can establish relations between isolated FEM domains. The Trefftz method has the following advantages over infinite elements: It is generally more accurate. It does not require modeling and meshing an infinite element region. It can be used on high aspect ratio finite element regions with good accuracy. It does not require the finite element region to extend as much beyond the modeled region of the device as is required with infinite elements. The Trefftz method has the following disadvantages compared to infinite elements: It cannot be used if employing symmetry in the model. It is available only for 3-D analysis. It requires that the finite element mesh at the exterior of the model be tetrahedral elements only. It requires the definition of Trefftz source nodes within the finite element domain and the generation of a substructure and constraint equations. (This process, however, has been highly automated.) The Trefftz method has the following limitations: 10,000 is the maximum number of Trefftz nodes. 10,000,000 is the highest allowable node number. 5,000,000 is the maximum number of nodes allowed on the exterior surface. 5,000,000 is the maximum number of elements (facets) allowed on the exterior surface. The Trefftz formulation assumes a zero potential at infinity. Accordingly, you must exercise care when applying the Trefftz method to a multi-electrode system of differing applied potentials. However, for capacitance computations using a Trefftz domain, the CMATRIX command properly accounts for a zero or floating potenti potential al at inf infiinity. ty. 13.4.2 . Proce Proce du dure re
To create a Trefftz domain in a 3-D electrostatic analysis, you perform the following tasks as illustrated in Figure 13.5: "Defining a Trefftz Domain": Domain": 1. Create Cr eate a fini finite element model of the electrostatic electros tatic domain (inclu (including ding conductors co nductors,, dielectrics, and surrounding air). Apply all necessary boundary conditions to the finite element model (voltages, charge, www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_5.html
2/4
5/29/13
13.4. Tr efftz M ethod for Open Boundar y Repr esentati on
charge density, density, etc.). etc.) . 2. Flag the exterior exter ior surface surface of the fin finite ite element region as an an infi infini nite te surface. surfac e. To app a pply ly the infi infini nite te surface surfac e flag flag (INF label), use one of the following: SF, Command(s): SFA, SFE GUI:
Main Menu> Preproces s or> Load Loads > Define Load Loadss > App Apply> Ele Electri ctric> c> Flag> Infinite Surf> Sur f> On Nodes Nodes Main Menu> Preproces s or> Load Loads > Define Load Loadss > App Apply> Ele Electri ctric> c> Flag> Infinite Sur Surf> f> On Areas Main Menu> Preprocessor> Trefftz Domain> Infinite Surf> On Areas
3. Create Cr eate the t he Trefftz Trefftz source nodes. node s. The Trefftz Trefftz source sourc e nodes node s act as the unknowns of the Trefftz Trefftz domain. domain. These unknowns represent source charges used in the Trefftz method. The source charges are computed and stored for the Trefftz nodes using the CURR degree of freedom. As shown in Figure 13.5: "Defining a Trefftz Domain", Domain", Step 3, you should locate the Trefftz source nodes between between the the model modeled ed devi device and and the the exteri exterior or of the the fi finite nite elem elemen entt regi region. on. The The Tref Treffftz method ethod wil will be more more accurate when the Trefftz nodes are closer to the modeled device than the exterior of the finite element model. Also, a greater accuracy will be obtained the further the Trefftz sources are from the surface of the finite element model. For example, as shown for the x direction, the Trefftz nodes should just encompass the modeled device (b/c>1), and the finite element exterior boundary should be located a greater distance away (a/b>2). You should apply similar rules for the y and z directions. You should not place Trefftz source nodes close to, or on the surface of the finite element domain. This may lead to a near-singular solution and produce inaccurate results. You can easily create the Trefftz nodes by defining a simple solid model object (block, sphere, cylinder or Boolean union of them) that encompasses the modeled device, but is interior to the exterior finite element region as shown in Figure 13.5: "Defining a Trefftz Domain". Domain". Once the simple solid model object is defined, you can mesh the simple solid model to create the Trefftz nodes. To do so, use one of the following: Command(s): TZAMESH GUI:
Main Menu> enu> Prep Prepro rocesso cessor> r> Tref reffftz Do Domain> in> Mesh TZ Geom eometry etry
The The TZAMESH command meshes the surface areas of the volume and then clears the non-solution element, leaving only the Trefftz nodes. It groups the Trefftz nodes into a node component called TZ_NOD for future use in the generation of the Trefftz substructure. The Trefftz method requires only a few source nodes. By default, TZAMESH will create two divisions along each edge of the simple solid model entity. For high aspect ratio geometry's, you may elect to mesh the entity according to a prescribed length. Both options are available with the TZAMESH command. A larger number of Trefftz nodes tends to provide, but does not guarantee, greater accuracy in the solution. Accuracy also is affected by the number of exterior flagged finite elements and their proximity to the Trefftz sources. Typical problems will not require more than 20 to 100 Trefftz nodes. If you need to you can delete the Trefftz nodes by issuing the following: www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_5.html
3/4
5/29/13
13.4. Tr efftz M ethod for Open Boundar y Repr esentati on
CMSEL,,TZ_NOD Command(s): NDELE,ALL CMDELE,TZ_NOD GUI:
Main Menu> enu> Prep Prepro rocesso cessor> r> Tref reffftz Do Domain> in> Delet elete TZ TZ Nodes
4. Create Cr eate the Trefftz Trefftz substructure, substructure , superelem supere lement, ent, and constrain constra intt equations. The Trefftz Trefftz method uses the flagged exterior surface facets from the finite element model and the Trefftz nodes to create a substructure matrix. This matrix is brought into the model as a single superelement using the MATRIX50 element type. In addition, a set of constraint equations is required to complete the Trefftz domain. The process of creating the substructure and incorporating it into the model as a superelement as well as defining the constraint equations is entirely automated by using the TZEGEN command macro. To create the substructure and incorporate it into the model as a superelement, use one of the following: Command(s): TZEGEN GUI:
Main Menu> enu> Prep Preprocessor rocessor> > Tref refft ftzz Do Domain> Sup Superele erelem ment> ent> Genera enerate te TZ
The The TZEGEN command also automatically defines the constraint equations. Once a Trefftz domain is created, you solve a problem using standard solution procedures. The Trefftz domain should be deleted if any change is made to the finite elements at the surface of the mesh, or if a new Trefftz domain is to be created. Only one Trefftz domain can exist in the model at a time. To delete the Trefftz superelement, associated constraint equations and all supporting Trefftz files, use one of the following: Command(s Command(s): ): TZDELE GUI:
Main Men Menu> u> Prep Prepro rocesso cessor> r> Tref refftz Do Domain> in> Sup Supere erelem lemen entt> Dele Delette TZ TZ
TZDELE deletes all the Trefftz files created during the superelement generation. This includes the following: Jobname.TZN
- Trefftz source nodes
Jobname.TZE
- Trefftz surface facets on the finite element boundary
Jobname.TZX
- Surface nodes on the finite element boundary
Jobname.TZM
- Trefftz material file
See Doing an Electrostatic Analysis Using Trefftz Method (Command Method) of this manual for an example problem problem usin sing the the Tref Treffftz methodol ethodolog ogy. y. Figure Figure 13.5 13. 5 De fining fining a Tr Tree fftz Dom Do main
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_5.html
4/4
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
Low-Frequency Guide | Cha Chapter pter 13. Electrostatic Field Analysis (h(h-Method Method)) |
13.5. Doing an Example h-Method Electrostatic Analysis (GUI Method)
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
This section describes how to do an electrostatic analysis of a shielded microstrip transmission line consisting of a substrate, microstrip, and a shield. The strip is at a potential V1, and the shield is at a potential V 0. The object of the problem is to determine the capacitance of the transmission line. See Doing an Electrostatic Analysis (Command Method), Method), to see how to perform the same example analysis by issuing ANSYS commands, either manually during a session or in batch mode. 13.5.1. The Example Described
Material Properties
Geometric Properties
Loading
Air: εr = 1
a = 10 cm
V1 = 10 V
Substrate: εr = 10 10
b = 1 cm
V0 = 1 V
w = 1 cm
13.5.2 . Analy Analysis sis Ass umpt umptions ions and Mode ling ling Note s
You can calculate the capacitance of the device from electrostatic energy and the applied potential difference as We = 1/2 C (V1-Vo )2 where We is the electrostatic energy and C is the capacitance. To obtain the electrostatic energy, you sum the energies for all the elements in the model in POST1. Additional postprocessing includes displaying equipotential lines and the electric field as vectors. 13.5.3. Expected Analysis Results www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
1/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
The target results from this example analysis are as follows: Target
Cap acit an ce, p F/m
178.1
Step 1: Be B e gin the the Analy Analyss is
1. Enter Enter the ANSYS ANS YS program. To To do so, use the procedures proc edures descri descr ibed in the Operations Guide. Guide. 2. Choose menu menu path Utility Menu> File> Change Title . The Change Title dialog box appears. 3. Enter the title title “Micro “Microstr strip ip transmi tra nsmission ssion lin linee analysis. analysis.”” 4. Click Click OK. OK . 5. Choose Main Menu> Preferences . The Preferences for GUI Filtering dialog box appears. 6. Click Magnetic-Nodal and and Electric on. 7. Click Click OK. OK . Back To Top Step 2: Define Parameters
To do so, follow these steps: 1. Choose Utility Menu> Parameters> Scalar Parameters . A dialog box appears. 2. Type in the parameter par ameter values shown below, following following each eac h entry by pressing ENTER. If you make make a mistake, just retype the parameter definition. V1 = 1.5 V0 = 0.5
3. Click Click Close to close the the dialog dialog box. Back To Top Step 3: Define the Element Type
Ma in Menu Me nu> > Pre Pre proce process ss or> Eleme Eleme nt Type Type > Add/Ed Add/Edit/Dele it/Dele te. The Element Types dialog 1. Choose Main box appears.
2. Click Click Add. Add . The The Libra Library ry of El Element Types dialog dialog box appears. appe ars. 3. Highl Highlig ight ht (cli (click on) o n) "El "Elect ectros rostatic" tatic" and "2D "2D Quad Q uad 121. 12 1."" 4. Click Click OK O K . The The Element Element Types dialog dialog box shows element element type type 1 (PLANE121 ( PLANE121)) selected. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
2/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
5. Click Click Close. Back To Top Step 4: Define Material Properties
1. Choose Main Menu> Preprocessor> Material Props> Material Models. The Define Material Model Mode l Behavi Behavior or dialog dialog box bo x appears. app ears. 2. In the Material Models Available Available window, window, doubled ouble-cli click ck on o n the the followi following ng options: op tions: Electr Electromagneti omagnetics, cs, Relative Permittivity, Constant. A dialog box appears. 3. Enter 1 for for PERX P ERX (Relative (Relative permittiv permittivity ity), ), and click click on o n OK. OK . Material Mate rial Model Mod el Numbe Numberr 1 appear app earss in in the the Material Models Defined window on the left. 4. Choose menu path Edit>C Edit>Copy. opy. Cl C lick on OK O K to copy cop y Material Material num number 1 to Material num number 2. 2 . Material Model Number 2 appears in the Material Models Defined window on the left. 5. In the the Material Mate rial Models Mod els Defin Defined ed window, double-c do uble-cli lick ck on o n Material Mate rial Model Mod el N umbe umberr 2, and Permi Pe rmittiv ttivity ity (constant). A completed dialog box appears. 6. Replace the value value in in the the PERX field field with with 10, and click click on o n OK. 7. Choose Choo se menu path path Material>Exi Material>Exit to remove the Define Define Material Model Behavior Behavior dial d ialog og box. 8. Click Click SAVE_DB on the ANSYS ANS YS Toolbar. Toolbar. Back To Top Step 5: Create Model Geometry and Compress Numbers
1. Choose Main Menu> Preprocessor> Modeling> Create> Areas> Rectangle> By Dimensions . The Create Rectangle by Dimensions dialog box appears. 2. Enter the the values values shown below. (Use the TAB key ke y to move between fields.) fields.) X1 field : 0
Y1 field : 0
X2 field : .5
Y2 field : 0
3. Click Click Apply App ly.. The The ANSYS ANS YS Graphi Grap hics cs Windo Window w displays displays the the fi first rectangl rec tangle. e. 4. To create creat e a second rectangl rec tangle, e, enter the foll following owing values: values: X1 field : .5
Y1 field : 0
X2 field : 5
Y2 field : 1
5. Click Click Apply App ly.. The The ANSYS ANS YS Graphics Window Window displays the second rectangl rec tangle. e.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
3/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
6. To create crea te a third third rectangl rec tangle, e, enter the foll following owing values: values: X1 field : 0
Y1 field : 1
X2 field : .5
Y2 field : 10
7. Click Click Apply App ly.. The The ANSYS ANS YS Graphi Grap hics cs Windo Window w displays displays the the third third rectangl rec tangle. e. 8. To create crea te a fourth rectangl rec tangle, e, enter the following following values: values: X1 field : .5
Y1 field : 1
X2 field : 5
Y2 field : 10
9. Click Click OK O K . The The ANSYS ANS YS Graphi Grap hics cs Windo Window w displays displays all all four rectangl rec tangles. es. 10. To gl glue all all areas together, choose Main Menu> Preprocessor> Modeling> Operate> Booleans> Glue Glue > Areas . A picking menu appears. 11. 11 . Click Click Pick Pick All All. 12. Choose Main Menu> Preprocessor> Numbering Ctrls> Compress Numbers . A dialog box appears. 13. Set the "Item "Item to be com co mpressed" presse d" field field to "Areas." "Areas." 14. Click Click OK. OK . Back To Top Step 6: Apply Attributes to Model Regions and Prepare for Meshing
1. Choose Utility Menu> Select> Entities . The Select Entities dialog box appears. 2. Change Change the top button from "Nodes" No des" to "Areas." "Areas." 3. Change the button just below itit to "By "By N um/Pick. um/Pick."" 4. Click Click OK. OK . A picking picking menu appears. app ears. 5. Pick areas 1 and 2 by cli clicking cking on them them.. (Areas 1 and a nd 2 are the two areas at the bottom bo ttom of the Graphics Graphics Window.) Window.) The The pi p icked areas should should chan c hange ge color. 6. Click Click OK. OK . 7. Choose Main Menu> Preprocessor> Meshing> Mesh Attributes> Picked Areas . Click Pick All. The Area Attributes dialog box appears. 8. Set Se t the "Material Mate rial number number"" field field to 2. 9. Click Click OK. OK . www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
4/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
10. Choose Utility Menu> Select> Entities . The Select Entities dialog box appears. 11. Check that the top two buttons are set to "Areas" "Areas" and and "By "By Num/Pick. Num/Pick."" 12. 12 . Click Click Sele Se le All, All, then click click OK O K . A picking menu appear app ears. s. 13. 13 . Click Click Pick Pick All All. 14. Choose Utility Menu> Select> Entities . The Select Entities dialog box appears. 15. 15 . Change the top button b utton from from "Area "Areas" s" to "Li "Lines." nes." 16. 16 . Change the button below itit to "By "By Location." Loca tion." 17. Click Click the Y Coordi Coord inates button button on. on. 18. 18 . In the the "Min "Min,, Max" field, field, enter 1. 19. 19 . Click Click Apply. Ap ply. ANSYS ANS YS should respond resp ond by b y displayi displaying ng a message about ab out "2 "2 lines" lines" in the output window. window. 20. Click Click the Reselect Reselect and and X Coordi Coord inates buttons buttons on. 21. 21 . In the the "Min "Min,, Max" field, field, enter .25. .2 5. 22. 22 . Click Click OK O K . ANSYS AN SYS shoul s hould d respo res pond nd by displayi displaying ng a message about abo ut "1 "1 line" line" in the output window. window. Back To Top Step Step 7: Me sh the the Model
1. Choose Main Menu> Preprocessor> Meshing> Size Cntrls> Lines> All Lines . The Element Sizes on All Selected Lines dialog box appears. 2. In the "N "N o. of o f element element divisi divisions" ons" field, field, enter 8. 8. 3. Click Click OK. OK . 4. Choose Utility Menu> Select> Entities . The Select Entities dialog box appears. 5. Check that the top top button is is set to "Li "Lines." nes." 6. Change the the second button to "By Num/Pick." 7. Click Click the From Full button on. 8. Click Click Sele S ele All All, then click click OK O K . A picking picking menu appear app ears. s. 9. Click Click Pick All. All. Prepr eproces oces sor> Mes M es hing> hing> MeshTool Me shTool. The MeshTool appears. 10. Choose Main Me nu> Pr www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
5/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
11. 11 . Click Click the Smart Size Size button on. 12. 12 . Set Se t the SmartSi SmartS izing zing slide sliderr to 3. 13. 13 . Click Click the Tri shape button on. 14. Check that the the Mesh button button is is set to "Areas." "Areas." 15. 15 . Click Click the MESH button. A picking menu menu appea ap pears. rs. 16. 16 . Click Click Pick P ick All All. The Graphi Grap hics cs Window shows you the meshed meshed model mode l. 17. Click Click Close to close close the MeshTool. MeshTool. Back To Top Step 8: Apply Boundary Conditions and Loads
1. Choose Utility Menu> Select> Entities . The Select Entities dialog box appears. 2. Change Change the the top button to "No "Nodes. des."" 3. Set Se t the the button just just below itit to "By "By Location." Loca tion." 4. Click Click the Y Coordin Coo rdinates ates and From Fr om Full Full buttons on. 5. In the the "Min "Min,, Max" field, field, enter 1. 6. Click Click Apply App ly.. 7. Click Click the X Coordin Co ordinates ates and Reselect Reselect buttons on. 8. In the the "Min "Min,, Max" field, field, enter 0,.5 0, .5.. 9. Click Click OK. OK . Ma in Menu Me nu> > Pre Pre proce process ss or> Loads Loads > De D e fine fine Loads> Apply> Apply> Electr Ele ctric> ic> Boun B oundar dary> y> 10. Choose Main Voltage> On Nodes . A picking menu appears.
11. Click Click Pi P ick All. All. The Apply Apply VOLT on Nodes No des dialog dialog box appears. appe ars. 12. 12 . In the the "Value "Value of voltage voltage (VOLT)" (VO LT)" field, field, enter V1. 13. Click Click OK. OK . 14. Choose Utility Menu> Select> Entities . The Select Entities dialog box appears. 15. Check that the two two top buttons are set to "No "Nodes" des" and and "By "By Location." Location." 16. Click Click the Y Coordi Coord inates and From Ful Full buttons on. on. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
6/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
17. 17 . In the the "Min "Min,, Max" field, field, enter 0. 18. 18 . Click Click Apply App ly.. 19. 19 . Click Click the Also Also Sele button on. 20. 20 . In the the "Min "Min,, Max" field, field, enter 10. 10 . 21. 21 . Click Click Apply App ly.. 22. Click Click the X Coordi Coord inates button button on. on. 23. 23 . In the the "Min "Min,, Max" field, field, enter 5. 24. Click Click OK. OK . 25. Choose Main Ma in Menu Me nu> > Pre Pre proce process ss or> Loads Loads > De D e fine fine Loads> Apply> Apply> Electr Ele ctric> ic> Boun B oundar dary> y> Voltage> On Nodes . A picking menu appears. 26. Click Click Pi P ick All. All. The Apply Apply VOLT on Nodes No des dialog dialog box appears. appe ars. 27. 27 . In the the "Value "Value of voltage voltage (VOLT)" (VO LT)" field, field, enter V0. 28. Click Click OK. OK . Back To Top Step 9: Scale the Areas
1. Choose Utility Menu> Select> Entities . The Select Entities dialog box appears. 2. Check Check that the top button butto n is is set to "Nodes, "Nod es,"" the next button is set to "By N um/Pick, um/Pick,"" and the "Fr "From om Full" Full" button button is set on. 3. Click Click the Sele Se le All All button, then click click OK O K. A picking picking menu menu appears. appe ars. Cli C lick ck Pi P ick All. All. 4. Choose Main Menu> Preprocessor> Modeling> Operate> Scale> Areas . A picking menu appears. 5. Click Click Pick All All. The The Scal Sca le Areas dialog dialog box appears. appear s. 6. In the "RX, "RX, RY, RZ Scale Facto Fa ctors" rs" fiel fields, ds, enter the following following values: values: RX field: .01 RY field: .01 RZ field: 0
7. In the the "Items "Items to be scaled" sc aled" field, field, set the button to "Areas and mesh." 8. In the "Exi "Existin sting g areas area s will will be" field, field, set se t the button to "Moved "Moved." ." www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
7/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
9. Click Click OK. OK . Ma in Menu Me nu> > Finish Finish. 10. Choose Main Back To Top Step 10: Solve the Analysis Analysis
1. Choose Main Menu> Solution> Solve> Current LS . The Solve Current Load Step dialog box appears, along with a pop-up window listing the load step options. 2. Review Review the pop- up window window contents, then then cli click Cl C lose. 3. Click Click OK O K on o n the the dialog box bo x to start the solution. solution. A poppop - up mess message age notifi notifies you when when solution solution is complete. complete. Click Click Close. Ma in Menu Me nu> > Finish Finish. 4. Choose Main Back To Top Step 11: Store Store Analy Analyss is Re s ults ults
1. Choose Main Ma in Menu Me nu> > General Ge neral Postproc> Postproc> Elem Ele me nt Table> Table> De D e fine fine Table Table. The Element Table Data dialog box appears. 2. Click Click Add. Ad d. The Define Define Additional Additional Elem Element ent Table Items dialog dialog box appears appe ars.. 3. In the the "User "User label labe l for item" item" field, field, enter SENE S ENE 4. In the scr s crollable ollable lists lists in the "Res "Resul ults ts data d ata item" field, field, highl highlig ight ht "Energy." "Energy." (When (Whe n you highl highlig ight ht “Energy” in in the list on the left, “Elec energy SENE" will be highlighted in the list on the right automatically.) 5. Click Click OK. OK . 6. Click Click Add. 7. In the "User "User label labe l for item" item" field, field, enter EFX. EF X. 8. In the "Results data dat a item" field, field, highlig highlight ht "Flux "Flux & gra gradient" dient" and "Elec "Elec field field EFX." EFX." (You may have to scr s croll oll up to find the correct selections.) 9. Click Click OK. OK . 10. Click Click Add. 11. 11 . In the "User "User label labe l for item" item" field, field, enter EFY. EF Y. 12. 12 . In the "Results data dat a item" field, field, highlig highlight ht "Flux "Flux & gra gradient" dient" and "Elec "Elec field field EFY." EFY." www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
8/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
13. 13 . Click Click OK O K . The The Element Element Table Data dialog dialog box now shows shows the SENE, SEN E, EFX, and EFY items items defined. defined. 14. Click Click Close to close the the dialog dialog box. 15. Click Click SAVE_DB on the ANSYS ANS YS Toolbar. Toolbar. Back To Top Step 12: Plot Analysis Results
M e nu nu> > PlotCtrls> Numberin Numbering g. The Pl 1. Choose Utility Me P lot Num N umberin bering g Control Co ntrolss di d ialog box appears. app ears.
2. Set Se t the "Numbering "Numbering shown with" with" field field to "Colors only." only." 3. Click Click OK. OK . 4. Choose Main Ma in Menu Me nu> > General Ge neral Postproc> Postproc> Plot Re sults> Contour Contour Plot> Plot> Nodal N odal Solu. The Contour Nodal Solut Solutiion Data Data dial dialog og box appears. 5. In the "Item "Item to be b e contoured co ntoured"" field, field, highl highlig ight ht "DO "DOF F soluti s olution" on" and "Elec "Elec pote p oten n VOLT." 6. Click Click OK O K . The The Graphi Grap hics cs Window displays a contour conto ur plot plot of equipo equipotential tential lines. lines. 7. Choose Main Menu> General Postproc> Plot Results> Vector Plot> User-defined. The Vector Plot of User-defined Vectors dialog box appears. 8. In the the "Item" "Item" field, field, enter EFX. 9. In the "Lab2 "Lab2"" field, field, enter EFY 10. 10 . Click Click OK O K . The The Graphi Grap hics cs Window displays a vector plot p lot of the elect electric ric fiel field. d. Back To Top Step 13: Perform Capacitance Calculations
1. Choose Main Menu> General Postproc> Element Table> Sum of Each Item. An informational dialog box appears. 2. Click Click OK O K . A pop- up window window shows you all all element element table entries entries and their values. values. 3. Click Click Close to close the poppop - up window. window. 4. Choose Utility Utility Me nu nu> > Parame Parame ters> Get Scalar S calar Data. The Get Scalar Data dialog box appears. 5. In the "Type "Type of of data da ta to be b e retrieved retrieved"" field, field, highli highlight ght "Res "Resul ults ts data" da ta" and "Elem "Elem table tab le sums. sums."" 6. Click Click OK O K . The The Get Element Element Table Sum Results dialog box bo x appear app ears. s.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
9/10
5/29/13
13.5. Doi ng an Exampl e h- Method El ectr ostati c Analysi s ( GUI M ethod)
7. In the the "N "N ame of parameter par ameter to be defi d efined," ned," fiel field, d, enter W. 8. Set Se t the "El "Element ement table item" item" field field to "SENE." 9. Click Click OK. OK . 10. Choose Utility Menu> Parameters> Scalar Parameters . The Scalar Parameters dialog box appears. 11. 11 . Type in the following following values, pres pressing sing ENTER ENTER after typin typing g each ea ch value: value: C = (w*2)/((V1-V0)**2) C = ((C*2)*1e12)
12. Click Click Close. 13. Choose Utility Utility Me nu nu> > List> Statu S tatus> s> Parameters> Parameters> Named Param Paramee ter. The Named Parameter Status dialog box appears. 14. 14 . In the "N ame of para pa rameter meter"" field, field, highl highlig ight ht C. 15. Click Click OK. O K. A poppo p-up up window window display displayss the valu valuee of the the C parameter pa rameter (capacitance). 16. Click Click Close to close the poppop - up window. window. Back To Top Step 14: Finish the Analysis
To finish the analysis, choose Main Menu> Finish. Then click QUIT on the ANSYS Toolbar. Choose an exit option and click OK.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_6.html
10/10
5/29/13
13.6. Doing an El ectr ostati c Anal ysi s ( Command Method)
Low-Frequency Guide | Chapter 13. Electrostatic Field Analysis (h-Method) |
13.6. Doing an Electrostatic Analysis (Command Method)
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
You can perform the example analysis of the microstrip transmission line using the ANSYS commands shown below instead of GUI menu choices. All text prefaced by an exclamation point (!) is a comment. /BATCH,LIST /PREP7 /TITLE, MICROSTRIP TRANSMISSION LINE ANALYSIS ET,1,PLANE121 ! USE 2-D 8-NODE ELECTROSTATIC ELEMENT V1=1.5 ! DEFINE STRIP POTENTIAL V0=0.5 ! DEFINE GROUND POTENTIAL MP,PERX,1,1 ! FREE SPACE RELATIVE PERMITTIVITY MP,PERX,2,10 ! SUBSTRATE RELATIVE PERMITTIVITY RECTNG,0,.5,0,1 RECTNG,.5,5,0,1 RECTNG,0,.5,1,10 RECTNG,.5,5,1,10 AGLUE,ALL NUMCMP,AREA ASEL,S,AREA,,1,2 AATT,2 ASEL,ALL LSEL,S,LOC,Y,1 LSEL,R,LOC,X,.25 LESIZE,ALL,,,8 LSEL,ALL SMRTSIZE,3 MSHAPE,1 MSHAPE,1 AMESH,ALL NSEL,S,LOC,Y,1 NSEL,R,LOC,X,0,.5 D,ALL,VOLT,V1 NSEL,S,LOC,Y,0 NSEL,A,LOC,Y,10 NSEL,A,LOC,X,5 D,ALL,VOLT,V0 NSEL,ALL ARSCALE,ALL,,,.01,.01,0,,0,1 ARSCALE,ALL,,,.01,.01,0, ,0,1 FINISH /SOLUTION SOLVE FINISH /POST1 ETABLE,SENE,SENE ETABLE,EFX,EF,X ETABLE,EFY,EF,Y /NUMBER,1 PLNSOL,VOLT PLVECT,EFX,EFY www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_7.html
! SET AREA ATTRIBUTES FOR AIR
! Tr T riangle mesh ! SELECT NODES ON MICROSTRIP ! APPLY STRIP POTENTIAL
! SELECT EXTERIOR NODES ! APPLY GROUND POTENTIAL ! SCALE MODEL TO METERS
! STORE ELECTROSTATIC ENERGY ! STORE POTENTIAL FIELD GRADIENTS
! DISPLAY EQUIPOTENTIAL LINES ! DISPLAY VECTOR ELECTRIC FIELD (VECTOR) 1/2
5/29/13
13.6. Doing an El ectr ostati c Anal ysi s ( Command Method)
SSUM *GET,W,SSUM,,ITEM,SENE C=(W*2)/((V1-V0)**2)
! SUM ENERGY ! GET ENERGY AS W ! CALCULATE CAPACITANCE (F/M)
C=((C*2)*1E12) *STATUS,C FINISH
! FULL GEOMETRY CAPACITANCE (PF/M) ! DISPLAY CAPACITANCE
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_7.html
2/2
5/29/13
13.7. Doi ng an Exampl e Capaci tance Cal culati on ( Command M ethod)
Low-Frequency Low-Fre quency Guide | Chapter 13. Electrostatic Field Analysis (h-Method) |
13.7 . Doing an Example Example Capacitance Capacitance Calculation (Command (Command Method)
www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The following is an example of how to perform a capacitance matrix calculation by issuing ANSYS commands. You can also perform the analysis through the ANSYS GUI menus. For details on extracting capacitance from multi-conductor systems, see Extracting Capacitance from Multi-conductor Systems in this manual. 13.7.1. The Example Example Des cribed cribed
In this example, two long cylinders sit above an infinite ground plane. The objective is to compute the self and mutual capacitance coefficients between the conductors and ground. 13.7.2. Modeling Notes
The ground plane and the Infinite elements share a common boundary at the outer radius of the model. The Infinite elements by nature can only represent a zero potential at the infinite location. Since the ground plane shares a common boundary with the infinite elements, they together represent the ground conductor. The nodes of the ground plane are sufficient to represent the ground conductor since the infinite element nodes are internally grounded by the program. By grouping the other two cylindrical conductor node sets into node components as well, you arrive at a 3-conductor system. Figure 13.6: "Model Areas of Capacitance Example Problem" displays the model areas and Figure 13.7: "Elements of Capacitance Example Problem" displays the finite elements. Figur Figuree 13.6 Model Areas Areas of o f Ca Capacitance Example Example Problem
Figure Figure 13.7 Elements of Capacitance Example Example Problem Problem
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_8.html
1/3
5/29/13
13.7. Doi ng an Exampl e Capaci tance Cal culati on ( Command M ethod)
13.7.3. Computed Computed Res ults ults
The computed ground and lumped capacitance results for this example problem are as follows: (Cg)11 = 0.454E-4 pF
(Cl)11 = 0.354E-4 pF
(Cg)12 = -0.998E-5 pF
(Cl)12 = 0.998E-5 pF
(Cg)22 = 0.454E-4 pF
(Cl)22 = 0.354E-4 pF
13.7.4. Command Listing
You can perform this example capacitance matrix calculation using the ANSYS commands shown below. Text prefaced by an exclamation point (!) is a comment. /batch,list /prep7 /title, Capacitance of two long cylinders above a ground plane a=100 d=400 ro=800
! Cylinder inside radius (μm) ! Outer radius of air region ! Outer radius of infinite elements
et,1,121 et,2,110,1,1 emunit,epzro,8.85 4e-6 mp,perx,1,1
! 8-node 2-D electrostatic element ! 8-node 2-D Infinite element ! Set free-space permittivity for μMKSV units
cyl4,d/2,d/2,a,0 cyl4,0,0,ro,0,,90 cyl4,0,0,2*ro,0,,90
! Create mode in first quadrant
aovlap,all numcmp,area smrtsiz,4 mshape,1 amesh,3 lsel,s,loc,x,1.5*ro lsel,a,loc,y,1.5*ro lesize,all,,,1 type,2 mshape,0 mshkey,1 amesh,2 arsymm,x,all nummrg,node nummrg,kpoi
! Mesh air region
! Mesh infinite region ! Reflect model about y axis
csys,1 nsel,s,loc,x,2*ro sf,all,inf
! Set infinite flag in Infinite elements
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_8.html
2/3
5/29/13
13.7. Doi ng an Exampl e Capaci tance Cal culati on ( Command M ethod) local,11,1,d/2,d/2 nsel,s,loc,x,a cm,cond1,node local,12,1,-d/2,d/2 nsel,s,loc,x,a cm,cond2,node csys,0 nsel,s,loc,y,0 cm,cond3,node allsel,all finish /solu cmatrix,1,'cond', 3,0 finish
! Assign node component to 1st conductor
! Assign node component to 2nd conductor
! Assign node component to ground conductor
! Compute capacitance matrix coefficients
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_8.html
3/3
5/29/13
13.8. Doi ng an El ectr ostatic Anal ysis Usi ng Tr efftz M ethod ( Command M ethod)
Low-Frequency Guide | Cha Chapter pter 13. Elect rostatic Field Analysis (h(h-Method Method)) |
13.8. Doing an Electrostatic Analysis Using Trefftz Method (Command Method)
www.kxcad.net Home > CAE Index > ANSYS Index Index > Rele Release ase 11.0 Documentation for ANSYS
The following is an example of how to create a Trefftz domain to solve an open boundary problem in electrostatics. You can also perform perform the the anal analys ysiis throu throug gh the the ANSYS ANSYS GUI GUI men menu us. For details on the Trefftz methodology, see Trefftz Method for Open Boundary Representation of this manual. 13.8.1. The Example Described
This is an analysis of a charged spherical conductor in free-space as shown in Figure 13.8: "Charged Spherical Conductor". Conductor". The objective is to compute the capacitance. Figure Figure 13.8 13. 8 Charged Spherical Condu Conductor ctor
13.8.2. Modeling Notes
For this problem, you build a model by subtracting a spherical volume from a solid cube (representing the modeled finite element air region). The nodes at the exterior of the sphere represent the conductor nodes. You then create Trefftz source nodes ( TZAMESH) by defi defining anoth another er spheri spherical cal volu olume placed placed betwee between n the the spheri spherical cal boun boundary of the the condu conductor ctor and and the the exter exteriior vol volu ume of air. air. Af After creating the Trefftz source nodes, you generate a Trefftz domain using the TZEGEN command. You then compute the capacitance using the CMATRIX command macro. 13.8.3. Expected Results
The target capacitance is 0.0111 pF. 13.8.4. Command Listing www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_9.html
1/3
5/29/13
13.8. Doi ng an El ectr ostatic Anal ysis Usi ng Tr efftz M ethod ( Command M ethod)
You can perform this example analysis of a charged spherical conductor in free-space using the ANSYS commands shown below. Text prefaced by an exclamation point (!) is a comment. /batch,list /title, Sphere to infinity capacitance using a Trefftz Domain /com ================================================================== /com /com Analytical solution for capacitance is /com /com Cself = 4*Pi*Eps0*EpsR*R1 /com /com ================================================================== ! N=5 ! subdivision parameter R1=100 ! radius of the sphere (microns) R2=300 ! half side of the cube R3=125 ! radius for Trefftz nodes ! /PREP7 ! Enter Preprocessor ! et,1,123 ! 10 node tetrahedral ! emunit,epzro,8.854e-6 ! free space permittivity (μMKSV units) mp,perx,1,1 ! relative permittivity ! sphere,0,R1,0,360 ! conductor outer radius /view,1,1,1,1 /replot block,-R2,R2,-R2,R2,-R2,+R2 ! exterior FE air region (cube) vsbv,2,1 ! nummrg,all ! mshape,1 ! mesh with tets mshkey,0 ! free meshing esize,,n ! mesh control ! VMESH,ALL ! mesh volumes cm,vol,volu ! group FE volumes into a component sphere,125 ! create spherical volume for Trefftz nodes cmsel,u,vol cm,tvol,volu ! Trefftz volume component ! nsel,s,loc,x,R2 ! select outer nodes of FE domain nsel,a,loc,x,-R2 nsel,a,loc,y,R2 nsel,a,loc,y,-R2 nsel,a,loc,z,R2 nsel,a,loc,z,-R2 sf,all,inf ! infinite surface flag on FE exterior ! csys,2 nsel,s,loc,x,r1 ! select nodes at the conductor surface cm,cond1,node ! Electrode surface node component for CMATRIX csys,0 allsel tzamesh,'tvol',,2 ! Create Trefftz nodes tzegen ! Create Trefftz Domain ! www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_9.html
2/3
5/29/13
13.8. Doi ng an El ectr ostatic Anal ysis Usi ng Tr efftz M ethod ( Command M ethod)
finish ! /solu antyp,static eqslv,jcg ! ! Compute capacitance ! cmatrix,1,'cond',1,1 finish
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_9.html
! select JCG solver
! symmetry=1, no cond=1, ground at infinity
3/3
5/29/13
13.9. Doing an El ectr ostati c Anal ysis U si ng Tr efftz Method ( GUI Method)
Low-Frequency Guide | Cha Chapter pter 13. Electrostatic Field Analysis (h(h-Method Method)) |
13.9. Doing an Electrostatic Analysis Using Trefftz Method (GUI Method)
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
As shown below, you can use GUI menu paths to perform the example analysis of creating a Trefftz domain to solve an open boundary problem in electrostatics. Step 1: Start the Analysis
1. Activate Activate the ANSYS ANS YS laun launcher. cher. 2. Select Select the ANSYS simul simulation ation envi environment, choose your yo ur license, license, and click click Run. 3. When the Graphi Grap hical cal User Interface is fful ully ly active, choose choos e Utility Menu> File> Change Title . A dialog box appears. 4. Enter the the title title text, Sphere Sp here to Infi Infinity nity Capa Ca pacitance citance 5. Click Click on OK. OK . 6. Choose Main Menu> Preferences . The Preference dialog box appears. 7. Click Electric on. on. 8. Click Click on OK. OK . Back To Top Step 2: Define Analysis Parameters
1. Choose menu menu path Utility Menu> Parameters> Scalar Parameters . The Parameters dialog box appears. 2. Type in in the parameter para meter values values shown bel be low. (Press (P ress ENTER EN TER after entering each eac h value.) value.) n=5 r1 = 100 r2 = 300 r3 = 125
3. Click Click on Close to close th thee dialog dialog box.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_10.html
1/6
5/29/13
13.9. Doing an El ectr ostati c Anal ysis U si ng Tr efftz Method ( GUI Method)
Back To Top Step 3: De fine ine Element Types Types
1. Choose Main Ma in Menu Me nu> > Pre Pre proce process ss or> Eleme Eleme nt Type Type > Add/Ed Add/Edit/Dele it/Dele te. The Element Types dialog box appears. 2. Click Click on Add. The Libra Library ry of Element Element Types dialog dialog box appear app ears. s. 3. In the scrollable scrollable fields, fields, click on (high (highli ligh ght) t) Electr Electrosta ostatic tic and 3D Tet 123 12 3 (SOLID123 (SOLID123). ). 4. Click Click on OK. OK . ANSYS ANS YS returns you you to the the Element Element Types dialog dialog box. 5. Click Click on Close to close the Element Element Types dialog dialog box. Back To Top Step 4: Define Material Properties
Ma in Menu Me nu> > Pre Pre proce process ss or> Material Ma terial Props> Props> Electr Ele ctrom omag ag Units Units. The Electromagnetic 1. Choose Main Units dialog box appears.
2. Select the User-Defi User- Defined ned option button and and click click on o n OK. OK . A Electromagn Electromagnetics etics Uni Units text entry box appears. app ears. 3. Enter Enter 8.854e 8.8 54e-- 6 for the the freefree-space space permi p ermitti ttivi vity ty (μMKS (μM KSV V uni units) ts) and cli click on OK. OK . 4. Choose Main Menu> Preprocessor> Material Props> Material Models. The Define Material Model Mode l Behavi Behavior or dialog dialog box bo x appears. app ears. 5. In the Material Models Available Available window, window, doubled ouble-cli click ck on o n the the followi following ng options: op tions: Electr Electromagneti omagnetics, cs, Relative Permittivity, Constant. A dialog box appears. 6. Enter 1 for for PERX P ERX (Relative (Relative permittiv permittivity ity), ), and click click on o n OK. OK . Material Mate rial Model Mod el Numbe Numberr 1 appear app earss in in the the Material Models Defined window on the left. 7. Choose Choo se menu path path Material>Exi Material>Exit to remove the Define Define Material Model Behavior Behavior dial d ialog og box. Back To Top Step 5: Create Solid Model
1. Choose Main Menu> Preprocessor> Modeling> Create> Volumes> Sphere> By Dimensions. The Create Sphere by Dimensions dialog box appears. 2. In the “RAD1” fiel field, d, enter r1, r 1, in the “RAD2” “RAD2” field, field, enter e nter 0, in the “THETA1” “THETA1” fiel field, d, enter 0, 0 , in the the “THETA2” field, enter 90, and click on OK. 3. Choose Utility Menu> PlotCtrls> Pan, Zoom, Rotate . A Pan-Zoom-Rotate dialog box appears. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_10.html
2/6
5/29/13
13.9. Doing an El ectr ostati c Anal ysis U si ng Tr efftz Method ( GUI Method)
4. Click Click on o n the the Iso button, then then cli click on o n Close. The ANSYS Graphics Graphics Window Window di d isplays splays the block. 5. Choose Main Menu> Preprocessor> Modeling> Create> Volumes> Block> By Dimensions . The create Block by Dimensions dialog box appears. 6. In the the “X coordinates” coo rdinates” fi field, enter 0, 0 , r2, in the “Y coord co ordiinates” fiel field, d, enter ente r 0, r2, r2 , and in the “Z “Z coordin coor dinates” ates” field, field, enter 0, 0 , r2. 7. Choose Main Menu> Preprocessor> Modeling> Operate> Booleans> Subtract> Volumes . The Subtract Volumes picking menu appears. 8. Pick (or (o r enter in the picker) the block volum volume (volume (volume 2) and click click on o n OK. OK . The Subtract Subtrac t Volumes Volumes pick pickiing menu reappears. 9. Pick (or (o r enter in the picker) the spherical sp herical volume volume (volum (volumee 1) and click click on o n OK. OK . 10. Choose Main Menu> Preprocessor> Modeling> Reflect> Volumes. The Reflected Volumes picki pickin ng menu enu appears. 11. 11 . Click Click on Pick All All. The The Reflecte Reflected d Volumes Volumes dialog box bo x appear app ears. s. 12. Check that the the Y-Z plane plane is is selected selected and click click on OK. OK . 13. Choose Main Menu> Preprocessor> Modeling> Reflect> Volumes. The Reflected Volumes picki pickin ng menu enu appears. 14. 14 . Click Click on Pick All All. The The Reflecte Reflected d Volumes Volumes dialog box bo x appear app ears. s. 15. Select the the X-Z plane plane and and cli click on OK. 16. Choose Main Menu> Preprocessor> Modeling> Reflect> Volumes. The Reflected Volumes picki pickin ng menu enu appears. 17. 17 . Click Click on Pick All All. The The Reflecte Reflected d Volumes Volumes dialog box bo x appear app ears. s. 18. Select the the X-Y plane plane and click click on OK. Ma in Menu Me nu> > Pre Pre proce process ss or> Numberin Numbering g Ctrls> Ctrls> M e rge Items. A Merge Coincident or 19. Choose Main Equivalently Defined Items dialog box appears.
20. 20 . Set Se t the “Type “Type of Item to be merge (Label)” to All All and click click on on OK. Back To Top Step 6: Me s h the the Mode l and and Cre Cre ate ate a Fin Finite ite Elem Ele me nt Model Component Component
Prepr eproces oces sor> Mes M es hing> hing> MeshTool Me shTool. The MeshTool appears. 1. Choose Main Me nu> Pr
2. Click Click on the Set Glob Global al Size Controls Co ntrols button. A Global Elem Element ent Sizes Sizes dialog box bo x appear app ears. s. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_10.html
3/6
5/29/13
13.9. Doing an El ectr ostati c Anal ysis U si ng Tr efftz Method ( GUI Method)
3. In the “N “N o. of o f Element Element Divi Divisions sions (NDIV)” (NDI V)” fiel field, d, enter enter n, and click click on o n OK. OK . 4. Make sure that Volum Volumes, es, Tet, and Free Fr ee are sel se lected in the the MeshTool. 5. Click Click MESH. The Mesh Volum Volumes es picking menu appear app ears. s. 6. Click Click on o n Pick Pick All. All. The display display changes changes to show the meshed volum volumes. es. Cl C lick Close to close c lose the MeshTool. 7. Choose menu menu path Utility Utility Me M e nu nu> > Se S e lect> Comp/ Comp/Ass Assee mbly> bly> Cre Cre ate Compon Componee nt. The Create Component dialog box appears. 8. In the “Co “Component mponent Name Na me (Cname)” fiel field d enter vol, set the “Component “Co mponent is is mad madee of (Entity)” (Entity)” to volumes, volumes, and click on OK. Back To Top Step 7: 7 : Apply Inf Infinite inite Sur Surfface Flag Flag to Exte rior rior Surf Surface of Finite Finite Eleme nt Region Re gion
1. Choose menu menu path Utility Menu> Select> Entities . The Select Entities dialog box appears. 2. Set Set the top box bo x to nod nodes es and the second sec ond box bo x to By Location. Loca tion. Enter Enter r2 in the “Min/Max” “Min/Max” field, field, select X coordinates, and click on OK. 3. Choose menu menu path Utility Menu> Select> Entities . The Select Entities dialog box appears. 4. Enter -r2 -r 2 in the “Min/Max” “Min/Max” field, field, change the selection type type radio ra dio button to Also Sele, Se le, and click click on o n Apply. Apply. 5. Enter r2 in in the the “Min/Max” “Min/Max” field, field, change the coordin coord inate atess radi rad io button butto n to Y coord co ordiinates, and a nd click click on on Apply. 6. Enter -r2 -r 2 in the “Min/Max” “Min/Max” and click click on o n Apply. Apply. 7. Enter r2 in in the the “Min/Max” “Min/Max” field, field, change the coordin coord inate atess radi rad io button butto n to Z coord co ordiinates, and a nd click click on on Apply. 8. Enter -r2 -r 2 in the “Min/Max” “Min/Max” field field and click click on o n OK. OK . 9. Choose menu menu path Main Menu> Preprocessor> Loads> Define Loads> Apply> Electric> Flag> Infinite Surf> On Nodes . The Apply INF on Nodes dialog box appears. 10. 10 . Click Click on Pick All All. Back To Top Step 8: 8 : Create a Spherical Spherical Conductor Conductor Surf Surface ace Node Component
1. Choose menu menu path Utility Menu> WorkPlane> Change Active CS to> Global Spherical. 2. Choose menu menu path Utility Menu> Select> Entities . The Select Entities dialog box appears. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_10.html
4/6
5/29/13
13.9. Doing an El ectr ostati c Anal ysis U si ng Tr efftz Method ( GUI Method)
3. Check that the top box bo x is is set to nodes and a nd the the second seco nd box is is set to By Location. Location. Change Change the coordi coord inates radio button to X coordinates, change the selection type radio button to From Full, enter r1 in the “Min/Max” field, and click on OK. Utility Me M e nu nu> > Se S e lect> Comp/ Comp/Ass Assee mbly> bly> Cre Cre ate Compon Componee nt. The Create 4. Choose menu menu path Utility Component dialog box appears.
5. In the the “Component “Compo nent Name (Cname)” fiel field d enter cond1, co nd1, set se t the “Co “Component mponent is is made made of o f (Entity)” (Entity)” to nodes, node s, and click on OK. Back To Top Step 9: Create Trefftz Nodes and Trefftz Domain
1. Choose menu menu path Utility Menu> WorkPlane > Change Active CS to> Global Cartesian. 2. Choose menu menu path Main Menu> Preprocessor> Trefftz Domain> TZ Geometry> Create> Volum Volume > Sphere> By B y Dim D imee nsions. The Create Sphere by Dimensions dialog box appears. 3. In the “O “O uter Radiu Rad iuss (RAD1)” (RAD1) ” fi field enter r3. r3 . Check C heck that the t he “Starting angle angle (THETA1) and Ending angle angle (THETA2) are 0 and 360 degrees, respectively. Click on OK. 4. Choose menu menu path Utility Utility Me nu nu> > Se lect> Comp/ Comp/Ass Assee mbly> bly> Se lect Comp/ Comp/Ass Assee mbly bly. The Select Component or Assembly dialog box appears. 5. In the “Se “Sellect Entities Entities belongi b elonging ng to Component C omponent or Assembly Ass embly (CMS (C MSEL)” EL)” field field choose choos e VOL, VO L, in in the the “Type “Type of Selection (Type)” field choose Unselect, and click on OK. 6. Choose menu menu path Main Ma in Menu Me nu> > Pre Pre proce process ss or> Tre Tre fftz Domain> Domain> Me M e sh TZ Ge Ge ometry ometry. The Mesh TZ Geometry Geometry dialog dialog box bo x appears. appe ars. 7. Pick the Trefftz volume volume (volum (volumee 5) 5 ) and cl c lick on OK O K . The Parameters Pa rameters for mesh of Trefftz Trefftz domain dialog box appears. 8. Check that the No. No . of elemen elementt divi divisions sions (NDIV) is set to 2 and click click on o n OK. OK . A poppo p-up up window window displays displays the results for Trefftz nodes. 9. Review Review the results, results, which which show 20 Trefftz Trefftz nodes node s have been be en created, create d, and click click on o n Close. Close . 10. Choose menu menu path Utility Utility Me nu nu> > Se lect> Everythin Everything g. 11. Main Ma in Menu Me nu> > Pre Pre proce process ss or> Tre Tre fftz Domain> Domain> Supe Supe relem rele me nt> nt> Generate Ge nerate TZ. A pop-up window displays the results for the Trefftz Domain. 12. 12 . Review Review the results and click click on Close. Back To Top www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_10.html
5/6
5/29/13
13.9. Doing an El ectr ostati c Anal ysis U si ng Tr efftz Method ( GUI Method)
Step 10: 1 0: Compute Compute Capacita Capacitance nce
1. Choose menu menu path Main Menu> Finish. 2. Choose menu menu path Main Menu> Solution> Analysis Type> New Analysis . A New Analysis dialog box appears wi with Steady-State Steady-State entered entered for for the the “Ty “Type pe of Anal Analys ysiis (ANTYPE (ANTYPE).” ).” 3. Click Click on OK. OK . 4. Choose menu menu path Main Ma in Menu Me nu> > Solu So lution tion> > Analysis Type Type > Analysis Op Option tionss. The Static or SteadyState Analysis dialog box appears. 5. Set the “Equati “Equation on Solver Solver (EQSLV)” (EQS LV)” to Jacobi Jacob i Conj Co nj Grad Grad and click click on OK. OK . 6. Choose menu menu path Main Ma in Menu Me nu> > Solution> Solution> Solve > Electromagnet> Electromagnet> Static S tatic Analys Analysis> is> Capac Capac Matrix. The Capac Matrix dialog box appears. 7. In the “Symfac “Symfac Geometri Geo metricc symmetry symmetry factor facto r (Sym (S ymfac)” fac)” fiel field, d, enter 1, 1 , in the the “Component “Co mponent name ide identi ntifi fier er (Condname)” field, enter cond, in the “Number of cond components (Ncond)” field, enter 1, in the “Ground Key (Grndkey)” field, enter 1, and click on OK. 8. Review Review the results and click click on Close. 9. Choose menu menu path Main Menu> Finish.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELE14_10.html
6/6
5/29/13
Chapter 14. p- Method Electr ostati c Anal ysi s
Low-Frequency Guide |
Chapter 14. p-Method Electrostatic Analysis
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The p-method obtains results such as potential (voltage), electric field, electric flux density, electrostatic force or energy to your required degree of accuracy. To calculate these results, the p-method employs higher order poly polynomi omial levels (p-levels) of the finite element shape functions functio ns to approximate the real solution. This feature feature works by taking a finite element mesh, solving it at a given p-level, increasing the p-level selectively, and then solving the mesh again. After each iteration the results are compared for convergence against a set of convergence criteria. You can specify the convergence criteria to include potential, electric field, or electric flux density at a point (or points) in the model, global-stored energy and global forces on a body (Maxwell Stress Tensor). The higher the p-level, the better the finite element approximation to the real solution. In order to capitalize on the p-method functionality, you don't have to work only within the confines of pgenerated meshes. The p-method is most efficient when meshes are generated considering that p-elements will be used, used, but but thi thiss is is not not a requi requiremen rement. t. Of course, course, you you might wan wantt to create create and and mesh mesh your our model model usin sing pelements, but you can also perform a p-method solution using meshes that have been generated with h-elements (generated by ANSYS or your CAD package), if the elements are at least mid-noded. This provides you with the flexibility of taking advantage of the p-method solution option independently of how the mesh was created. The p-method can improve the results for any mesh automatically. The following p-Method electrostatic analysis topics are available: Benefits of Using the p-Method Using the p-Method Doing an Example p-Electrostatic Analysis (Command Method)
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELN15.html
1/1
5/29/13
14.1. Benefi ts of Usi ng the p- M ethod
Low-Frequency Guide | Cha Chapter pter 14. p-Method p-Method Electrostatic Analysis |
14.1. Benefits of Using the p-Method
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The p-method solution option offers many benefits for electrostatic analyses that are not available with the traditional h-method, discussed in "Electrostatic Field Analysis (h-Method)". (h-Method)". The most convenient benefit is the ability to obtain good results to a desired level of accuracy without rigorous user-defined meshing controls. If you are new to finite element analysis or do not have a solid background in mesh design, you might prefer this method since it relieves you of the task of manually designing an accurate mesh. In addi add ition, tion, the pp - method adap a dapti tive ve refinem refinement ent procedure pro cedure offers offers error estimates estimates that are more precise than those of the h-method, and can be calculated locally as well as globally (for example, total force on a body rather than electrostatic energy). For example, if you need to obtain highly accurate solutions at a point, such as for dielectric breakdown, breakdown, or forces forces on a body, body, the the p-meth p-method off offers an excel excelllent ent mean meanss of obtain obtaining these these resu resullts to to the the required accuracy.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELN15_2.html
1/1
5/29/13
14.2. Usi ng the p- Method
Low-Frequency Guide | Cha Chapter pter 14. p-Method p-Method Electrostatic Analysis |
14.2. Using the p-Method
www.kxcad.net Hom Ho me > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
The The procedu pro cedure re for a p-method static analysis consists of four main steps: 1. Select the p-m p- method procedure. proc edure. 2. Build Build the model. mode l. 3. Apply loads oad s and obtain obtain the solution. 4. Review Review the results. Each step is discussed in detail in the following sections. 14.2.1 . Sele ct the p-Me thod Proce Proce du durre
You can activate the p-method solution procedure in two ways: through the GUI or by defining a p-element [ET]. Activating Activ ating p-method p-met hod through the t he GUI : Command(s): /PMETH GUI:
Main Menu enu> Pref referen erence ces> s> p-meth ethod Elect lectr. r.
Defining a p-element: p-element: The p-method solution procedure can also be activated by defining a p-element. If you are working outside of the GUI, the definition of a p-element lets the program know that a p-method solution is to be done; no other commands are necessary to initiate p-method. From within the GUI, you can also issue the the ET comma command in the "In put put Window" to activate the p-method p-method procedure. (Remember, the the ET command must be entered in the "Input Window," since, by default, only h-elements are displayed in the GUI unless p-method is active.) Command(s): ET GUI:
Main Men Menu> u> Prep Prepro rocesso cessor> r> Elemen lementt Ty Type> Add/Ed /Edit/D it/Dele elette
14.2.2. Build the Model
To build a model with p-elements, you may follow the procedure listed below. 1. Define Define the element element types.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELN15_3.html
1/4
5/29/13
14.2. Usi ng the p- Method
2. Specify Sp ecify material proper pro perties. ties. 3. Define Define the model geometry. 4. Mesh the model into elements. elements. The above steps are common to most analyses. The Modeli The Modeling ng and Meshing Meshing Guide explains those steps in detail. In this section we will explain the techniques that are unique to a p-analysis. 14.2.2.1. Define the Element Types
You can use the following two p-elements to build your model: Table Table 14.1 Eleme Eleme nt Type Type s El ement
Di mens .
S hape or Characteris ti c
DOFs
SOLID127
3-D
Tetrah ed ral, 10 n o d es
Vo ltag e at each n o d e
SOLID128
3-D
Hexah ed ral, 20 n o d es
Vo ltag e at each n o d e
Note
h-elements and p-elements cannot be active at the same time in your model (except for the MATRIX50 element use as a superelement for a Trefftz domain). 14.2.2.1.1. Specifying a p-Level Range
Various options are available for use with p-elements. One important option is the ability to specify, either locally or globally, a range in which the p-level may vary. The range within which the p-level may vary can be controlled locally through the p-element KEYOPT settings (KEYOPT(1) and KEYOPT(2)), or globally across the entire model with PPRANGE. By default, the p-level range is 2 to 8. When both KEYOPT values and PPRANGE have been used to specify p-level ranges, the local p-level range set by KEYOPT(1) and KEYOPT(2) will take precedence over the global p-level range [ PPRANGE]. For example, if you set a global p-level range between 3 and 8 with PPRANGE, then define a local p-level range of 4 to 6 for SOLID127 for SOLID127 elements (ET,1,127,4,6), the p-level for the SOLID127 elements may only vary between between 4 and and 6, whi while the the rest of the the model model may vary between between 3 and and 8. At the (default) starting p-level of 2, convergence checking is performed (PEMOPTS command) to determine those elements which are converged and may have their p-level fixed at 2. That is, these elements will remain at a p-level p-level of 2, and and wil will be eli eliminated nated from from any any further rther conv convergen ergence ce checki checking ng.. Additi Addition onal al checki checkin ng is perform performed ed at each iteration to fix the p-levels of the elements which are converged. Use local p-range control to eliminate regions of little importance from high p-escalation. Use global p-range control for overall control of the p-level. These range controls are not necessary, but p-escalations to high plevels increase CPU run time. Therefore, it is advantageous to have such controls available. www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELN15_3.html
2/4
5/29/13
14.2. Usi ng the p- Method
Defining a local p-level range: Command(s): ET,ITYPE,Ename,KOP1,KOP2 GUI:
Main Men Menu> u> Prep Prepro rocesso cessor> r> Elemen lementt Ty Type> Add/Ed /Edit/D it/Dele elette
Defining a global p-level range: Command(s): PPRANGE GUI:
Main Men Menu> u> Prep Preprocessor rocessor> > Lo Loads> Lo Load Ste Step p Op Opts> ts> p-Metho ethod d> Set p range range
See the Elements the Elements Reference for complete descriptions of each of the above element types. 14.2.2.2. Specify Material Properties and/or Real Constants 14.2.2.2.1. Units
You may solve electrostatic field problems in a variety of units. ANSYS requires that all geometry dimensions, properties, properties, and and in input loads (exci (excitat tatiions) ons) be consi consisten stentt wi with respect to a un units sy system. stem. By defau defaullt, ANSYS ANSYS supports the MKS (or MKSV) system of units (meter, kilogram, second, volt, ampere). For microsystems, it may be more advantageous to work in other systems of units such as a µMKSV (micrometer, kilogram, second, volt, volt, pi p ico-ampere) co- ampere) or o r a µMSVfA (mi (micrometer, second, volt, volt, femtofemto-ampere, ampere, gram). For F or electrostatic electrostatic anal a nalysi ysis, s, you must select an appropriate value of free-space permittivity consistent with the system of units to be used. This is done via the EMUNIT command. command. By defau d efaullt, the free-space ree- space permitti permittivi vity ty is is 8.85 8 .854e4e-12 12 Farads/meter Fara ds/meter (MKSV units). For µMKSV units, you should use 8.854e-6 pico-Farads/micro-meter. For µMSVfA units, you should use 8.854e-3 femto-Farads/micro-meter. See Building the Model for a more complete description of alternate systems of units. To specify a system of units, issue one of the following: Command(s Command(s): ): EMUNIT GUI:
Main Menu> enu> Prep Prepro rocesso cessor> r> Materia erial Pro Props> Elec Electtrom romag Uni Unitts
14.2.2 .2.2. Material Material Properti Propertiee s
Material properties for p-elements (relative permittivity) may be either constant or temperature-dependent, as well well as isotropic or orthotropic. To define relative permittivity, issue one of the following: Command(s Command(s): ): MP GUI:
Main Menu> Preprocess Preproces s or> Material Material Props Props > Material Material Model odelss > Ele Electroma ctromagneti gneti cs > Relative Permittiv Per mittivity> ity> Isotropic
Element coordinate systems [ESYS] may be used for orthotropic material directions. All element results in POST1 however may only be viewed in Global Cartesian Coordinations. 14.2.2.3. Define the Model Geometry www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELN15_3.html
3/4
5/29/13
14.2. Usi ng the p- Method
You can create your model using any of the various techniques outlined in the Modeli Modeling ng and Meshing Meshing Guide, Guide, or you can import it from a CAD system. If you are generating your model from within ANSYS, you can use either solid modeling or direct generation techniques. Note
Using direct generation is not recommended when you plan to create a p-mesh since all pelements require that midside nodes be included in their geometric definition. In cases where surface curvature is important, it would not only be tedious, but possibly imprecise to manually define each midside node. In addition, the EMID command does not place nodes on a curved line. It is much more convenient to let the program generate the midside nodes using solid modeling. You may not drop any midside nodes from p-elements.
www.kxcad.net/ansys/ANSYS/ansyshel p/Hl p_G_ELN15_3.html
4/4
5/29/13
14.3. Doi ng an Exampl e p- El ectr ostati c Analysi s ( Command M ethod)
Low-Frequency Guide | Chapter 14. p-Method Electrostatic Analysis |
14.3. Doing an Example p-Electrostatic Analysis (Command Method)
www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS
This section demonstrates how to do a simple electrostatic analysis using the p-method described in the previous sections. 14.3.1. The Example Described
This is an analysis of a 2-D electrostatic comb drive with one set of fingers. The moving finger (beam) has an applied voltage of 10, while the U-shaped finger is fixed and grounded. The The objective is to calculate the electrostatic driving force. The dimensions are: tt = 40 µm
g g = 2 µm
wm = 2 µm
wf = 2µm
t 1 = 4 µm
t 2 = 40 µm
Figure Figure 14.9 Electrostatic Comb Drive
14.3.2. 14.3.2. Modeling Notes and and Results
The The mesh is shown shown in Figure 14.10: "Wedge Element Element Mesh". Mesh". Figur Figuree 14.10 Wedge Element Element Me sh
www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELN15_4.html
1/4
5/29/13
14.3. Doi ng an Exampl e p- El ectr ostati c Analysi s ( Command M ethod)
The p-method requires that the error for the electrostatic force acting on the moving finger be within 1% between consecutive p-loops. Figure 14.11:: "p14.11 "p-Convergen Convergence ce Perform P erformance ance for Electrostatic Force" shows convergence results. The force predicted by the p-method is 27% higher than that obtained with the initial mesh. Figure Figure 14.11 p-Conve p-Convergence rgence Perfor Pe rforman mance ce for Electrostatic Force
www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELN15_4.html
2/4
5/29/13
14.3. Doi ng an Exampl e p- El ectr ostati c Analysi s ( Command M ethod)
14.3.3. Command Listing
You can perform this example analysis of a 2-D electrostatic comb drive with one set of fingers using the ANSYS commands shown below. Text prefaced by an exclamation point (!) is a comment. /batch,list /show,combp,grph] /title, Comb Drive Example /prep7 ! dimensions (microns) / parameters wf=2 ! Fixed finger width wm=2 ! Moving finger width gg=2 ! Gap tt=40 ! Moving length t1=4 ! Fixed finger backing t2=tt ! Moving finger length hh=10 ! Height dt=tt/2 V0=10 xx=(2*tt-dt)*2.75 y1=(wm/2)+gg y2=(wm/2)+gg+wf x1=tt+t1 ! Create Model cyl4,0,0,xx,0,,360,1 block,-tt,0,y1,y2,0,1 block,(-tt-t1),-tt,-y2,y2,0,1 block,-tt,0,-y1,-y2,0,1 block,-dt,(tt-dt),(-wm/2),(wm/2),0,1 block,(-dt-(gg/2)),(tt-dt+(gg/2)),((block,(-dt-(gg/2) ),(tt-dt+(gg/2)),((-wm/2)-(gg/2)),(wm/2 wm/2)-(gg/2)),(wm/2)+(gg/2),0,1 )+(gg/2),0,1 dx=wm*1.1 dy=dx block,-x1-dx,tt-ddt+dx,-y2-dy,y2+dy,0,1 vovlap,all /com --------------------------------------/com Volume Component /com --------------------------------------/com 2,8,9 Fixed Finger /com 5 Moving Finger /com 11 Air Layer around Moving Finger /com 12 Air Layer around the Comb Drive /com 10 Boundary /com --------------------------------------! 2D mesh et,11,200,7 ! Use high order tri mesh element esize,gg/2 mshap,1 ! Force a traingle mesh amesh,52 ! Mesh air layer around moving finger esize,gg amesh,54 ! Mesh air layer around comb drive esize,(y2+dy)*5 amesh,50 ! Mesh boundary ! 3D mesh et,1,128 emunit,epzro,8.854e-6 emunit,epzro,8.85 4e-6 ! Free space permittivity (uMKSV units) mp,perx,1,1 ! Set relative permittivity to 1 mat,1 lsel,s,loc,z,.5 lesize,all,,,1 ! Set element size in z-direction to 1 lsel,all type,1 vsel,s,volu,,10,12,1 vsweep,all ! Create wedge volume elements from tri mesh vsel,all www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELN15_4.html
3/4
5/29/13
14.3. Doi ng an Exampl e p- El ectr ostati c Analysi s ( Command M ethod)
vsel,s,volu,,10 eslv,s eplot allsel asel,s,loc,z,1 aclear,all etdele,11 asel,all csys,1 nsel,s,loc,x,xx d,all,VOLT,0 nsel,all csys,0 vsel,s,volu,,5 cm,MFINGER,volu asel,s,ext nsla,s,1 d,all,VOLT,0 sf,all,mxwf vsel,s,volu,,2 vsel,a,volu,,8,9,1 cm,FFINGER,volu asel,s,ext nsla,s,1 d,all,VOLT,V0 allsel ! p-convergence control pemopt,5.0,dual pconv,2,efor,x /gst,on save finish /solu eqslv,iccg solve finish /post1 set,last vsel,s,volu,,11,12 eslv,s pplot esel,all plconv,all etable,fx,fmag,x etable,fy,fmag,y etable,fz,fmag,z ssum *get,fx,ssum,,item,fx *get,fx,ssum,,ite m,fx *get,fy,ssum,,item,fy *get,fz,ssum,,item,fz /com,Comb Drive Force *stat,fx finish
! Plot model
! Select original areas ! Remove meshing elements
! Apply volt=0 at outer boundary
! Apply a zero potential on the moving finger
! Apply 10 Volts on the fixed finger
! Select Dual Method with tolerance of 5% ! Base convergence on Maxwell forces with tolerance of 2%
! Set ICCG solver
! Set the last data step
! Plot the p-levels around the fingers ! Plot the convergence curve
! Get summed forces
www.kxcad.net/ansys/ANSYS/ansyshel p/H lp_G_ELN15_4.html
4/4