Professional Documents
Culture Documents
ANSYS, ANSYS Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature
names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the
United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark
of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property
of their respective owners. FLEXlm and FLEXnet are trademarks of Flexera Software LLC.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, contact ANSYS, Inc.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Coupled-Field Analysis Guide
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
Coupled-Field Analysis Guide
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. v
Coupled-Field Analysis Guide
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
vi of ANSYS, Inc. and its subsidiaries and affiliates.
Coupled-Field Analysis Guide
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. vii
Coupled-Field Analysis Guide
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
viii of ANSYS, Inc. and its subsidiaries and affiliates.
Coupled-Field Analysis Guide
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. ix
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
x of ANSYS, Inc. and its subsidiaries and affiliates.
List of Figures
2.1. Thermoelectric Cooler ........................................................................................................................... 19
2.2. Finite Element Model ............................................................................................................................ 20
2.3. Temperature Distribution ...................................................................................................................... 21
2.4. Thermoelectric Generator ..................................................................................................................... 23
2.5. Temperature Dependent Material Properties ......................................................................................... 25
2.6. Piezoelectric Bimorph Beam .................................................................................................................. 36
2.7. Finite Element Model of Quartz Tuning Fork .......................................................................................... 40
2.8. Voltage Load for In-Plane Vibration ........................................................................................................ 41
2.9. In-Plane and Out-of-Plane Vibrations ..................................................................................................... 42
2.10. Volt solution at 27.6 Hz ........................................................................................................................ 46
2.11. Animation of the Solution at 27.6 Hz ................................................................................................... 47
2.12. Tip Deflection ..................................................................................................................................... 48
2.13. AT-Cut Quartz Plate - Finite Element Model .......................................................................................... 51
2.14. Thickness-Shear Mode Shape ............................................................................................................. 53
2.15. Admittance vs. Frequency ................................................................................................................... 53
2.16. Barium Titanate Disc - Finite Element Model ........................................................................................ 58
2.17. Radial Mode Shape (Resonance) .......................................................................................................... 60
2.18. Radial Mode Shape (Antiresonance) .................................................................................................... 60
2.19. Finite Element Model of Piezoelectric Substrate ................................................................................... 65
2.20. Displacement Solution at 9.21×108 Hz ................................................................................................. 67
2.21. Voltage Solution at 9.21×108 Hz .......................................................................................................... 67
2.22. Elastomer Deformation ....................................................................................................................... 74
2.23. Applied Sinusoidal Voltage .................................................................................................................. 75
2.24. Longitudinal Displacement of Elastomer ............................................................................................. 75
2.25. Finite Element Model .......................................................................................................................... 78
2.26. Mid-Span Beam Deflection .................................................................................................................. 79
2.27. Potential Distribution on Deformed Comb Drive .................................................................................. 82
2.28. Finite Element Model of a Half-Symmetry ............................................................................................ 86
2.29. Axial Strain vs. Applied Voltage ............................................................................................................ 87
2.30. Axial Stress Distribution ...................................................................................................................... 88
2.31. Clamped-Clamped Beam with Fixed Ground Conductor ...................................................................... 90
2.32. Finite Element Model of the Structural and Electrostatic Domains ........................................................ 91
2.33. Beam Capacitance vs. Voltage .............................................................................................................. 94
2.34. Beam Mid-span Deflection vs. Voltage ................................................................................................. 95
2.35. Electric Field in the Air Domain ............................................................................................................ 96
2.36. Fundamental Mode Shape .................................................................................................................. 98
2.37. Schematic View of a Micro Mirror Array and a Single Mirror Cell ............................................................ 99
2.38. Parameter Set for Geometrical Dimensions of the Mirror Cell .............................................................. 100
2.39. Mirror Displacements vs. Voltage Up to Pull-in .................................................................................... 104
2.40. Amplitude vs. Frequency ................................................................................................................... 106
2.41. Phase Angle vs. Frequency ................................................................................................................. 107
2.42. Upper Edge Displacement vs. Time .................................................................................................... 109
2.43. Plate Center Displacement vs. Time .................................................................................................... 110
2.44. Lower Edge Displacement vs. Time .................................................................................................... 111
2.45. Four-Terminal Sensor ........................................................................................................................ 114
2.46. Finite Element Model ........................................................................................................................ 115
2.47. Clamped-clamped Beam ................................................................................................................... 121
2.48. Frequency Dependence of Thermoelastic Damping in a Silicon Beam ................................................ 122
2.49. Temperature Distribution in the Beam ............................................................................................... 122
2.50. Thick-Walled Sphere .......................................................................................................................... 125
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xi
Coupled-Field Analysis Guide
2.51. Temperature Increase on the Inner Surface of the Sphere ................................................................... 126
2.52. Radial Displacement on the Inner Surface of the Sphere .................................................................... 127
2.53. Temperature Distribution in the Sphere at T = 7.0 sec ......................................................................... 127
2.54. Rubber Cylinder Model ..................................................................................................................... 130
2.55. Finite Element Model of the Cylinder and Steel Disk ........................................................................... 131
2.56. Deformation of the Cylinder ............................................................................................................. 132
2.57. Temperature Distribution in the Cylinder and Disk ............................................................................. 133
2.58. Temperature Evolution at Selected Locations ..................................................................................... 133
2.59. Microactuator Model ......................................................................................................................... 138
2.60. Microactuator Displacements ............................................................................................................ 139
2.61. Microactuator Temperatures ............................................................................................................. 139
2.62. Double-Clamped Ferromagnetic Beam Above a Magnet .................................................................... 147
2.63. Magnetic Flux ................................................................................................................................... 148
2.64. Beam Deformation ........................................................................................................................... 148
2.65. Finite Element Mesh .......................................................................................................................... 151
2.66. Applied Total Current ....................................................................................................................... 152
2.67. Electric Current Density .................................................................................................................... 152
2.68. Magnetic Flux Density ...................................................................................................................... 153
2.69. Von Mises Stress ............................................................................................................................... 153
2.70. Electric Current Density .................................................................................................................... 154
2.71. Magnetic Flux Density ....................................................................................................................... 155
2.72. Magnetic Force ................................................................................................................................. 155
2.73. Mechanical Deformation .................................................................................................................. 156
2.74. Von Mises Stress ............................................................................................................................... 156
2.75. Extracting Capacitance ...................................................................................................................... 159
2.76. Reduced Order Model ....................................................................................................................... 160
2.77. Micromirror Model ............................................................................................................................ 161
2.78. Electromechanical Hysteresis ............................................................................................................ 161
2.79. Static Stability Characteristics ............................................................................................................ 162
2.80. Electrostatic Parallel Plate Drive Connected to a Silicon Beam ............................................................. 164
2.81. Elements of MEMS Example Problem ................................................................................................. 165
2.82. Lowest Eigenvalue Mode Shape for MEMS Example Problem ............................................................. 166
2.83. Mid Span Beam Deflection for MEMS Example Problem ..................................................................... 166
2.84. Bimorph Beam Problem Sketch ......................................................................................................... 186
2.85. Bimorph Beam Deformation .............................................................................................................. 187
2.86. Normalized Concentration in the Tensile Test Specimen ..................................................................... 189
2.87. Hydrostatic Pressure in the Tensile Test Specimen .............................................................................. 189
2.88. Finite Element Model of the Potato Slice ............................................................................................ 194
2.89. Internal Temperature (˚C) vs Time (s) for Three Analyses ..................................................................... 196
2.90. Internal Concentration (g/mm3) vs Time (s) for Three Analyses ............................................................ 196
2.91. Moisture Mass of Entire Potato Slice (g) vs Time (s) for Three Analyses ................................................. 197
2.92. Electric Current Density in the Solder Joint ........................................................................................ 204
2.93. Temperature Distribution in the Solder Joint ...................................................................................... 205
2.94. Normalized Concentration in the Solder Joint .................................................................................... 205
2.95. Electric Potential in the Solder Joint ................................................................................................... 209
2.96. Concentration in the Solder Joint ...................................................................................................... 209
2.97. Displacement Distribution in the Solder Joint .................................................................................... 210
2.98. Hydrostatic Pressure in the Solder Joint ............................................................................................. 210
3.1. Data Flow for a Load Transfer Coupled-Field Analysis Using Separate Databases ................................... 221
3.2. Data Flow for a Load Transfer Coupled Physics Analysis Using Multiple Physics Environments ............... 222
3.3. Beam Above Ground Plane .................................................................................................................. 227
3.4. Area Model of Beam and Air Region .................................................................................................... 228
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xii of ANSYS, Inc. and its subsidiaries and affiliates.
Coupled-Field Analysis Guide
3.5. Area Model of Beam and Multiple Air Regions ..................................................................................... 229
3.6. Stress Profile Across Material Discontinuity .......................................................................................... 233
3.7. Radial Stress Displayed on Geometry ................................................................................................... 234
3.8. Axisymmetric 1-D Slice of the Induction-Heating Domain .................................................................... 234
3.9. Solution Flow Diagram ........................................................................................................................ 235
3.10. Nominal Electromagnetic Physics Boundary Conditions ..................................................................... 236
3.11. Nominal Thermal Physics Boundary Conditions .................................................................................. 237
3.12. Temperature Response of Solid Cylinder Billet .................................................................................... 241
5.1. 3-D Circuit Coupled Solid Source Conductor ........................................................................................ 250
5.2. CIRCU94 Components ......................................................................................................................... 254
5.3. Electrical Circuit Connections .............................................................................................................. 255
5.4. Electrostatic Transducer - Resonator Model .......................................................................................... 256
5.5. Excitation Voltages .............................................................................................................................. 257
5.6. Mechanical Resonator Displacement (at Node 2) ................................................................................. 258
5.7. Piezoelectric Circuit ............................................................................................................................. 259
5.8. Equivalent Circuit -Transient Analysis ................................................................................................... 261
5.9. Equivalent Circuit - Harmonic Analysis at ith Piezoelectric Resonance ................................................... 261
5.10. Equivalent Circuit - Harmonic Analysis Near the 3rd Piezoelectric Resonance ...................................... 262
5.11. Harmonic Analysis Results ................................................................................................................. 262
6.1. ROM Process Flow ............................................................................................................................... 267
6.2. Model Preparation Flowchart .............................................................................................................. 268
6.3. Generation Pass Flowchart .................................................................................................................. 271
6.4. Use Pass Flowchart .............................................................................................................................. 278
6.5. ROM144 and Attached Elements ......................................................................................................... 280
6.6. Data Flow ........................................................................................................................................... 283
6.7. Expansion Pass Flowchart .................................................................................................................... 283
6.8. Clamped-Clamped Beam with Fixed Ground Conductor ...................................................................... 285
6.9. Finite Element Model of the Structural and Electrostatic Domains ........................................................ 285
6.10. Schematic View of a Micro Mirror Array and a Single Mirror Cell .......................................................... 291
6.11. Parameter Set for Geometrical Dimensions of the Mirror Cell .............................................................. 291
6.12. Modal Amplitudes vs. Voltage ............................................................................................................ 298
6.13. Master Displacements vs. Voltage ...................................................................................................... 298
6.14. Modal Amplitude of Mode 1 vs. High Polarization Voltage .................................................................. 300
6.15. Modal Amplitude of Mode 3 vs. High Polarization Voltage .................................................................. 300
6.16. Capacitances CAP12 and CAP13 vs. High Polarization Voltage ............................................................ 301
6.17. Capacitance CAP23 vs. High Polarization Voltage ............................................................................... 302
6.18. Expanded Displacements for Acceleration Load ................................................................................. 304
6.19. Expanded Displacements for Pressure Load ....................................................................................... 305
6.20. Harmonic Transfer Function Amplitude for 800 V Polarization Voltage ................................................ 306
6.21. Harmonic Transfer Function Phase Angle for 800 V Polarization Voltage .............................................. 307
6.22. Modal Amplitudes vs. Time at Saw Tooth Like Voltage Function .......................................................... 308
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xiii
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xiv of ANSYS, Inc. and its subsidiaries and affiliates.
List of Tables
1.1. Structural Elements ................................................................................................................................ 2
1.2. Load-Transfer Method: Summary of Physics Coupled and Application ...................................................... 4
1.3. Direct Method: Summary of Physics Coupled and Application .................................................................. 4
1.4. Methods Available .................................................................................................................................. 4
1.5. Mechanical Conversion Factors for MKS to μMKSV ................................................................................... 7
1.6. Thermal Conversion Factors for MKS to μMKSV ........................................................................................ 7
1.7. Electrical Conversion Factors for MKS to μMKSV ....................................................................................... 8
1.8. Magnetic Conversion Factors for MKS to μMKSV ...................................................................................... 8
1.9. Piezoelectric Conversion Factors for MKS to μMKSV ................................................................................. 9
1.10. Piezoresistive Conversion Factors for MKS to μMKSV .............................................................................. 9
1.11. Thermoelectric Conversion Factors for MKS to μMKSV ............................................................................ 9
1.12. Mechanical Conversion Factors for MKS to μMSVfA ................................................................................ 9
1.13. Thermal Conversion Factors for MKS to μMSVfA ................................................................................... 10
1.14. Electrical Conversion Factors for MKS to μMSVfA .................................................................................. 10
1.15. Magnetic Conversion Factors for MKS to μMKSVfA ............................................................................... 11
1.16. Piezoelectric Conversion Factors for MKS to μMKSVfA .......................................................................... 11
1.17. Piezoresistive Conversion Factors for MKS to μMKSVfA ......................................................................... 11
1.18. Thermoelectric Conversion Factors for MKS to μMKSVfA ...................................................................... 12
2.1. Coupled-Field Elements ........................................................................................................................ 13
2.2. Coupling Methods Used in Direct Coupled-Field Analyses ...................................................................... 14
2.3. Elements Used in Thermal-Electric Analyses ........................................................................................... 17
2.4. Material Properties ................................................................................................................................ 19
2.5. Thermoelectric Cooler Results ............................................................................................................... 21
2.6. Semiconductor Element Dimensions ..................................................................................................... 24
2.7. Material Properties ................................................................................................................................ 24
2.8. Results Using Material Properties at Average Temperature ..................................................................... 26
2.9. Results Considering Material Temperature Dependence ........................................................................ 26
2.10. Electrode 1-5 Voltages ......................................................................................................................... 37
2.11. Electrode 6-10 Voltages ....................................................................................................................... 37
2.12. Tuning Fork Eigenfrequencies (Hz) ....................................................................................................... 42
2.13. Material Constants of α-Quartz [1] ....................................................................................................... 52
2.14. Thickness-Shear Vibration of AT-cut of Quartz Characteristics ............................................................... 54
2.15. Material Constants of Barium Titanate ................................................................................................. 58
2.16. Radial Vibration Parameters ................................................................................................................. 61
2.17. Initial Values ....................................................................................................................................... 82
2.18. Resonance Frequencies of the Fundamental Mode .............................................................................. 99
2.19. Sensing Element Output Voltage ....................................................................................................... 115
2.20. Elements Used in Structural-Thermal Analyses ................................................................................... 118
2.21. Units for Thermal Quantities .............................................................................................................. 120
2.22. Material Properties ............................................................................................................................ 121
2.23. Material Properties ............................................................................................................................ 125
2.24. Material Properties ............................................................................................................................ 130
2.25. Elements Used in a Structural-Thermal-Electric Analyses .................................................................... 136
2.26. Elements Used in Magneto-Structural Analyses .................................................................................. 143
2.27. Magneto-Structural Analyses ............................................................................................................. 143
2.28. Elements Used in a Coupled Pore-Fluid-Diffusion and Structural Analysis ........................................... 180
2.29. Elements Used in Structural-Diffusion Analyses .................................................................................. 184
2.30. Elements Used in Thermal-Diffusion Analyses .................................................................................... 192
2.31. Problem Specifications ...................................................................................................................... 194
2.32. Elements Used in a Structural-Thermal-Diffusion Analyses ................................................................. 200
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xv
Coupled-Field Analysis Guide
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xvi of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Coupled-Field Analyses
A coupled-field analysis, also known as a multiphysics analysis, is a combination of analyses from different
engineering disciplines (physics fields) that interact to solve a global engineering problem. When the
input of one field analysis depends on the results from another analysis, the analyses are coupled.
Some analyses can have one-way coupling. For example, in a thermal stress problem, the temperature
field introduces thermal strains in the structural field, but the structural strains generally do not affect
the temperature distribution; therefore, there is no need to iterate between the two field solutions.
More complicated cases involve two-way coupling. For example, a piezoelectric analysis handles the in-
teraction between the structural and electric fields; that is, it solves for the voltage distribution due to
applied displacements, or vice versa. In a fluid-structure interaction problem, the fluid pressure causes
the structure to deform, in turn causing the fluid solution to change; such a problem requires iterations
between the two physics fields for convergence.
Coupling between fields occurs either by direct or load-transfer coupling. Coupling across fields can be
complicated because different fields may be solving for different types of analyses during a simulation.
For example, in an induction heating problem, a harmonic electromagnetic analysis calculates Joule
heating, used in a transient thermal analysis to predict a time-dependent temperature solution. The
induction heating problem is complicated further because the material properties in both physics sim-
ulations are highly temperature-dependent.
Some applications in which coupled-field analysis may be required are pressure vessels (thermal-stress
analysis), fluid-flow constrictions (fluid-structure analysis), induction heating (magnetic-thermal analysis),
ultrasonic transducers (piezoelectric analysis), magnetic forming (magneto-structural analysis), and micro-
electromechanical systems (MEMS).
• Load-Transfer Methods
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
Coupled-Field Analyses
Refer to System Coupling in the Mechanical User's Guide for more information on this load-transfer
method. If you are new to Workbench, see the Overview in the Workbench User's Guide to get
started. Workbench offers the combination of the core product solvers with project management
tools that manage the project workflow.
This coupled-field analysis method supports the structural element types shown in
Table 1.1: Structural Elements (p. 2).
SOLID SHELL
SOLID185 SHELL181
SOLID186 SOLSH190
SOLID187 SHELL281
SOLID226
SOLID227
All thermal element types are supported; however, for SHELL131 and SHELL132 thermal shell ele-
ments, only the paint option (KEYOPT(6)=1, TEMP DOF on the bottom) is supported, and the tem-
peratures or heat flows at the bottom are used in the coupling.
When coupling Mechanical and Fluent for a thermal-structural analysis, the coupled field elements
SOLID226 and SOLID227 (KEYOPT(1)=11) need to be used in Mechanical. See Thermal-Fluid-Struc-
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
Types of Coupled-Field Analysis
tural Analyses using System Coupling in the Mechanical User's Guide for details about how to set
up this type of analysis.
A system coupling analysis can be run from the command line, rather than by using the Workbench
user interface. If the system coupling simulation involves Mechanical APDL, see Starting a Mechan-
ical APDL Session from the Command Level in the Operations Guide for more information.
For coupling situations which do not exhibit a high degree of nonlinear interaction, the load-transfer
method is more efficient and flexible because you can perform the two analyses independently of
each other. Coupling may be recursive, where iterations between the different physics are performed
until the desired level of convergence is achieved. In a load-transfer thermal-stress analysis, for example,
you can perform a nonlinear transient thermal analysis followed by a linear static stress analysis. You
can then use nodal temperatures from any load step or time-point in the thermal analysis as loads
for the stress analysis.
Direct coupling typically requires less user-intervention because the coupled-field elements handle
the load-transfer. Some analyses must be done using direct coupling (such as piezoelectric analyses).
The load-transfer method requires that you define more details and manually specify the loads to be
transferred, but offers more flexibility in that you can transfer loads between dissimilar meshes and
between different analyses.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
Coupled-Field Analyses
The following tables provides some general guidelines on using each method.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
Types of Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
Coupled-Field Analyses
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
System of Units
enables you to combine both lumped elements, where appropriate, with a "distributed" finite element
model in regions where characterization requires a full finite element solution. A common degree-
of-freedom set allows the combination of lumped and distributed models. See Coupled Physics
Circuit Simulation (p. 249) for detailed procedures.
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, the following tables list the
conversion factors from standard MKS units to µMKSV and µMSVfA units.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Coupled-Field Analyses
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
System of Units
Note:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Coupled-Field Analyses
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
System of Units
Note:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Coupled-Field Analyses
The GUI paths shown are as complete as possible. In many cases, choosing the GUI path as shown will
perform the function you want. In other cases, choosing the GUI path given in this document takes you
to a menu or dialog box; from there, you must choose additional options that are appropriate for the
specific task being performed.
For all types of analyses described in this guide, specify the material you will be simulating using an
intuitive material model interface. This interface uses a hierarchical tree structure of material categories,
which is intended to assist you in choosing the appropriate model for your analysis. See Material Model
Interface in the Basic Analysis Guide for details on the material model interface.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2: Direct Coupled-Field Analysis
The direct method for performing a coupled-field analysis involves a single analysis using a coupled-
field element. Table 2.1: Coupled-Field Elements (p. 13) lists the elements that have coupled-field capab-
ility.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Direct Coupled-Field Analysis
Coupled-field elements contain all the necessary degrees of freedom. They handle the field coupling
by calculating the appropriate element matrices (strong, or matrix coupling) or element load vectors
(weak, or load vector coupling). In linear problems with strong coupling, coupled-field interaction is
calculated in one iteration. Weak coupling requires at least two iterations to achieve a coupled response.
Nonlinear problems are iterative for both strong and weak coupling. Table 2.2: Coupling Methods Used
in Direct Coupled-Field Analyses (p. 14) lists the different types of coupled-field analyses available using
the direct method, and which type of coupling is present in each. See Coupling Methods in the Theory
Reference for more information about strong versus weak coupling.
Your finite element model may intermix certain coupled-field elements with the VOLT degree of freedom.
To be compatible, the elements must have the same reaction solution for the VOLT degree of freedom.
Elements that have an electric charge reaction solution must all have the same electric charge reaction
sign. For more information, see Element Compatibility.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
Type of Analysis Coupling Method
Thermal-electric-diffusion Strong and/or weak
Structural-electric-diffusion Strong or weak
Structural-thermal-electric-diffusion Strong and/or weak
Weak coupling effects are ignored in a substructure analysis, because an iterative solution is not available
within the substructure generation pass.
Because of the possibly extreme nonlinear behavior of weakly coupled field elements, you may need
to use the predictor and line-search options to achieve convergence. Nonlinear Structural Analysis in
the Structural Analysis Guide describes these options.
To speed up convergence in a coupled-field transient analysis, you can disable the time integration effects
for any degrees of freedom that are not a concern. For example, if structural inertial and damping effects
can be ignored in a thermal-structural transient analysis, you can issue TIMINT,OFF,STRUC to turn off
the time integration effects for the structural degrees of freedom.
Contact elements may also be included in a direct coupled-field analysis. For more information, see the
following sections in the Contact Technology Guide:
For information about coupled physics circuit simulations, see Coupled Physics Circuit Simulation (p. 249).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Direct Coupled-Field Analysis
2.17.Thermal-Electric-Diffusion Analysis
2.18. Structural-Electric-Diffusion Analysis
2.19. Structural-Thermal-Electric-Diffusion Analysis
2.20. Other Coupled-Field Analysis Examples
CIRCU94 is a circuit element with electric potential (VOLT) degree of freedom and positive or negative
electric charge through variable (force, reaction force). Depending on KEYOPT selection it can act like
a linear resistor, capacitor, inductor, or an independent voltage or current source. CIRCU94 can be applied
in connection with other elements having the same degree of freedom and through variable (force,
reaction force). Electric charge reaction signs must all be positive or negative. For example, CIRCU94
can be combined with the following elements to simulate circuit coupled piezoelectric analysis: SOLID5,
PLANE13, SOLID98, PLANE223, SOLID226, and SOLID227. It can also work together with PLANE121,
SOLID122, and SOLID123 to simulate circuit fed electrostatic analysis.
CIRCU124 is a circuit element with electric potential (VOLT) degree of freedom and electric current
(AMPS label) through variable (force, reaction force). Depending on KEYOPT selection it can act like a
linear resistor, capacitor, inductor, or a number of circuit source or coupled circuit source options. CIR-
CU124 can be applied in connection with other elements having the same degree of freedom and
through variable (force, reaction force): SOLID5, LINK68, SOLID98, CIRCU125, TRANS126, PLANE223,
SOLID226, SOLID227, PLANE230, SOLID231, and SOLID232. CIRCU124 can also work together with
PLANE13 magnetic elements to simulate circuit fed magnetic analysis.
CIRCU125 is a circuit element with electric potential (VOLT) degree of freedom and electric current
(AMPS label) through variable (force, reaction force). Depending on KEYOPT selection it can act like a
regular or Zener diode circuit. CIRCU125 can be applied in connection with other elements having the
same degree of freedom and through variable (force, reaction force): CIRCU124, TRANS126, and LINK68.
TRANS126 is an electromechanical transducer with electric potential (VOLT) as well as mechanical dis-
placement (UX, UY, UZ) degrees of freedom and electric current (AMPS label), as well as mechanical
force (FX, FY, FZ) through variables (force, reaction force). TRANS126 can be applied in connection with
other elements having the same degree of freedom and through variable (force, reaction force): CIRCU124,
CIRCU125, and LINK68. It can also be applied in connection with all regular mechanical elements to
simulate strongly coupled electromechanical interactions, a characteristic of MEMS design.
• Joule heating - Heating occurs in a conductor carrying an electric current. Joule heat is proportional to
the square of the current, and is independent of the current direction.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric Analysis
• Peltier effect - Cooling or heating occurs at the junction of two dissimilar thermoelectric materials when
an electric current flows through the junction. Peltier heat is proportional to the current, and changes
sign if the current direction is reversed.
• Thomson effect - Heat is absorbed or released in a non-uniformly heated thermoelectric material when
electric current flows through it. Thomson heat is proportional to the current, and changes sign if the
current direction is reversed.
Typical applications include heating coils, fuses, thermocouples, and thermoelectric coolers and gener-
ators. For more information, refer to Thermoelectrics.
LINK68 and SHELL157 are special purpose thermal-electric elements. The coupled-field elements
(SOLID5, SOLID98, PLANE223, SOLID226, and SOLID227 ) require you to select the element degrees
of freedom for a thermal-electric analysis: TEMP and VOLT. For SOLID5 and SOLID98, set KEYOPT(1)
to 0 or 1. For PLANE223, SOLID226, and SOLID227, set KEYOPT(1) to 110.
SOLID98 -
Coupled-Field
Tetrahedral
SHELL157 -
Thermal-Electric Shell
PLANE223 - Joule KXX, KYY, KZZ Static
Coupled-Field Heating
Quadrilateral RSVX, RSVY, RSVZ Transient (transient
Seebeck thermal and
Effect DENS, C, ENTH electrical effects)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Direct Coupled-Field Analysis
To perform a thermal-electric analysis, you need to specify the element type and material properties.
For Joule heating effects, you must define both electrical resistivity (RSVX, RSVY, RSVZ) and thermal
conductivity (KXX, KYY, KZZ). Mass density (DENS), specific heat (C), and enthalpy (ENTH) may be
defined to take into account thermal transient effects. These properties may be constant or temper-
ature-dependent.
A transient analysis using PLANE223, SOLID226, or SOLID227 can account for both transient thermal
and transient electrical effects. You must define electric permittivity (PERX, PERY, PERZ) to model the
transient electrical effects. A transient analysis using LINK68, SOLID5, SOLID98, or SHELL157 can only
account for transient thermal effects.
To include the Seebeck-Peltier thermoelectric effects, you need to specify a PLANE223, SOLID226, or
SOLID227 element type and a Seebeck coefficient (SBKX, SBKY, SBKZ) (MP). You also need to specify
the temperature offset from zero to absolute zero (TOFFST). To capture the Thomson effect, you
need to specify the temperature dependence of the Seebeck coefficient (MPDATA).
PLANE223 assumes a unit thickness; it does not allow thickness input. If the actual thickness (t) is
not uniform, you need to adjust the material properties as follows: multiply the thermal conductivity
and density by t, and divide the electrical resistivity by t.
Be sure to define all data in consistent units. For example, if the current and voltage are specified in
amperes and volts, you must use units of watts/length-degree for thermal conductivity. The output
Joule heat will then be in watts.
For problems with convergence difficulties, activate the line-search capability (LNSRCH).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric Analysis
Cold side Tc
p-type
L
n-type
Hot side Th
W
W
I
The dimensions of the copper strap were chosen arbitrarily. See the command input listing for the
dimensions used. The effect on the results is negligible.
Length L = 1 cm
Width W = 1 cm
Cross-sectional area A = 1 cm2
Thermal Seebeck
Resistivity
Component Conductivity Coefficient
(ohm*cm)
(watt/cm°C) (μvolts/°C)
n-type material ρn = 1.05 x 10-3 λn = .013 α n = -165
A 3-D steady-state thermal-electric analysis is carried out to evaluate the performance of the cooler.
The givens are: Tc = 0°C, Th = 54°C, and I = 28.7 amps. The following quantities are calculated and
compared to analytical values.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Direct Coupled-Field Analysis
1. The heat rate Qc that must be pumped away from the cold junction to maintain the junction at Tc:
where:
Combined Seebeck coefficient α = |α n| + |α p|
Internal electrical resistance R = (ρn+ ρp)L/A
Internal thermal conductance K = (λn + λp)A/L
Applied temperature difference ΔT = Th - Tc
P = VI = αI(ΔT) + I2R
where:
V = voltage drop across the cooler
β = Qc/P
The inverse problem is solved. The givens are: Qc = 0.74 watts, Th = 54°C, and I = 28.7 amps and
the cold junction temperature Tc and the temperature distribution are determined.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric Analysis
Results (p. 21) to the analytical design from the reference. A small discrepancy between the numer-
ical and analytical results is due to the presence of the connecting straps.
Reference
Quantity Results
Results
Qc, watts 0.728 0.74
P, watts 2.292 2.35
β 0.317 0.32
In the second analysis, an inverse problem is solved: Qc from the first solution is imposed as a rate
of heat flow on the cold junction to determine the temperature at that junction. The calculated
temperature of the cold junction Tc = 0.106 ºC is close to the expected 0 ºC. The following figure
shows the temperature distribution.
/PREP7
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Direct Coupled-Field Analysis
! cooler dimensions
l=1e-2 ! element length, m
w=1e-2 ! element width, m
hs=0.1e-2 ! strap height, m
! n-type material
mp,rsvx,1,1.05e-5 ! Electrical resistivity, Ohm*m
mp,kxx,1,1.3 ! Thermal conductivity, watt/(m*K)
mp,sbkx,1,-165e-6 ! Seebeck coefficient, volt/K
! p-type material
mp,rsvx,2,0.98e-5 ! Electrical resistivity, Ohm*m
mp,kxx,2,1.2 ! Thermal conductivity, watt/(m*K)
mp,sbkx,2,210e-6 ! Seebeck coefficient,volt/K
! FE model
et,1,226,110 ! 20-node thermo-electric brick
block,w/2,3*w/2,,w,,l
block,-3*w/2,-w/2,,w,,l
block,-3*w/2,3*w/2,,w,l,l+hs
block,-1.7*w,-w/2,,w,-hs,0
block,w/2,1.7*w,,w,-hs,0
vglue,all
esize,w/3
type,1
mat,1
vmesh,1
mat,2
vmesh,2
msha,1,3d
mat,3
lesize,61,hs
lesize,69,hs
lesize,30,w/4
lesize,51,w/4
lesize,29,w/4
lesize,50,w/4
vmesh,6,8
eplot
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric Analysis
/com
*get,Qc,node,nc,rf,heat ! Get heat reaction at cold junction
/com
/com Heat absorbed at the cold junction Qc = %Qc%, watts
/com
P=volt(ni)*I
/com Power input P = %P%, watts
/com
/com Coefficient of performance beta = %Qc/P%
/com
/com
/com Temperature at the cold junction Tc = %temp(nc)%, deg.C
/com
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Direct Coupled-Field Analysis
Two 3-D steady-state thermal-electric analyses are performed to evaluate the thermal efficiency of
the generator.
A thermal-electric analysis is performed using the following material properties at the average
temperature of 177°C (Angrist, Ch.4, p.157).
Thermal Seebeck
Resistivity
Component Conductivity Coefficient
(ohm*cm)
(watt/cm°C) (μvolts/°C)
n-type material ρn = 1.35 x 10-3 λn = .014 α n = -195
-3
p-type material ρp = 1.75 x 10 λp = .012 α p = 230
The following quantities are calculated and compared to the analytical values:
where:
Combined Seebeck coefficient α = |α n| + |α p|
Internal electrical resistance R = ρn(Ln/ An) + ρp(Lp/ Ap)
Internal thermal conductance K = λn(An/Ln) + λp(Ap/Lp)
Applied temperature difference ΔT = Th - Tc
I = αΔT/(R + Ro)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric Analysis
Po = I2Ro
η = Po/Qh
This is the same as the first analysis, except that the temperature dependence of the Seebeck
coefficient, electrical resistivity, and thermal conductivity of the materials is taken into account using
the following data (Angrist, Appendix C, p.476–477).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Direct Coupled-Field Analysis
Reference
Quantity Results
Results
Qh, watts 13.03 13.04
I, amps 19.08 19.2
Po, watts 1.43 1.44
η, % 10.96 10.95
The following table shows the results when temperature dependence of the material properties is
taken into account.
Quantity Results
Qh, watts 11.07
I, amps 16.37
Po, watts 1.05
η, % 9.49
/nopr
/PREP7
et,1,SOLID226,110 ! 20-node thermoelectric brick
/com
/com *** Thermo-electric analysis with material
/com *** properties evaluated at an average temperature
/com
! Material properties for n-type material
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric Analysis
mp,rsvx,1,rsvn
mp,kxx,1,kn
mp,sbkx,1,sbkn
! Solid model
block,d/2,wn+d/2,-ln,0,,t
block,-(wp+d/2),-d/2,-lp,0,,t
! Meshing
esize,wn/2
mat,1
vmesh,1
mat,2
vmesh,2
/SOLU
antype,static
cnvtol,heat,1,1.e-3 ! Set convergence values
cnvtol,amps,1,1.e-3 ! for heat flow and current
solve
fini
! n-branch area
An=wn*t
! p-branch area
Ap=wp*t
! Total thermal conductance
K=kp*Ap/lp+kn*An/ln
! Total electric resistance of the couple
R=lp*rsvp/Ap+ln*rsvn/An
! Combined Seebeck coefficient
alp=abs(sbkp)+abs(sbkn)
/com
/com *** Calculated and expected results:
/com
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Direct Coupled-Field Analysis
/PREP7
! Temperature data points
mptemp,1,25,50,75,100,125,150
mptemp,7,175,200,225,250,275,300
mptemp,13,325,350
! n-type material
! Seebeck coefficient, Volt/K
mpdata,sbkx,1,1,-160e-6,-168e-6,-174e-6,-180e-6,-184e-6,-187e-6
mpdata,sbkx,1,7,-189e-6,-190e-6,-189e-6,-186.5e-6,-183e-6,-177e-6
mpdata,sbkx,1,13,-169e-6,-160e-6
mpplot,sbkx,1
mpplot,rsvx,1
mpplot,kxx,1
! p-type material
! Seebeck coefficient, Volt/K
mpdata,sbkx,2,1,200e-6,202e-6,208e-6,214e-6,220e-6,223e-6
mpdata,sbkx,2,7,218e-6,200e-6,180e-6,156e-6,140e-6,120e-6
mpdata,sbkx,2,13,101e-6,90e-6
mpplot,sbkx,2
mpplot,rsvx,2
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
mpdata,kxx,2,7,1.116,1.135,1.13,1.09,1.12,1.25
mpdata,kxx,2,13,1.5,2.025
mpplot,kxx,2
/SOLU
tunif,Tc
neqit,30
solve
fini
/com
/com *** Results
/com
*get,Qh,node,nh,rf,heat
/com Heat pumping rate on cold side Qh = %Qh%, watts
/com
*get,I,elem,21,smisc,2
/com Electric current drawn from the generator I = %I%, Amps
/com
*get,P,elem,21,nmisc,1
/com Output power P = %P%, watts
/com
/com Coefficient of thermal efficiency beta = %P/Qh%
/com ---------------------------------------------------
The KEYOPT settings activate the piezoelectric degrees of freedom, displacements and VOLT. For SOLID5
and SOLID98, setting KEYOPT(1) = 3 activates the piezoelectric only option.
Large-deflection, stress-stiffening, and prestress effects are available (NLGEOM and PSTRES). (See the
Structural Analysis Guide and Structures with Geometric Nonlinearities in the Theory Reference for more
information about these capabilities.) Elements PLANE223, SOLID226 and SOLID227 also support a linear
perturbation piezoelectric analysis.
For PLANE13, large-deflection and stress-stiffening capabilities are available for KEYOPT(1) = 7. For
SOLID5 and SOLID98, large-deflection and stress-stiffening capabilities are available for KEYOPT(1) = 3.
In addition, small-deflection stress-stiffening capabilities are available for KEYOPT(1) = 0.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Direct Coupled-Field Analysis
For a large-deflection piezoelectric analysis, use nonlinear-solution commands to specify your settings.
For general information about the commands, refer to Setting Solution Controls in the Structural Ana-
lysis Guide.
For the 3-D elements SOLID226 and SOLID227, KEYOPT(15) = 1 activates the piezoelectric perfectly
matched layers (PML) to truncate the finite element model where the outgoing waves propagate toward
infinity. Issue PMLOPT to define the normal reflection coefficients. See Example: Piezoelectric Perfectly
Matched Layers (p. 65) for an example analysis.
• For modal analysis, Block Lanczos is the recommended solver (MODOPT,LANB). The Supernode and
Subspace solvers are also allowed (MODOPT,SNODE and MODOPT,SUBSP). PCG Lanczos (MODOPT,LAN-
PCG) is not supported unless using Lev_Diff = 5 on PCGOPT.
• For damped modal analysis, the unsymmetric modal solver (MODOPT,UNSYM) is recommended.
• For static, full harmonic, or full transient analysis, select the sparse matrix (EQSLV,SPARSE) solver or the
Jacobi Conjugate Gradient (EQSLV,JCG) solver. The sparse solver is the default for static and full transient
analyses. Depending on the chosen system of units or material property values, the assembled matrix
may become ill-conditioned. When solving ill-conditioned matrices, the JCG iterative solver may converge
to the wrong solution. The assembled matrix typically becomes ill-conditioned when the ratios of the
magnitudes of the structural degree of freedom and electrical degree of freedom become very large (more
than 1e15).
• For transient analyses, specify ALPHA = 0.25, DELTA = 0.5, and THETA = 0.5 on TINTP.
• A linear perturbation piezoelectric analysis is available only with PLANE223, SOLID226, and SOLID227
elements.
• For PLANE13, SOLID5, and SOLID98, and also PLANE223, SOLID226, and SOLID227 with KEYOPT(1)=101,
the force label for the VOLT degree of freedom is AMPS. For PLANE223, SOLID226, and SOLID227 with
KEYOPT(1)=1001, the force label for the VOLT degree of freedom is CHRG. Use these labels in F, CNVTOL,
RFORCE, etc.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
• The capability to model structural losses using the anisotropic viscosity (TB,AVIS) or the elastic loss tangent
(TB,ELST) is available only for PLANE223, SOLID226, and SOLID227.
• The capability to model dielectric losses using the dielectric loss tangent property (MP,LSST or TB,DLST)
is available only for PLANE223, SOLID226, and SOLID227.
• The capability to model resistive losses (MP,RSVX/Y/Z) is available in a transient current-based piezoelectric
analysis using elements PLANE223, SOLID226, and SOLID227 with KEYOPT(1) = 101.
• The Coriolis effect capability is available only for PLANE223, SOLID226, and SOLID227. For information on
how to include this effect, see Rotating Structure Analysis. For a sample analyses, see Example: Piezoelectric
Analysis with Coriolis Effect (p. 40).
• If a model has at least one piezoelectric element, then all the coupled-field elements with structural and
VOLT degrees of freedom must be of piezoelectric type. If the piezoelectric effect is not desired in these
elements, simply define very small piezoelectric coefficients on TB.
• Mode-superposition transient and harmonic analyses are available with the following conditions:
– For voltage excitation (D,,VOLT), use the enforced motion procedure. For an example, see Example:
Mode-Superposition Piezoelectric Analysis (p. 45).
– For electric charge excitation (F,,CHRG, SF,,CHRGS, or BF,,CHRGD), create a load vector during the
modal analysis and scale it during the mode-superposition analysis (LVSCALE). The residual response
method is strongly recommended for electric charge excitation.
– Use a sufficient number of modes to obtain an accurate voltage solution. The upper frequency times
two for the modal base may be insufficient. In general, as the number of modes increases, the conver-
gence of the voltage solution is slower than the convergence of the displacement solution, especially
far from the resonance frequencies.
– Mode superposition analysis does not support the following forms of damping: electrical resistivity
(MP,RSVX, RSVY and RSVZ), electric loss tangent (MP,LSST) anisotropic viscosity (TB,AVIS), anisotropic
elastic loss tangent (TB,ELST), and anisotropic dielectric loss tangent (TB,DLST).
– If you are interested in results such as electric fields (Item = EF on PRNSOL, PLNSOL, PRESOL, or
PLESOL) or charges (Item = CHRG on PRESOL or PLESOL), request an expansion which is not based
on modal elements results by specifying MSUPkey = NO on MXPAND.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Direct Coupled-Field Analysis
Note:
If you enter permittivity values less than 1 for SOLID5, PLANE13, or SOLID98, the program
interprets the values as absolute permittivity.
For PLANE223, SOLID226, and SOLID227, you can specify permittivity either as PERX, PERY, PERZ
on MP or by specifying the terms of the anisotropic permittivity matrix via TB,DPER and TBDATA.
If you use MP to specify permittivity, the permittivity input is interpreted as permittivity at constant
strain. If you use TB,DPER (Main Menu> Preprocessor> Material Props> Material Models> Elec-
tromagnetics> Relative Permittivity> Anisotropic), you can specify the permittivity matrix at
constant strain [εS] (TBOPT = 0) or at constant stress [εT] (TBOPT = 1). The latter input will be in-
ternally converted to permittivity at constant strain [εS] using the piezoelectric strain and stress
matrices. The values input on either MP,PERX or TB,DPER are always interpreted as relative permit-
tivity.
Note:
The program converts a piezoelectric strain matrix [d] matrix to a piezoelectric stress
matrix [e] using the elastic matrix at the first defined temperature. To specify the elastic
matrix required for this conversion, issue TB,ANEL (not MP).
This 6 x 3 matrix (4 x 2 for 2-D models) relates the electric field to stress ([e] matrix) or to strain ([d]
matrix). Both the [e] and the [d] matrices use the data table input described below:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
To define the piezoelectric matrix via the GUI, use the following:
For most published piezoelectric materials, the order used for the piezoelectric matrix is x, y, z, yz,
xz, xy, based on IEEE standards (see ANSI/IEEE Standard 176–1987), while the input order is x, y, z,
xy, yz, xz as shown above. This means that you need to transform the matrix to the input order by
switching row data for the shear terms as shown below:
Note:
This section follows the IEEE standard notation for the elastic coefficient matrix [c].
The matrix is also referred to as [D].
The elastic coefficient matrix uses the following data table input:
Issue TB,ANEL (Main Menu> Preprocessor> Material Props> Material Models> Structural> Linear>
Elastic> Anisotropic) and TBDATA to define the coefficient matrix [c] (or [s], depending on the
TBOPT settings). As for the piezoelectric matrix, most published piezoelectric materials use a different
order for the [c] matrix. Transform the IEEE matrix to the input order by switching row and column
data for the shear terms, as shown:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Direct Coupled-Field Analysis
• IEEE terms [c61, c62, c63, c66] would be input as the xy row
• IEEE terms [c41, c42, c43, c46, c44] would be input as the yz row
• IEEE terms [c51, c52, c53, c56, c54, c55] would be input as the xz row
An alternative to the [c] matrix is to specify Young's modulus (MP,EX) and Poisson's ratio (MP,NUXY)
and/or shear modulus (MP,GXY). To specify any of these via the GUI, use the following:
1. For each temperature-dependent coefficient, issue this command to declare and dimension the table
array parameter Par with the TEMP primary variable:
*DIM,Par,TABLE,,,,TEMP
2. For each temperature-dependent coefficient, define the temperature dependence by specifying the
table array values. Various ways of specifying the array entries are described in Specifying Array Element
Values in the ANSYS Parametric Design Language Guide.
3. Define the table for the specific material (TB,ANEL for elastic, TB,PIEZ for piezoelectric, or TB,DPER for
dielectric permittivity) with TBOPT = 0.
4. Input the coefficients using TBDATA. For those coefficients defined by tabular input, enclose the table
array parameter name within % characters:
TBDATA,STLOC,%Par%
In this example, temperature-dependence is specified for the piezoelectric coefficients e11 and e14
of quartz.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
*dim,e11_T,table,2,,,temp
e11_T(1,0)= 0,100 ! temperature range
e11_T(1,1)= e11_0,e11_100 ! e11(t)
*dim,ne11_T,table,2,,,temp
ne11_T(1,0)= 0,100 ! temperature range
ne11_T(1,1)= -e11_0,-e11_100 ! -e11(t)
*dim,e14_T,table,2,,,temp
e14_T(1,0)= 0,100 ! temperature range
e14_T(1,1)= e14_0,e14_100 ! e14(t)
*dim,ne14_T,table,2,,,temp
ne14_T(1,0)= 0,100 ! temperature range
ne14_T(1,1)= -e14_0,-e14_100 ! -e14(t)
For more information, see Defining Linear Material Properties Using Tabular Input in the Material
Reference.
Structural losses can be accounted for by specifying material damping properties. (See Material-De-
pendent Alpha and Beta Damping (Rayleigh Damping) and Material-Dependent Structural Damping
in the Material Reference.)
For PLANE223, SOLID226, and SOLID227, you can also specify anisotropic structural damping in the
form of:
For the same elements, you can specify the following electrical losses:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Direct Coupled-Field Analysis
• Anisotropic dielectric loss tangent (TB,DLST) in charge-based harmonic and modal analyses
As shown in Figure 2.6: Piezoelectric Bimorph Beam (p. 36), this is a 2-D analysis of a bimorph
mounted as a cantilever. The top surface has ten identical electrode patches and the bottom surface
is grounded.
In the actuator simulation, perform a linear static analysis. For an applied voltage of 100 Volts along
the top surface, determine the beam tip deflection. In the sensor simulation, perform a large-deflec-
tion static analysis. For an applied beam tip deflection of 10 mm, determine the electrode voltages
(V1, V2, ... V10) along the beam.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
Piezoelectric strain coefficients (d31) = 2.2e-11 C/N, (d32) = 0.3e-11 C/N, and (d33) = -3.0e-
11 C/N
Relative permittivity at constant stress (ε33)T = 12
2.3.4.3. Results
Actuator Mode
This deflection is close to the theoretical solution determined by the following formula (J.G. Smits,
S.I. Dalke, and T.K. Cooney, “The constituent equations of piezoelectric bimorphs,” Sensors and Ac-
tuators A, 28, pp. 41–61, 1991):
Uy = -3(d31)(V)(L)2/8(H)2
Sensor Mode
Electrode voltage results for a 10 millimeter beam tip deflection are shown in Table 2.10: Electrode
1-5 Voltages (p. 37) and Table 2.11: Electrode 6-10 Voltages (p. 37). They are in good agreement
with those reported by W.-S. Hwang and H.C. Park (“Finite Element Modeling of Piezoelectric Sensors
and Actuators,” American Institute of Aeronautics and Astronautics, Vol. 31, No.5, pp. 930-937, 1993).
Electrode 1 2 3 4 5
Volts 295.2 266.7 235.3 203.8 172.3
Electrode 6 7 8 9 10
Volts 140.9 109.5 78.2 47.1 18.2
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Direct Coupled-Field Analysis
/batch,list
/title, Static Analysis of a Piezoelectric Bimorph Beam
/nopr
/com,
/PREP7
!
! Define problem parameters
!
! - Geometry
!
L=100e-3 ! Length, m
H=0.5e-3 ! One-layer thickness, m
!
! - Loading
!
V=100 ! Electrode voltage, Volt
Uy=10.e-3 ! Tip displacement, m
!
! - Material properties for PVDF
!
E1=2.0e9 ! Young's modulus, N/m^2
NU12=0.29 ! Poisson's ratio
G12=0.775e9 ! Shear modulus, N/m^2
d31=2.2e-11 ! Piezoelectric strain coefficients, C/N
d32=0.3e-11
d33=-3.0e-11
ept33=12 ! Relative permittivity at constant stress
!
! Finite element model of the piezoelectric bimorph beam
!
local,11 ! Coord. system for lower layer: polar axis +Y
local,12,,,,,180 ! Coord. system for upper layer: polar axis -Y
csys,11 ! Activate coord. system 11
rect,0,L,-H,0 ! Create area for lower layer
rect,0,L, 0,H ! Create area for upper layer
aglue,all ! Glue layers
esize,H ! Specify the element length
!
et,1,PLANE223,1001,,0 ! 2-D piezoelectric element, plane stress
! -------------------------------------------------------------------------
! Alternative element type and material input
!
!et,1,PLANE13,7,,2 ! 2-D piezoelectric element, plane stress
!
!mp,EX,1,E1 ! Elastic properties
!mp,NUXY,1,NU12
!mp,GXY,1,G12
!
!tb,PIEZ,1 ! Piezoelectric stress matrix
!tbda,2,0.2876e-1
!tbda,5,-0.5186e-1
!tbda,8,-0.7014e-3
!
!mp,PERX,1,11.75 ! Permittivity at constant strain
! -------------------------------------------------------------------------
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
type,1 $ esys,11
amesh,1 ! Generate mesh within the lower layer
type,1 $ esys,12
amesh,3 ! Generate mesh within the upper layer
!
nsel,s,loc,x,L
*get,ntip,node,0,num,min ! Get master node at beam tip
!
nelec = 10 ! Number of electrodes on top surface
*dim,ntop,array,nelec
l1 = 0 ! Initialize electrode locations
l2 = L/nelec
*do,i,1,nelec ! Define electrodes on top surface
nsel,s,loc,y,H
nsel,r,loc,x,l1,l2
cp,i,volt,all
*get,ntop(i),node,0,num,min ! Get master node on top electrode
l1 = l2 + H/10 ! Update electrode location
l2 = l2 + L/nelec
*enddo
nsel,s,loc,y,-H ! Define bottom electrode
d,all,volt,0 ! Ground bottom electrode
nsel,s,loc,x,0 ! Clamp left end of bimorph
d,all,ux,0,,,,uy
nsel,all
fini
/SOLU ! Actuator simulation
antype,static ! Static analysis
*do,i,1,nelec
d,ntop(i),volt,V ! Apply voltages to top electrodes
*enddo
solve
Uy_an = -3*d31*V*L**2/(8*H**2) ! Theoretical solution
/com,
/com, Actuator mode results:
/com, - Calculated tip displacement Uy = %uy(ntip)% (m)
/com, - Theoretical solution Uy = %Uy_an% (m)
fini
/SOLU ! Sensor simulation
antype,static,new
*do,i,1,nelec
ddele,ntop(i),volt ! Delete applied voltages
*enddo
d,ntip,uy,Uy ! Apply displacement to beam tip
nlgeom,on ! Activate large deflections
nsubs,2 ! Set number of substeps
cnvtol,F,1.e-3,1.e-3 ! Set convergence for force
cnvtol,CHRG,1.e-8,1.e-3 ! Set convergence for charge
!cnvtol,AMPS,1.e-8,1.e-3 ! Use AMPS label with PLANE13
solve
fini
/POST1
/com,
/com, Sensor mode results:
*do,i,1,nelec
/com, - Electrode %i% Voltage = %volt(ntop(i))% (Volt)
*enddo
/com,
/view,,1,,1 ! Set viewing directions
/dscale,1,1 ! Set scaling options
pldisp,1 ! Display deflected and undeflected shapes
path,position,2,,100 ! Define path name and parameters
ppath,1,,0,H ! Define path along bimorph length
ppath,2,,L,H
pdef,Volt,volt,,noav ! Interpolate voltage onto the path
pdef,Uy,u,y ! Interpolate displacement onto the path
/axlab,x, Position (m)
/axlab,y, Electrode Voltage (Volt)
plpath,Volt ! Display electrode voltage along the path
/axlab,y, Beam Deflection (m)
plpath,Uy ! Display beam deflection along the path
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Direct Coupled-Field Analysis
The tuning fork is excited into an in-plane vibration by an applied alternating voltage. When the
tuning fork is rotated about the axis parallel to the tines (Y-axis) with an angular velocity Ω, the
Coriolis effect produces a torque proportional to Ω. Converted to an electric output signal, the
amplitude of the out-of-plane vibration can be used to sense the rotational velocity in angular ve-
locity sensors.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
A QR-damped modal analysis (MODOPT,QRDAMP) of the rotating tuning fork is performed to de-
termine the shift in the eigenfrequencies due to Coriolis and spin-softening effects. The Coriolis
effect is activated in a rotating reference frame via CORIOLIS,ON,,,OFF. Angular velocity is specified
via OMEGA.
A harmonic analysis is also performed to demonstrate the effect of Coriolis force in the vicinity of
the 4th resonance.
Material property inputs for quartz are: elastic coefficients, piezoelectric coefficients, dielectric
constants, and density (Bechmann, R., “Elastic and Piezoelectric Constants of Alpha-Quartz,” Physical
Review, v.110, pp. 1060-1061 (1958)).
Angular velocity (Ω) = 1e4 rad/s (Ω is typically around 1 rad/s for gyroscopes. It is greatly
exaggerated here to show the out-of-plane motion in the animation.)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Direct Coupled-Field Analysis
2.3.5.3. Results
Eigenfrequencies are shown in the following table. Spin-softening effects are included by default
in dynamic analyses when the Coriolis effect is enabled (CORIOLIS,ON).
To expand the corresponding complex mode shapes, you set the Cpxmod argument on MODOPT
to ON and issue MXPAND.
The in-plane and out-of-plane vibrations in the vicinity of the 4th resonance are shown in the fol-
lowing animation. View the animation online if you are reading the PDF version of the help.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
pi = 4*atan(1)
/VIEW,1,1,1,1
/TRIAD,lbot
/PREP7
! == Material parameters
! -- Elastic coefficients, MPa
c11 = 86.74e3
c12 = 6.99e3
c13 = 11.91e3
c14 = 17.91e3
c33 = 107.2e3
c44 = 57.94e3
tb,ANEL,1
tbdata, 1, c11, c12, c13, 0, c14, 0
tbdata, 7, c11, c13, 0,-c14, 0
tbdata,12, c33, 0, 0, 0
tbdata,16, (c11-c12)/2, 0, c14
tbdata,19, c44, 0
tbdata,21, c44
! -- Dielectric constants
emunit,EPZRO,8.854e-6 ! pF/um
mp,PERx,1, 4.43
mp,PERy,1, 4.43
mp,PERz,1, 4.63
! -- Density, kg/um3
mp,DENS,1,2649e-18
! == Dimensions, um
! == FE Model
! -- Keypoints
k, 1, 0, 0 , -thick/2
k, 2, 0, leng_TF-leng_tin , -thick/2
k, 3, x_t_in, 0 , -thick/2
k, 4, x_t_in, leng_TF-leng_tin , -thick/2
k, 5, x_t_in, leng_TF , -thick/2
k, 6, x_t_out, 0 , -thick/2
k, 7, x_t_out, leng_TF-leng_tin , -thick/2
k, 8, x_t_out, leng_TF , -thick/2
! -- Areas
a,1,3,4,2
a,3,6,7,4
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Direct Coupled-Field Analysis
a,4,7,8,5
! -- Lines
lesize, 5,,, 4, ! X, tines
*repeat,3,2
lesize, 1,,, 2, ! X, between tines
lesize, 3,,, 2,
lesize, 8,,, 14, 3 ! Y, tines
lesize,10,,, 14, 1/3
lesize, 2,,, 8, -2 ! Y, base
*repeat,3,2
*get,n_lin,LINE,,count ! number of lines
lgen,2,1, n_lin, 1,,, thick,20 ! generate top layer lines
l,1,21, 4, ! thickness direction
*repeat,8,1,1
! -- Volumes
v, 1, 3, 4, 2, 21, 23, 24, 22
v, 3, 6, 7, 4, 23, 26, 27, 24
v, 4, 7, 8, 5, 24, 27, 28, 25
v,101,103,104,102, 121,123,124,122
v,103,106,107,104, 123,126,127,124
v,104,107,108,105, 124,127,128,125
vplot
nummrg,kp
! -- Mesh
type,1
vmesh,all
! == Define electrodes
delta=20 ! separation between electrodes and edge
! -- Loaded electrode
nsel,s,loc,x, x_t_in+delta, x_t_out-delta ! top/bottom right tine
nsel,u,loc,z, -thick/2+1, thick/2-1
nsel,a,loc,x, -x_t_out-1, -x_t_out+1 ! sides of left tine
nsel,a,loc,x, -x_t_in-1, -x_t_in+1
nsel,r,loc,y, leng_TF-leng_tin-1, leng_TF-leng_tin*0.45 ! select tine-nodes
cp,1,volt,all
n_load=ndnext(0) ! get master node on loaded electrode
! -- Ground electrode
nsel,s,loc,x, -x_t_out+delta, -x_t_in-delta ! top/bottom left tine
nsel,u,loc,z, -thick/2+1, thick/2-1
nsel,a,loc,x, x_t_out-1, x_t_out+1 ! sides of right tine
nsel,a,loc,x, x_t_in-1, x_t_in+1
nsel,r,loc,y, leng_TF-leng_tin-1, leng_TF-leng_tin*0.45 ! select tine-nodes
cp,2,volt,all
n_ground=ndnext(0) ! get master node on ground electrode
nsel,all
! == Solution
/SOLU
! -- Structural constraints
nsel,s,loc,y
d,all,ux,0,,,,uy,uz
nsel,all
! -- Ground electrode
d,n_ground,volt,0 ! ground
! -- Loaded electrode
d,n_load,volt,1 ! apply 1 Volt
! == Modal analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
/SOLU
antype,modal
modopt,QRDAMP,4 ! use damped eigensolver
solve
fini
! ==Harmonic analysis
/SOLU
antype,harm
dmprat,0.02 ! specify structural damping ratio of 2%
harfrq,,32768
outres,all,all
solve
fini
/POST1
set,1,1
/dscale,1,6
plns,uz
anharm ! animate complex displacements
fini
As voltage is applied along the upper layer of the piezoelectric part, the beam oscillates and gen-
erates airflow.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Direct Coupled-Field Analysis
Piezoelectric strain coefficients (d31) = 2.2 x 10-11 C/N, (d32) = 0.3 x 10-11 C/N, and (d33) =
-3.0 x 10-11 C/N
Relative permittivity at constant stress (ε33)T = 12
The geometric properties are:
2.3.6.3. Results
The volt solution and the animation of the vibration in the vicinity of the 1st resonance frequency
are shown in the following figures. View the animation online if you are using the PDF version of
this document.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
The evolution of the tip deflection with respect to the frequency is shown below.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Direct Coupled-Field Analysis
!
! Finite element model of the piezoelectric bimorph beam
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
!
local,11 ! Coord. system for lower layer: polar axis +Y
local,12,,,,,180 ! Coord. system for upper layer: polar axis -Y
csys,11 ! Activate coord. system 11
rect,0,L,-H,0 ! Create area for lower layer
rect,0,L, 0,H ! Create area for upper layer
aglue,all ! Glue layers
esize,H ! Specify the element length
mp,dens,1,1000
type,1 $ esys,11
amesh,1 ! Generate mesh within the lower layer
type,1 $ esys,12
amesh,3 ! Generate mesh within the upper layer
!
! Finite element of the "fan" from L/4 to L
!
et,2,182
mp,ex,2,.1e12
mp,dens,2,1000
mp,prxy,2,0.3
csys,0
nsel,s,loc,x,L/4,L
esln
emod,all,type,2
emod,all,mat,2
allsel
!
! Boundary conditions
!
nsel,s,loc,y,-H
nsel,r,loc,x,0,L/4
d,all,volt,0
allsel
nsel,s,loc,x,0
d,all,ux,0
d,all,uy,0
nsel,all
finish
!
! Modal Analysis
!
/solu
antype,modal
modopt,lanb,12
mxpand,12
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Direct Coupled-Field Analysis
allsel
solve
finish
!
! MSUP Harmonic Analysis
!
/solu
antype,harm
hropt,msup
harfrq,10,450
nsub,500
kbc,1
dmprat,0.02
dval,1,u,100.0 ! Use the enforced motion load vector #1 - scaling = 100.0
solve
finish
!
! Expansion Pass
!
/solu
expass,on
numexp,all
solve
finish
!
! Postprocessing
!
/post1
set,1,20
plnsol,volt
plnsol,u,y
anharm
finish
/post26
nsol,3,node(L,0,0),u,y,uytip
plcplx,0
/grop,logy,1
plvar,3
finish
This example demonstrates a harmonic piezoelectric analysis of a quartz plate with viscous structural
damping and dielectric loss tangent.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
To approximate the deformation of the thickness-shear vibration, the plate is evenly meshed with
the piezoelectric option (KEYOPT(1) = 1001) of element SOLID226 as shown in the figure below,
with four elements along the thickness.
The material orientation corresponding to the AT-cut of quartz is achieved by specifying the element
coordinate system (ESYS attribute for SOLID226) based on a local coordinate system (LOCAL) rotated
by a -35.25 degree angle about axis X.
The electrodes are considered infinitesimally thin and are modeled by coupling VOLT degrees-of-
freedom on the major surfaces of the plate. The driving AC voltage is applied to the master node
of one of the coupled sets, while the other electrode is grounded.
A time harmonic analysis is performed in the 0.1 MHz vicinity of the thickness-shear mode resonance
which, for an infinitely long and wide plate, is at fr = 1.666 MHz.
Structural and electric losses are introduced in the analysis by specifying the anisotropic viscosity
matrix (TB,AVIS) and the dielectric loss tangent coefficients (TB,DLST).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
Direct Coupled-Field Analysis
1. Ballato A. (2008) Basic Material Quartz and Related Innovations. In: Piezoelectricity. Springer Series in
Materials Science, vol 114. Springer, Berlin, Heidelberg
Length (l) = 20 mm
Width (w) = 6 mm
Thickness (t) = 1 mm
The loading for this problem is:
Voltage (V) = 1 V
2.3.7.3. Results
For an AT-cut quartz plate of given dimensions, the resonance and antiresonance frequencies of
the thickness-shear mode (shown in the figure below) are determined to be fr = 1.664 MHz and fa
= 1.668 MHz, respectively.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
The plate admittance Y is calculated from the reaction charge Q at the master node of the loading
electrode as Y = 2πfQ/V and is shown in the figure below:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
Direct Coupled-Field Analysis
The harmonic analysis results are post-processed at the resonance and antiresonance frequencies
to calculate the quality factor Q and the electromechanical coupling coefficient k using the element
energy records (NMISC records 1, 2, and 3), as shown in Equation 10.81 and Equation 10.83 of the
Mechanical APDL Theory Reference. The results are summarized here:
! - Density, kg/m**3
rho = 2649
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
! Plate dimensions
l=2e-2 ! m
w=0.6e-2
t=0.1e-2
! Voltage load
V=1 ! V
/PREP7
tb,ANEL,1,,,0 ! Anisotropic elasticity table
tbda,1,c11,c12,c13,,c14
tbda,7,c11,c13,,-c14
tbda,12,c33
tbda,16,c66,,c14
tbda,19,c44
tbda,21,c44
eps0=8.854e-12
emunit,epzro,eps0
tb,DPER,1,,,0 ! Permittivity table
tbda,1,ep11/eps0,ep11/eps0,ep33/eps0
mp,DENS,1,rho ! Density
local,11
block,0,l,0,t,0,w
et,1,226,1001 ! Piezoelectric analysis option
esize,t/4
csys,11
mat,1 $ type,1 $ esys,12
vmesh,1
! Electrodes
nsel,s,loc,y,0
cp,1,volt,all
ng=ndnext(0)
nsel,s,loc,y,t
cp,2,volt,all
nd=ndnext(0)
nsel,all
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
Direct Coupled-Field Analysis
d,ng,volt,0
eplot
fini
f1=1.56e6
f2=1.76e6
nsbs=100
/solve
antype,harmonic
harfrq,f1,f2
nsub,nsbs
outres,all,all
kbc,1
d,nd,volt,V
solve
fini
! Calculate energies
etab,Ue_e,nmisc,1 ! Store element elastic energy
etab,Ud_e,nmisc,2 ! Store element dielectric energy
etab,Um_e,nmisc,3 ! Store element mutual energy
ssum ! Sum element energies
*get,Ue,ssum,,item,Ue_e
*get,Ud,ssum,,item,Ud_e
*get,Um,ssum,,item,Um_e
/com,
/com, *** Coupling coefficient k = %k% at resonance
/com,
! Calculate losses
set,,,,1,fr
etab,Ue_e,nmisc,1 ! Store element elastic loss
etab,Ud_e,nmisc,2 ! Store element dielectric loss
ssum ! Sum element losses
*get,UeIm,ssum,,item,Ue_e
*get,UdIm,ssum,,item,Ud_e
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
/com,
/com, *** Quality factor Q = %Q% at resonance
/com,
! Calculate energies
etab,Ue_e,nmisc,1 ! Store element elastic energy
etab,Ud_e,nmisc,2 ! Store element dielectric energy
etab,Um_e,nmisc,3 ! Store element mutual energy
ssum ! Sum element energies
*get,Ue,ssum,,item,Ue_e
*get,Ud,ssum,,item,Ud_e
*get,Um,ssum,,item,Um_e
/com,
/com, *** Coupling coefficient k = %k% at antiresonance
/com,
! Calculate losses
set,,,,1,fa
etab,Ue_e,nmisc,1 ! Store element elastic loss
etab,Ud_e,nmisc,2 ! Store element dielectric loss
ssum ! Sum element losses
*get,UeIm,ssum,,item,Ue_e
*get,UdIm,ssum,,item,Ud_e
/com,
/com, *** Quality factor Q = %Q% at antiresonance
/com,
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
Direct Coupled-Field Analysis
The bottom surface of the disc is simply supported (UZ = 0 at Z = 0) and the bottom electrode is
grounded (VOLT degree of freedom set to 0).
A modal analysis is performed for the first six modes to identify the radial mode and calculate its
characteristics. To include electric losses (dielectric loss tangent) in the simulation, the UNSYM
modal solver (MODOPT,UNSYM) is chosen. Element results are turned on (MXPAND,,,,YES) to allow
the calculation of energies. Two electrical configurations are explored – closed circuit (top electrode
VOLT degree of freedom set to zero) and open circuit (top electrode VOLT degree of freedom is
unconstrained). The first configuration corresponds to the piezoelectric resonance, and the second
one to the piezoelectric antiresonance.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
1. Berlincourt D., Jaffe H. (1958) Elastic and piezoelectric coefficients of single-crystal barium titanate.
Phys. Rev., vol 111. pp. 143-148
2. Rehrig P. W., Trolier-McKinstry S., Park S.-E., and Messing G.L. (2000) Dielectric and Electromechan-
ical Properties of Barium Titanate Single Crystal Grown by Templated Grain Growth. IEEE Trans.
Ultrason., Ferroelectr., Freq. Control, vol. 47, no. 4, pp. 895-902
2.3.8.3. Results
The fourth eigensolution was identified as a radial mode after visual inspection of the mode shapes
(PLDISP,1) following the resonance modal analysis. The disc deformations corresponding to the
resonance and antiresonance frequencies are shown in the following figures.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
Direct Coupled-Field Analysis
The modal analysis results are further post-processed to calculate two important characteristics of
the piezoelectric vibrations – the quality factor Q and the electromechanical coefficient k. These
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
parameters, along with the effective dielectric loss tangent, are summarized here for the resonance
and the antiresonance of the radial mode:
The quality factor Q is calculated first using the real and imaginary part of the eigenfrequency (see
Equation 10–82 in the Theory Reference) and then using the real (stored energy) and imaginary
(loss) parts of the element elastic (NMISC,1) and dielectric (NMISC,3) energy records (see Equation
10–81 in the Theory Reference). It is demonstrated that both methods produce the same value of
Q.
The electromechanical coupling coefficient k is calculated using the element elastic (NMISC,1),
dielectric (NMISC,2), and mutual (NMISC,3) energy records (see Equation 10–83 in the Theory Refer-
ence). The calculated value of k for the antiresonance frequency closely agrees with the electromech-
anical coupling factor estimate using the resonance and antiresonance frequencies =
0.413.
The effective dielectric loss tangent tand is calculated as a ratio of imaginary (loss) and real (stored
energy) element dielectric energy record (NMISC,2).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
Direct Coupled-Field Analysis
! density
rho=6020
/nopr
/PREP7
et,1,SOLID226,1001
emunit,epzro,eps0 ! Free-space permittivity
tb,dper,1,,,,1
tbdata,1,epT11,epT11,epT33
tblist,all,all
mp,dens,1,rho
cyl4,,,0,0,E,90,D
cyl4,,,0,90,E,180,D
cyl4,,,0,180,E,270,D
cyl4,,,0,270,E,360,D
cyl4,,,e,0,A,90,D
cyl4,,,e,90,A,180,D
cyl4,,,e,180,A,270,D
cyl4,,,e,270,A,360,D
vglue,all
esize,2*D
vmesh,all
finish
/prep7
nsel,s,loc,x,0
d,all,ux
nsel,s,loc,y,0
d,all,uy
nsel,s,loc,z
d,all,uz
nsel,all
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
nsel,s,loc,z,D
nsel,r,loc,x,0,E
cp,2,volt,all ! top electrode
*get,n_load,node,0,num,min ! get master node on top electrode
nsel,all
csys,0
! Radial mode
set,1,4 ! real solution for mode 4
plnsol,u,sum ! plot displacement
! Calculate energies
etab,Ue_e,nmisc,1 ! store element elastic energy
etab,Ud_e,nmisc,2 ! store element dielectric energy
etab,Um_e,nmisc,3 ! store element mutual energy
ssum ! sum element energies
*get,Ue,ssum,,item,Ue_e
*get,Ud,ssum,,item,Ud_e
*get,Um,ssum,,item,Um_e
! Calculate losses
set,1,4,,1 ! imaginary solution for mode 4
etab,Ue_e,nmisc,1 ! store element elastic loss
etab,Ud_e,nmisc,2 ! store element dielectric loss
ssum ! sum element losses
*get,UeIm,ssum,,item,Ue_e
*get,UdIm,ssum,,item,Ud_e
/com,
/com, *** Resonance:
/com, - damped frequency dfrq = %f4r_Im% Hz
/com, - stability stab = %f4r_Re% Hz
/com, - Q-factor (eigenfrequencies) Q1 = %Q1%
/com, - Q-factor (energy) Q2 = %Q2%
/com, - Electromechanical coupling (energy) k =%k%
/com, - Effective dielectric loss tangent tand = %tand%
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
Direct Coupled-Field Analysis
/com,
fini
! Calculate energies
etab,Ue_e,nmisc,1 ! store element elastic energy
etab,Ud_e,nmisc,2 ! store element dielectric energy
etab,Um_e,nmisc,3 ! store element mutual energy
ssum ! sum element energies
*get,Ue,ssum,,item,Ue_e
*get,Ud,ssum,,item,Ud_e
*get,Um,ssum,,item,Um_e
! Coupling coefficient
k=abs(Um)/sqrt(Ue*Ud)
! Calculate losses
set,1,4,,1 ! imaginary solution for mode 4
etab,Ue_e,nmisc,1 ! store element elastic loss
etab,Ud_e,nmisc,2 ! store element dielectric loss
ssum ! sum element losses
*get,UeIm,ssum,,item,Ue_e
*get,UdIm,ssum,,item,Ud_e
/com,
/com, *** Antiresonance:
/com, - damped frequency dfrq = %f4a_Im% Hz
/com, - stability stab = %f4a_Re% Hz
/com, - Q-factor (eigenfrequencies) Q1 = %Q1%
/com, - Q-factor (energy) Q2 = %Q2%
/com, - Electromechanical coupling (energy) k =%k%
/com, - Effective dielectric loss tangent tand = %tand%
/com,
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
The piezoelectric substrate is surrounded by a piezoelectric perfectly matched layer (PML) to reduce
the wave reflection from the boundary.
The electrodes are modeled using the SOLID186 structural element type. Both piezoelectric do-
mains—the substrate and the PML—are modeled using the piezoelectric analysis option (KEYOPT(1)
= 1001) of SOLID226. In addition, KEYOPT(15) is set to 1 for the piezoelectric PML layer. PMLOPT
command defines the normal reflection coefficients.
A harmonic analysis is performed at 921 MHz to determine the displacement and potential distri-
butions in the piezoelectric substrate.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
Direct Coupled-Field Analysis
Piezoelectric stress coefficients: (e13) = -4.1 C/m2, (e23) = -4.1 C/m2, (e33) = 14.1 C/m2, (e52)
= 10.5 C/m2, (e61) = 10.5 C/m2
Piezoelectric anisotropic elastic coefficients: (d11) = 13.2×1010 N/m2, (d21) = 7.1×1010 N/m2,
(d22) = 13.2×1010 N/m2, (d31) = 7.3×1010 N/m2, (d32) = 7.3×1010 N/m2, (d33) = 11.5×1010
N/m2, (d44) = 3.0×1010 N/m2, (d55) = 2.6×1010 N/m2, (d66) = 2.6×1010 N/m2
Electrode width = 1 µm
Electrode height = 0.2 µm
Piezoelectric substrate thickness = 4 µm
Piezoelectric PML layer thickness = 2 µm
Model depth = 0.2 µm
Electrode voltage = 1 V
2.3.9.3. Results
The nodal displacement and voltage amplitude solutions under the operating frequency are shown
below.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
/nopr
pi=acos(-1)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
Direct Coupled-Field Analysis
! Permittivities
ep11 = 402.078
ep22 = 402.078
ep33 = 329.794
/prep7
! Geometry
wpcsys,-1,0
wpoffs,-prd/4
block,-w_elctrd/2,w_elctrd/2,,t_elctrd,,d
vgen,2,all,,,prd/2
wpcsys,-1,0
block,-prd/2,prd/2,,-t_sbstrt,,d
vglue,all
vsel,s,loc,y,0,t_elctrd
vatt,1,1,1
vsel,inve
vatt,2,2,2,11
allsel
cm,keep_v,volu
vsel,none
block,-(prd/2+d_PML),(prd/2+d_PML),,-t_sbstrt-d_PML,,d
cm,scrap_v,volu
alls
cmsel,all
vsbv,scrap_v,keep_v,,dele,keep
cmsel,u,keep_v
vatt,3,3,3,11
allsel
vplot
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric Analysis
cswpla,11
csys
! Electrode
! Piezoelectric substrate
tb,piez,2,,18
tbdata,1,e11,e12,e13,e21,e22,e23
tbdata,7,e31,e32,e33,e41,e42,e43
tbdata,13,e51,e52,e53,e61,e62,e63
tb,anel,2,,21,0
tbdata,1,d11,d21,d31,d41,d51,d61
tbdata,7,d22,d32,d42,d52,d62,d33
tbdata,13,d43,d53,d63,d44,d54,d64
tbdata,19,d55,d65,d66
mp,dens,2,rho
! Piezoelectric PML
tb,piez,3,,18
tbdata,1,e11,e12,e13,e21,e22,e23
tbdata,7,e31,e32,e33,e41,e42,e43
tbdata,13,e51,e52,e53,e61,e62,e63
tb,anel,3,,21,0
tbdata,1,d11,d21,d31,d41,d51,d61
tbdata,7,d22,d32,d42,d52,d62,d33
tbdata,13,d43,d53,d63,d44,d54,d64
tbdata,19,d55,d65,d66
mp,dens,3,rho
! Meshing
esize,esz
vsel,s,mat,,1,2
vsweep,all
vsel,s,mat,,3
psys,0
vsweep,all
vsel,s,mat,,1
nslv,s,1
nsel,r,loc,x,0,prd
vsel,s,mat,,2
nslv,r,1
d,all,volt,0 ! Ground electrode
allsel
vsel,s,mat,,1
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
Direct Coupled-Field Analysis
nslv,s,1
nsel,r,loc,x,0,-prd
vsel,s,mat,,2
nslv,r,1
d,all,volt,1 ! Voltage load
allsel
vlscale,all,,,1e-6,1e-6,1e-6,,,1
finish
! Harmonic analysis
/solu
pmlopt,,,1.e-4,1.e-4,1.e-4,1.e-4,1.e-4,1.e-4,yes ! Set piezoelectric PML normal reflection coefficient
antype,harm
harfrq,frqncy
solve
finish
! Postprocessing
/post1
set,1,1,,ampl
esel,s,type,,2
nsle,s,all
nsel,r,loc,x,0,-1/2
nsel,r,loc,y,0
nsel,r,loc,z,0
prnsol,u
prnsol,volt
allsel
esel,s,type,,1
esel,a,type,,2
plnsol,u,sum
plnsol,volt
finish
Possible electrostatic-structural analysis types are static, full transient, linear perturbation static, linear
perturbation modal, and linear perturbation harmonic. Static and transient analyses can be used to
determine the deformation of an electro-mechanical device under applied voltage. The linear perturb-
ation modal analysis can be used to determine the resonance frequency shift due to electrostatic
softening produced by the DC voltage bias. The linear perturbation harmonic analysis can be used to
calculate the response of the DC voltage-biased electromechanical system to a small-amplitude harmonic
electrical or mechanical load.
A similar electromechanical analysis using the reduced-order element TRANS126 is described in Elec-
tromechanical Analysis (p. 159).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
Setting KEYOPT(1) to 1001 activates the electrostatic and structural degrees of freedom, VOLT and
displacements. The analysis defaults to an electrostatic-structural analysis. A piezoelectric analysis is
activated if a piezoelectric matrix (TB,PIEZ) is specified.
1. Select a coupled-field element that is appropriate for the analysis (Elements Used in an Electrostatic-
Structural Analysis (p. 71)). Use KEYOPT(4) to model layers of elastic dielectrics or air domains.
• See the Structural Material Properties table in the PLANE223, SOLID226, and SOLID227 element descrip-
tions for details.
3. Specify electric relative permittivity (MP) as either PERX, PERY, PERZ or by specifying the terms of the
anisotropic permittivity matrix (TB,DPER).
4. Apply structural and electrical loads, initial conditions, and boundary conditions:
• Structural loads, initial conditions, and boundary conditions include displacement (UX, UY, UZ), force
(F), pressure (PRES), and force density (FORC).
• Electric loads, initial conditions, and boundary conditions include scalar electric potential (VOLT),
electric charge (CHRG), electric surface charge density (CHRGS), and electric volume charge density
(CHRGD). The electric charge load is interpreted as negative charge by default. (Electric charge is
positive if weak (load vector) coupling is implemented via KEYOPT(2) = 1. See the applicable coupled-
field element (p. 71) description for more information.)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
Direct Coupled-Field Analysis
• Analysis type can be static, full transient, linear perturbation static, linear perturbation modal, or linear
perturbation harmonic. (See Linear Perturbation Analysis in the Structural Analysis Guide for information
about this analysis procedure.)
• Specify convergence criteria for the electrical and structural degrees of freedom (VOLT and U) or forces
(CHRG and F) (CNVTOL).
• The electrostatic-structural analysis is nonlinear and requires at least two iterations to get a converged
solution.
• For problems having convergence difficulties, activate the line-search capability (LNSRCH).
• Structural results include displacements (U), total strain (EPTO), elastic strain (EPEL), thermal strain
(EPTH), and stress (S). In an analysis with material or geometric nonlinearities, structural results include
plastic yield stress (SEPL), accumulated equivalent plastic strain (EPEQ), accumulated equivalent creep
strain (CREQ), plastic yielding (SRAT), and hydrostatic pressure (HPRES).
• Electrostatic results include electric potential (VOLT), electric field (EF), and electric flux density (D).
• Use KEYOPT(11) = 1 with elements PLANE223, SOLID226, or SOLID227 to activate the u-P formulation.
This option is automatically set for hyperelastic materials.
To morph air gaps in MEMS devices, you also need to do the following:
1. Use KEYOPT(4) = 1 to apply the electrostatic force only to element nodes connected to a structure (that
is, to any element with structural degrees of freedom except for the electroelastic elements PLANE223,
SOLID226, or SOLID227 with KEYOPT(4) = 1 or KEYOPT(4) = 2).
2. For computational efficiency, use KEYOPT(4) = 1 for the air elements attached to a structure and KEYOP(4)
= 2 for the rest of the air region.
3. Assign a small elastic stiffness and a zero Poisson's ratio to the elastic air elements.
The following recommendations may help when modeling thin parallel air gaps:
EX = (Vmax/GAPmin)2(EPZRO/200)
where:
• Use a single layer of elements without midside nodes to avoid air mesh distortion. A quadrilateral mesh
that collapses uniaxially typically works best.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
• To prevent air extrusion from the gap, couple the displacement degrees of freedom perpendicular to the
motion.
• For a static load, the deformed shape and strain in the thickness direction (εz).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
Direct Coupled-Field Analysis
2.4.3.3. Results
The elastomer deformation is shown in the following animation:
The strain in the thickness direction is calculated to be -1.06e-3. That agrees with the analytical
solution obtained using the following equation from I. Diaconu, D. Dorohoi (“Properties of Polyureth-
ane Thin Films,” Journal of Optoelectronics and Advanced Materials, Vol. 7, No. 2, pp. 921–924, April
2005).
where ε0 is the free space permittivity, εr is the relative electrical permittivity, Y is Young's modulus,
E is the applied electric field, and μ is the Poisson's ratio.
For the transient load, the elastomer response frequency is twice the frequency of the driving
voltage due to the quadratic dependence of strain on the electric field.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
Direct Coupled-Field Analysis
! Loading
Ef0=7e6 ! electric field intensity, V/m
V=Ef0*t ! applied voltage, V
freq=1000 ! operating frequency, Hz
! Material properties
Y=3.6e6 ! Young modulus, Pa
mu=0.4999 ! Poisson ratio (nearly incompressible rubber)
eps=8.8 ! electrical permittivity, relative
eps0=8.854e-12 ! free-space permittivity, F/m
/VUP,1,z
/VIEW,1,1,1,1
/nopr
/PREP7
et,1,SOLID226,1001 ! 20-node brick coupled-field element
mp,EX,1,Y
mp,PRXY,1,mu
mp,PERX,1,eps
block,-l/2,l/2,-w/2,w/2,0,t
esize,t/2
vmesh,1
! Structural BC
nsel,s,loc,x,-l/2
d,all,ux,0
nsel,r,loc,y,-w/2
d,all,uy,0
nsel,r,loc,z,0
d,all,uz,0
nsel,all
! Electrical BC
nsel,s,loc,z,0
nsel,r,loc,x,-l/2,l/2
nsel,r,loc,y,-w/2,w/2
cp,1,volt,all
ng=ndnext(0) ! ground node
nsel,all
nsel,s,loc,z,t
nsel,r,loc,x,-l/2,l/2
nsel,r,loc,y,-w/2,w/2
cp,2,volt,all
nl=ndnext(0) ! load node
nsel,all
/SOLU
antype,static
cnvtol,f,1,1.e-6
d,ng,volt,0
d,nl,volt,V ! apply voltage difference
solve
fini
/POST1
pldisp,1 ! display deformed/undeformed shape
andscl ! animate deformed/undeformed shape
nsel,s,loc,x,l/2
nd=ndnext(0) ! pick node for display
nsel,r,node,,nd
prnsol,epel ! print strain
nsel,all
fini
/com **************************************************************************
/com Expected results:
epelz=-eps0*eps*Ef0**2*(1+2*mu)/(2*Y)
/com epelz=%epelz%
/com
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
/PREP7
et,2,CIRCU94,4,1 ! voltage source, negative electric charge option
r,2,,V,freq
type,2
real,2
*get,nod226,node,,count ! number of nodes
n,nod226+1
e,nl,ng,nod226+1
ddele,nl,volt
fini
/SOLU
antype,trans
time,4/freq
deltime,1/freq/20
outres,all,all
solve
fini
/POST26
nsol,2,nl,volt,,Voltage
nsol,3,npost,u,x,Ux_ansys
/axlab,x, Time (s)
/axlab,y, Applied potential (V)
plvar,2
/axlab,y, Displacement Ux (m)
plvar,3
/com **************************************************************************
/com Expected results:
/com Ux=epelx*l
/com where:
/com - epelx=sigx/Y-mu/Y*sigy-mu/Y*sigz= sigMx/Y
/com - stresses sigx=sigy=sigMx; sigz=-sigMx
/com - electric field Ef=Ef0*sin(om*t)
/com - circular frequency om=2*pi*freq
/com - Maxwell stress sigMx=eps0*eps*Ef**2/2
/com =eps0*eps*Ef0**2*(1-cos(2*om*t))/4
/com therefore:
/com Ux=eps0*eps*Ef0**2*l/(4*Y)*(1-cos(2*om*t))
/com **************************************************************************
*dim,work1,array,80
*dim,work2,array,80
filldata,4,,,,1
prod,5,1,,,,,,2*om
vget,work1(1),5
*vfun,work2(1),cos,work1(1)
vput,work2(1),6
add,7,4,6,,,,,,-1
prod,8,7,,,Ux_expec,,,epelx0
prvar,3,8
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
Direct Coupled-Field Analysis
SOLID186 structural brick elements model the beam. SOLID226 “elastic air” (KEYOPT(4) = 1) elements
of tetrahedral shape model the air below the beam. Midside nodes on the air elements are dropped
to alleviate mesh distortion. Displacement constraints are imposed on the bottom surface and sides
of the air mesh. The bottom surface of the air gap is grounded. A ramped voltage up to 178 volts
is applied to the top air surface at 10 volt solution intervals. Large-deflection and stress-stiffening
effects are enabled (NLGEOM,ON).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
Beam height = 2 µm
Beam width = 4 µm
Air gap = 2 µm
2.4.4.3. Results
The mid-span deflection is shown as a function of applied voltage in the following figure. The
maximum applied voltage of 178 volts produces a displacement of UY = -0.82 µm. Higher voltages
produce beam snap-down and a diverging solution.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
Direct Coupled-Field Analysis
/PREP7
et,1,SOLID186,,1 ! 20-node structural brick
mp,ex,1,169e3 ! MPa
mp,nuxy,1,0.066
mp,dens,1,2.329e-15 ! kg/(um)^3
block,0,l,0,tc,,w
block,0,l,-ta,0,,w
vglue,all
aslv
lsla
lsel,r,loc,x,l/2
lesize,all,,,20,,,,1 ! 20 tets along air gap bottom
lsla
lsel,r,loc,y,-ta/2
lesize,all,,,1,,,,1 ! 1 tet along beam thickness
lsla
lsel,r,loc,z,w/2
lesize,all,,,1,,,,1 ! 1 tet along beam width
type,2
mat,2
vmesh,3
/view,1,1,1,1
/number,1
/pnum,type,1
eplot
fini
/SOLU
nsel,s,loc,x,0 ! structural BC
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
nsel,a,loc,x,l
d,all,ux,0
d,all,uy,0
d,all,uz,0
nsel,s,loc,y,-ta
d,all,ux,0
d,all,uy,0
d,all,uz,0
nsel,all
nsel,s,loc,y,-ta ! electrical BC
d,all,volt,0 ! ground
nsel,s,loc,y,0
d,all,volt,V ! electrode
nsel,all
cnvtol,f,1,1e-3
deltim,10 ! 10 Volt solution interval
outres,nsol,1
neqit,50
nlgeom,on
time,V ! Time = voltage
kbc,0 ! ramped loading
solve
fini
/POST26
nsol,2,ndisp,u,y
/axlab,y,UY
/axlab,x,Voltage
prvar,2
plvar,2
fini
2.4.5.2. Results
The reference solution is calculated based on the work of W. C. Tang et al ("Electrostatic-comb drive
of lateral polysilicon resonators", Sensors and Actuators A:Physical, 21-23 (1990), 328-331). The target
electrostatic force Fe can be calculated using:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
Direct Coupled-Field Analysis
Fe = (N)(h)(Eps0)(V)2/(g + ux)
where N is the number of fingers, h is the thickness in Z, Eps0 is the free space permittivity, V is
the driving voltage, g is the initial lateral gap, and ux is the lateral displacement of the comb drive.
Parameter N h Eps0 V g
Value 1.0 10 8.854e-6 4.0 5.0
The potential distribution of the deformed comb drive is shown in Figure 2.27: Potential Distribution
on Deformed Comb Drive (p. 82).
/prep7
et,1,223,1001,,,1 ! "Elastic air" option
emunit,epzro,eps0
mp,perx,1,1
mp,ex,1,1e-7
mp,nuxy,1,0.0
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
aovlap,all
nummrg,kp
asel,s,area,,11
esize,esize
mshkey,0
amesh,all
alls
asel,s,area,,1
asel,a,area,,8
asel,a,area,,9
asel,a,area,,10
esize,esize
mshape,0,2
mshkey,1
amesh,all
alls
type,2
real,2
*get,node_num,node,,count
n,node_num+1,0.0,0.0
nsel,s,loc,x,-h
nsel,r,loc,y,0.0
*get,node0,node,,num,max
e,node0,node_num+1
alls
LSEL,s,line,,15
LSEL,a,line,,33
LSEL,a,line,,3
LSEL,a,line,,2
LSEL,a,line,,1
LSEL,a,line,,31
LSEL,a,line,,9
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 83
Direct Coupled-Field Analysis
NSLL,S,1
cm,rotor,node ! Component 'rotor'
alls
LSEL,s,line,,20
LSEL,a,line,,17
LSEL,a,line,,37
LSEL,a,line,,23
LSEL,a,line,,24
NSLL,S,1
cm,ground,node ! Component 'ground'
alls
fini
d,all,ux,0.0
fini
/solu
nlgeom,on
outres,all,all
cnvtol,f,1,1e-5
solve
fini
/post1
/out
set,last,last
*get,ux_1,node,node0,u,x
CMSEL,s,ground
/com --------------------------------------------
/com Components of electrostatic force on stator:
/com --------------------------------------------
emft
Fe=-eps0*vltg**2/(g0+ux_1)
/com,
/com, *** Expected force Fe = %Fe%
/com
/com
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
84 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
fini
SOLID226 elements with structural and electric degrees of freedom (KEYOPT(1) = 1001) coupled by
the electrostatic force are used to discretize a half-symmetry model of the actuator, as shown:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 85
Direct Coupled-Field Analysis
Fixed displacements constraints are imposed on the bottom surface of the actuator. A voltage of
10625 V is applied to the top electrode; the bottom electrode is grounded.
Actuator height = 34 mm
Actuator width = 25 mm
Electrode width = 15 mm
The elastic behavior of the silicon rubber material forming the elastomer under compression was
approximated by Yeoh’s hyperelastic model. The axial stress-strain curve reported in F. Carpi et al.
was curve-fit to a 3rd order (N = 3) Yeoh strain energy density function with the following constants:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
86 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
2.4.6.3. Results
A static voltage load is applied in 17 steps to obtain a coupled-field solution. Large-deflection and
stress-stiffening effects are enabled (NLGEOM,ON). The nonlinear solution convergence is based
on displacement, force and electric charge equilibrium, as well as volume conservation. The volume
conservation needed to characterize the fully incompressible silicon elastomer is ensured by an
automatic activation of the mixed u-P formulation (KEYOPT(11) = 1) with SOLID226.
Total axial strain was calculated as the maximum displacement of the top surface divided by the
actuator length times 100 (%):
The strain vs. voltage curve shows that compressive instability is approaching and will occur at
voltages not much higher than the ones used.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 87
Direct Coupled-Field Analysis
/prep7
! Solid model
*do,_layer,1,nlayers
rect,,W,thk*(_layer-1),thk*_layer
*enddo
*do,_i,1,nlayers/2
wpoff,W,thk
pcirc,thk,,-90,0
pcirc,thk,,0,90
*if,_i,ne,nlayers/2,then
wpoff,-W,thk
pcirc,thk,,90,180
pcirc,thk,,180,270
*endif
*enddo
nummrg,kp
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
88 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
asel,s,loc,z,W_elec/2
vext,all,,,,,W/2-W_elec/2
nummrg,kp
! Element type
et,1,226,1001 ! electrostatic-structural analysis
! Material models
mp,perx,1,perx_val
tb,hyper,1,1,3,yeoh
tbdata,1,6742.40080183932,-301.48251973889,186.326705722713,0,0,0
! Meshing
esize,4*thk
vmesh,all
*do,_yval,1,nlayers,2
nsel,s,loc,y,_yval-.1,_yval+.1
nsel,r,loc,x,0,W
nsel,r,loc,z,0,W_elec/2
d,all,volt,V
*enddo
nsel,all
! Symmetry Plane
nsel,s,loc,z,0
d,all,uz,0
nsel,all
vlscale,all,,,fscale,fscale,fscale,,,1
finish
/solu
antyp,static
kbc,0
nlgeom,on
nsub,17
autots,off
outres,all,1
time,E ! E in V/um
solve
finish
/post1
set,last
plns,s,y
*get,uy_min,plnsol,,min
uy_max=abs(uy_min)
overall_strain=-100*uy_max/(L*fscale) ! %
/post26
n_top=node(W/2,nlayers*thk,0) !
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 89
Direct Coupled-Field Analysis
nsol,2,n_top,uy
prod,3,2,,, ,,,100/(L*fscale) ! strain, %
/axlab,x,Voltage(kV)
/axlab,y,Axial Strain (percent)
plvar,3
finish
• a nonlinear static analysis to determine the beam deflection up to the pull-in voltage;
See Sample Miniature Clamped-Clamped Beam Analysis (Batch or Command Method) (p. 284) for
similar analyses performed using the Reduced Order Modeling (p. 267) procedure and the ROM144
element.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
90 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
The half symmetry model uses hexahedral solid elements (SOLID185) for the structural domain and
tetrahedral elements (SOLID226) with the elastic air option (KEYOPT(4) = 1) for the electrostatic
domain. The elastic air elements have both structural (UX, UY, UZ) and electrostatic (VOLT) degrees
of freedom. The beam is fixed on both ends, and symmetry boundary conditions are applied on
the plane of intersection. The outer boundary of the elastic air domain is also fixed.
Figure 2.32: Finite Element Model of the Structural and Electrostatic Domains
Model Input
/TITLE, Clamped-clamped beam with fringe field
! µMKSV system of units
! Model parameters
/VIEW,1,1,-1,1
/PNUM,TYPE,1
/NUMBER,1
/PBC,ALL,1
/PREP7
ET,1,SOLID185,,3 ! Simplified enhanced strain
ET,2,SOLID226,1001 ! Electrostatic-structural analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 91
Direct Coupled-Field Analysis
! Half symmetry
SMRTSIZ,2
MSHAPE,1,3D
MSHKEY,0
TYPE,2
MAT,2
VMESH,4
ASEL,S,LOC,Z,B_T/2
ASEL,R,LOC,Y,B_W/4
NSLA,S,1
CM,FIXA,AREA ! Boundary condition must be
DA,ALL,UX ! applied on solid model entities
DA,ALL,UY
DA,ALL,UZ
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
92 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
ASEL,S,LOC,Z,B_T/2
ASEL,R,LOC,Y,0
NSLA,S,1
CM,BCYA,AREA
DA,ALL,UY
ALLSEL
FINI
The pull-in voltage for each case has been determined in advance as the highest voltage load that
produces a converged solution.
Geometric nonlinearities are enabled (NLGEOM,ON) to capture the effect of stress-stiffening of the
beam and the counteractive effect of electrostatic softening produced by the electric force.
V=1284 ! Pull-in voltage (no prestress)
/solu
antype,static
outres,all,all
d,nload,volt,V1
d,nground,volt,0
kbc,0
nsubst,15
nlgeom,on
time,V1
solve
fini
/post26
*dim,_uz1,table,20
*do,_i,1,20
_uz1(_i)=-e_g
*enddo
nsol,2,nload,volt,,VOLT
nsol,3,n1,u,z,UZ
nsol,4,n2,u,z,UZ
prvar,2,3,4
vget,_uz1,3
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 93
Direct Coupled-Field Analysis
/axlab,x,Voltage
/axlab,y, Capacitance
plvar,6
fini
The following figure shows the increase of capacitance between the ground plane and the beam
electrode as the air gap decreases with beam deflection.
The initial biaxial prestress of 100 kPa is modeled via thermal expansion in order to realize a
nonuniform stress distribution at the clamp.
V2=1414 ! Pull in voltage for the beam with initial prestress
/solu
antype,static
outres,all,all
kbc,0
nlgeom,on
tref,0
sigm_b=-100
tunif,sigm_b*(1-0.066)/(169e3*1e-6) ! Thermal prestress
nsubst,15
time,V1
d,nload,volt,V1
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
94 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
solve
nsubst,5
time,V2
d,nload,volt,V2
solve
fini
/post26
nsol,2,nload,volt,,VOLT
nsol,3,n1,u,z,UZ_PRES
nsol,4,n2,u,z,UZ
prvar,2,3,4
/axlab,x,Voltage
/xrange,0,V2
/axlab,y,UZ
/yrange,-3,0
vput,_uz1,5,,,UZ
plvar,3,5
fini
The following figure compares the mid-span deflection of an unloaded (UZ) and prestressed
(UZ_PRES) beam.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 95
Direct Coupled-Field Analysis
The following figure shows the distribution of the electric field density (EF) in the air domain. Notice
an almost uniform field in the air gap below the beam and the fringing field around the beam
edge.
First, a nonlinear static analysis is performed with a voltage load V = 1000 V. It is followed by a
linear perturbation modal analysis using the Block Lanczos solver (MODOPT,LANB) to determine
the first five eigenmodes of the beam with both the initial prestress and the DC-voltage bias. Setting
the driving electrode voltage to zero (short-circuit condition) in the linear perturbation modal
analysis produces the resonance frequency of the beam.
/com, Apply DC voltage V to a beam with initial prestress
V=1000 ! Bias voltage
/solu
antype,static
outres,all,all
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
96 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
kbc,0
nsubst,1
nlgeom,on
solve
fini
parsave
/com,
/com, LP Modal analysis (resonance)
/com,
/solu
antype,static,restart,last,last,perturb
perturb,modal
solve,elform
parresu
d,nload,volt,0 ! Resonance frequency BC
modopt,lanb,5
mxpand ! Expand all modes
solve
fini
/post1
file,,rstp
set,1,1
pldisp
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 97
Direct Coupled-Field Analysis
modopt,lanb,5
mxpand ! Expand all modes
solve
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
98 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
The following table compares the purely structural resonance frequency of the beam with the res-
onance and anti-resonance frequencies of the beam with the DC-voltage (1000 V) bias.
• a nonlinear static analysis to determine the mirror deflection up to the pull-in voltage;
• a nonlinear transient analysis to determine the mirror deflection in response to a sawtooth voltage load.
See Sample Micro Mirror Analysis (Batch or Command Method) (p. 290) for similar analyses performed
using the Reduced Order Modeling (p. 267) procedure and the ROM144 element.
Figure 2.37: Schematic View of a Micro Mirror Array and a Single Mirror Cell
The electrostatic domain consists of three conductors. The nodes of the mirror itself are defined
by node component COND1, and the fixed ground conductors are node components COND2 and
COND3. The fixed conductors are on top of the ground plate shown in Figure 2.37: Schematic View
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 99
Direct Coupled-Field Analysis
of a Micro Mirror Array and a Single Mirror Cell (p. 99) and Figure 2.38: Parameter Set for Geomet-
rical Dimensions of the Mirror Cell (p. 100).
The model uses hexahedral solid elements (SOLID185) for the structural domain and tetrahedral
elements (SOLID226) with the elastic air option (KEYOPT(4) = 1) for the electrostatic domain. The
elastic air elements have both structural (UX, UY, UZ) and electrostatic (VOLT) degrees of freedom
to account for the deformation of the air domain under the mirror plate.
Figure 2.38: Parameter Set for Geometrical Dimensions of the Mirror Cell
Model Input
/TITLE, Silicon micromirror cell
/PREP7
! uMKSV units
fe_la=200 ! Spring length
fe_br=10 ! Spring width
fe_di=15 ! Spring thickness
sp_la=1000 ! Mirror length
sp_br=250 ! Mirror width
mi_la=520 ! Length center part
mi_br=35 ! Width center part
po_la=80 ! Length of anchor post
po_br=80 ! Width of anchor post
fr_br=30 ! Fringing field distance
d_ele=20 ! Electrode gap
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
100 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
del1=(mi_br-fe_br)/2
K,1
K,2,,fe_br/2
K,3,,mi_br/2
K,4,,po_br/2+(mi_br-fe_br)/2
K,5,,sp_br/2
K,6,,sp_br/2+fr_br
KGEN,2,1,6,1,mi_la/2
KGEN,2,1,6,1,mi_la/2+fe_la-(mi_br-fe_br)/2
KGEN,2,1,6,1,sp_la/2
K,21,sp_la/2,po_br/2
K,13,sp_la/2-po_la/2
K,14,sp_la/2-po_la/2,fe_br/2
K,25,sp_la/2-po_la/2,po_br/2
A,3,9,10,4
A,9,15,16,10
A,4,10,11,5
A,10,16,17,11
A,16,22,23,17
AGEN,2,ALL,,,,,-d_ele
ASEL,S,LOC,Z,-d_ele
AADD,ALL
ASEL,ALL
A,1,7,8,2
A,2,8,9,3
A,7,13,14,8
A,13,19,20,14
A,14,20,21,25
ASEL,S,LOC,Z,0
VEXT,ALL,,,,,fe_di
ASEL,ALL
ASEL,S,AREA,,9,10
VEXT,ALL,,,,,-d_ele
ASEL,ALL
VATT,1,,1
BLOCK,0,sp_la/2,o,sp_br/2+fr_br,-d_ele,fe_di
VDELE,13
AOVLAP,ALL
ASEL,S,LOC,Z,fe_di
ASEL,A,LOC,Z,-d_ele
ASEL,A,LOC,X,0
ASEL,A,LOC,X,sp_la/2
ASEL,A,LOC,Y,0
ASEL,A,LOC,Y,sp_br/2+fr_br
VA,ALL
VSBV,13,ALL,,,KEEP
VSEL,S,VOLU,,14
VATT,2,,2
VSEL,ALL
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 101
Direct Coupled-Field Analysis
VMESH,1,12
TYPE,2
MAT,2
SMRTSIZ,2
MSHAPE,1,3D
MSHKEY,0
ESIZE,,1
VMESH,14
ALLSEL
VSYM,X,ALL
VSYM,Y,ALL
NUMMRG,NODE,1e-5
NUMMRG,KP,1e-3
VSEL,S,TYPE,,1
ASEL,S,EXT
ASEL,U,LOC,X,sp_la/2
ASEL,U,LOC,X,-sp_la/2
ASEL,U,LOC,Z,fe_di
ASEL,U,LOC,Z,-d_ele
NSLA,S,1
CM,COND1,NODE
CP,1,VOLT,ALL
cn1=ndnext(0)
ALLSEL
ASEL,S,AREA,,11
ASEL,A,AREA,,128
NSLA,S,1
CM,COND2,NODE
CP,2,VOLT,ALL
cn2=ndnext(0)
ALLSEL
ASEL,S,AREA,,202
ASEL,A,AREA,,264
NSLA,S,1
CM,COND3,NODE
CP,3,VOLT,ALL
cn3=ndnext(0)
ALLSEL
VSEL,S,TYPE,,1
ASLV,S,1
ASEL,R,LOC,Z,-d_ele
NSLA,S,1
CM,FIXA,AREA ! Boundary condition must be
DA,ALL,UX ! applied on solid model entities
DA,ALL,UY ! Fixed boundary condition
DA,ALL,UZ
ALLSEL
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
102 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
ASLV,S,1
ASEL,R,LOC,X,sp_la/2 ! Symmetry boundary conditions
DA,ALL,UX
NSLA,S,1
ASLV,S,1
ASEL,R,LOC,X,-sp_la/2
DA,ALL,UX
ALLSEL,ALL
PARSAVE
/solu
antype,static
nlgeom,on
outres,all,all
d,cn1,volt,0
d,cn2,volt,Vpi
d,cn3,volt,0
autots,off
nsub,10
neqit,50
kbc,0
outres,all,1
time,Vpi
solve
fini
/post26
/axlab,x,Voltage
/axlab,y,Nodal displacements
nsol,3,mn1,u,z,up_edge ! Node on the upper edge
nsol,4,mn2,u,z,center_n ! Node at plate center
nsol,5,mn3,u,z,lo_edge ! Node at the lower edge
prvar,3,4,5
plvar,3,4,5
fini
The displacement of the mirror upper edge, center, and lower edge are shown in the following
figure:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 103
Direct Coupled-Field Analysis
d,cn1,volt,0
d,cn2,volt,800
d,cn3,volt,-800
autots,off
nsub,10
kbc,0
outres,all,1
solve
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
104 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
solve,elform
parresu
harfrq,0,5e4
nsubst,70
kbc,1
d,cn1,volt,1
d,cn2,volt,0
d,cn3,volt,0
solve
fini
/post26
file,,rstp
/axlab,x,Frequency
/axlab,y,Nodal amplitude
nsol,3,mn1,uz,,up_edge
nsol,4,mn3,uz,,lo_edge
plvar,3,4
/axlab,y,Phase angle
plcplx,1
plvar,3,4
prcplx,1
prvar,3,4
fini
Harmonic transfer function amplitude and phase angle for the 800 V polarization voltage are shown
in the following figures.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 105
Direct Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
106 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
/solu
antype,transient
nlgeom,on
deltime,rise_t/10,rise_t/10,rise_t/10
auto,off
outres,all,all
tintp,,0.25,0.5,0.5
kbc,0
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 107
Direct Coupled-Field Analysis
j=1
*do,i,1,num_cyc
time,cycle_t*(i-0.5)+rise_t*(i-1)
d,cn1,volt,100
d,cn2,volt,400
d,cn3,volt,-400
lswrite,j
=j+1
time,cycle_t*(i-0.5)+rise_t*i
d,cn1,volt,-100
d,cn2,volt,400
d,cn3,volt,-400
lswrite,j
=j+1
*enddo
time,cycle_t*num_cyc+rise_t*num_cyc
d,cn1,volt,0
lswrite,j
lssolve,1,j
fini
/post26
nsol,4,mn1,u,z,up_edge ! Node on the upper edge
nsol,5,mn2,u,z,center_n ! Node at plate center
nsol,6,mn3,u,z,lo_edge ! Node at the lower edge
prvar,4,5,6
/axlab,y, Upper Edge Displacement
plvar,4
/axlab,y, Plate Center Displacement
plvar,5
/axlab,y, Lower Edge Displacement
plvar,6
fini
The displacement of the mirror upper edge, center, and lower edge in response to the sawtooth
voltage application are shown in the following figures.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
108 of ANSYS, Inc. and its subsidiaries and affiliates.
Electrostatic-Structural Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 109
Direct Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
110 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoresistive Analysis
You use piezoresistive analysis to determine the change in electric field or current distributions due to
applied forces or pressure. The elements that allow you to do a piezoresistive analysis are:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 111
Direct Coupled-Field Analysis
• The force label for the VOLT degree of freedom is AMPS. Use this label in F, CNVTOL, RFORCE, etc.
To take into account capacitive effects in a transient piezoresitive analysis, you can specify electrical
permittivities as PERX, PERY, and PERZ via MP .
The piezoresistive stress matrix [π] (TBOPT = 0) uses stress to calculate the change in electric res-
istivity due to the piezoresistive effect. The piezoresistive strain matrix [m] (TBOPT = 1) uses elastic
strain to calculate the change in electric resistivity due to the piezoresistive effect. (See Piezoresistivity
in the Theory Reference for more information.)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
112 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoresistive Analysis
In a general case, the piezoresistive matrix is a non-symmetric 6x6 matrix that relates the x, y, z,
xy, yz, xz terms of stress or strain to the x, y, z, xy, yz, xz terms of electric resistivity via 36 constants.
(See Piezoresistivity in the Material Reference for a description of the matrix used.) For the semicon-
ductor materials (for example, silicon) that belong to the cubic group of symmetry, the piezoresistive
matrix has only three independent coefficients, π11, π12, π44:
TB,PZRS
TBDATA,1,π11, π12,π12
TBDATA,7,π12,π11, π12
TBDATA,13,π12,π12,π11
TBDATA,22,π44
TBDATA,29,π44
TBDATA,36,π44
To define the piezoresistive matrix via the GUI, use the following:
Define data in consistent units. When modeling micro-electromechanical systems (MEMS), it is best
to use μMKSV or μMSVfA units (see Table 1.10: Piezoresistive Conversion Factors for MKS to
μMKSV (p. 9) and Table 1.17: Piezoresistive Conversion Factors for MKS to μMKSVfA (p. 11)).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 113
Direct Coupled-Field Analysis
Y Vb
V = Vs p-Si X
W
V=0
L
a
b
Va
Vo = Vb - Va
Perform a 2-D static piezoresistive analysis to determine the output voltage Vo of the sensing element.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
114 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoresistive Analysis
2.5.2.3. Results
A series of 2-D piezoresistive static analyses was performed to determine the output voltage Vo of
the sensing element as a function of its geometrical dimensions. Results are compared to the ana-
lytical solution given by:
which gives a good approximation of the transverse voltage for ideal geometries (i.e., when L is
much larger than W, and the configuration has no signal-conducting arms and output contacts).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 115
Direct Coupled-Field Analysis
/prep7
et,1,PLANE223,101 ! piezoresistive element type, plane stress
et,2,PLANE183 ! structural element type, plane stress
mp,RSVX,1,rho ! resistivity
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
116 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoresistive Analysis
k,10,-L/2,W/2
k,11,-b/2,W/2
k,12,-b/2,W/2+a
a,1,2,3,4,5,6,7,8,9,10,11,12
/pbc,u,,1
/pbc,volt,,1
/pbc,cp,,1
/pnum,type,1
/number,1
eplot
fini
/solu ! Solution
antype,static
cnvtol,amps,1,1.e-3 ! Optional to prevent a warning message
solve
fini
/post1
/com,
/com, Results:
/com, Vout (ANSYS) = %abs(volt(nt)-volt(nb))*1.e3%, mV
/com, Vout (Analytical) = %Vs*W/L*p44*p/2*1e3%, mV
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 117
Direct Coupled-Field Analysis
For a coupled structural-thermal analysis, you need to select the UX, UY, UZ, and TEMP element degrees
of freedom. For SOLID5 or SOLID98, set KEYOPT(1) to 0. For PLANE13 set KEYOPT(1) to 4. For PLANE222,
PLANE223, SOLID226, or SOLID227, set KEYOPT(1) to 11.
The structural-thermal KEYOPT settings also make large-deflection, stress-stiffening effects, and
prestress effects available (NLGEOM and PSTRES). See the Structural Analysis Guide and Structures
with Geometric Nonlinearities in the Theory Reference for more information about those capabilities.)
To include piezocaloric effects in dynamic analyses (transient and harmonic), use PLANE222, PLANE223,
SOLID226, or SOLID227.
SOLID98 -
Coupled-Field
Tetrahedral
PLANE222 - 4-Node Thermoelastic (Thermal Static
Coupled-Field Stress and Piezocaloric)
Quadrilateral Full Harmonic
Thermoplastic
PLANE223 - 8-Node Full Transient
Coupled-Field Thermoviscoelastic
Quadrilateral
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
118 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
SOLID227 -
Coupled-Field
Tetrahedral
1. Select a coupled-field element that is appropriate for the analysis (Table 2.20: Elements Used in Structural-
Thermal Analyses (p. 118)). Use KEYOPT (1) to select the UX, UY, UZ, and TEMP element degrees of freedom.
• If the material is isotropic or orthotropic, input Young's moduli (EX, EY, EZ), Poisson's ratios (PRXY,
PRYZ, PRXZ, or NUXY, NUYZ, NUXZ), and shear moduli (GXY, GYZ, and GXZ) (MP).
• If using PLANE222, PLANE223, SOLID226, or SOLID227, you can also specify structural nonlinear mater-
ial models. See the Structural Material Properties table in those element descriptions for details.
• To account for thermal transient effects, specify mass density (DENS) and specific heat (C) or enthalpy
(ENTH) (MP).
4. Specify coefficients of thermal expansion (ALPX, ALPY, ALPZ), thermal strains (THSX, THSY, THSZ), or the
instantaneous coefficients of thermal expansion (CTEX, CTEY, CTEZ) (MP).
5. Specify the reference temperature for the thermal strain calculations (TREF or MP,REFT).
• Structural loads and boundary conditions include displacement (UX, UY, UZ), force (F), pressure (PRES),
and force density (FORC).
• Thermal loads and boundary conditions include temperature (TEMP), heat flow rate (HEAT), convection
(CONV), heat flux (HFLUX), radiation (RDSF), and heat generation (HGEN).
• Analysis type can be static, full transient, or full harmonic. See Table 2.20: Elements Used in Structural-
Thermal Analyses (p. 118) for more details.
• To prevent unwanted oscillation of temperature outside of the physically meaningful range in a tran-
sient analysis that includes PLANE223, SOLID226, or SOLID227 elements, it is recommended that you
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 119
Direct Coupled-Field Analysis
create the elements without midside nodes and set the specific heat matrix option to diagonalized
(KEYOPT(10) = 1).
8. The following only apply to the PLANE222, PLANE223, SOLID226, and SOLID227 elements:
• If you perform a static or full transient analysis, you can use KEYOPT(2) to select a strong (matrix) or
weak (load vector) structural-thermal coupling. Strong coupling produces an unsymmetric matrix. In
a linear analysis, a strong coupled response is achieved after one iteration. Weak coupling produces
a symmetric matrix and requires at least two iterations to achieve a coupled response.
Note:
For full harmonic analysis with these elements, strong structural-thermal coupling
only applies.
• These elements support a piezocaloric effect calculation in dynamic analyses. (For more information,
see Thermoelasticity.)
Note the following about the inputs for a piezocaloric effect calculation:
b. Specific heat is assumed to be at constant pressure (or constant stress), and it is automatically
converted to specific heat at constant volume (or constant strain).
c. Specify the temperature offset from absolute zero to zero (TOFFST). The offset is added to the
specified temperature (TREF) to obtain the absolute reference temperature.
d. All thermal material properties and loads must have the same energy units. For the SI system, both
energy and heat units are in Joules. For the U. S. Customary system, energy units are in-lbf or ft-lbf
and heat units are in BTUs. British heat units (BTUs) must be converted to energy units of in-lbf or
ft-lbf (1BTU = 9.338e3 in-lbf = 778.17 ft-lbf ).
• PLANE222, PLANE223, SOLID226, and SOLID227 also support the calculation of thermoplastic and
thermoviscoelastic effects in static or transient analyses. To activate these effects, specify a fraction of
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
120 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
plastic work converted to heat or a fraction of viscoelastic loss converted to heat (MP,QRATE). For
more information, see Thermoplasticity and Thermoviscoelasticity.
• Structural results include displacements (U), total strain (EPTO), elastic strain (EPEL), thermal strain
(EPTH), stress (S), plastic heat generation rate (PHEAT), viscoelastic heat generation rate (VHEAT), and
total strain energy (UT).
• Thermal results include temperature (TEMP), thermal gradient (TG), and thermal flux (TF).
W
X
L
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 121
Direct Coupled-Field Analysis
The beam finite element model is built using the plane stress thermoelastic analysis options on the
PLANE223 coupled-field element. A structural-thermal harmonic analysis is performed in the fre-
quency range between 10 kHz and 10 MHz that spans the first six resonant modes of the beam.
The thermoelastic damping Q-1 is calculated using the equation given in Thermoelasticity. The fol-
lowing figure compares the numerical results with Zener's analytical expression for the thermoelastic
damping in transversely vibrating reeds.
The following figure shows the beam temperature distribution for a frequency of 5 MHz.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
122 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
/com,
/com, == Perform thermoelastic harmonic analysis
/com,
/solu
antyp,harmic ! Harmonic analysis
outres,all,all ! Write all solution items to the database
harfrq,fmin,fmax ! Specify frequency range
nsubs,nsbs ! Set number of substeps
nsel,s,loc,y,W
sf,all,pres,P ! Apply pressure load
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 123
Direct Coupled-Field Analysis
nsel,all
kbc,1 ! Stepped loading
solve
fini
!
! Prepare for Zener's analytical solution
!
delta=E*alp**2*(t0+Toff)/(rho*Cp)
pi=acos(-1)
tau=rho*Cp*W**2/(k*pi**2)
f_Qmin=1/(2*pi*tau)
/com,
/com, Frequency of minimum Q-factor: f_Qmin=%f_Qmin%
/com,
f_0=0.986
f_1=0.012
f_2=0.0016
tau0=tau
tau1=tau/9
tau2=tau/25
!
*dim,freq,table,nsbs
*dim,Q,table,nsbs,2
!
! Post-process solution
!
/post1
df=(fmax-fmin)/nsbs
f=fmin+df
*do,i,1,nsbs
set,,,,0,f ! Read real solution at frequency f
etab,w_r,nmisc,4 ! Store real part of total strain energy
set,,,,1,f ! Read imaginary solution at frequency f
etab,w_i,nmisc,4 ! Store imag part of total strain energy (losses)
ssum ! Sum up element energies
*get,Wr,ssum,,item,w_r
*get,Wi,ssum,,item,w_i
Qansys=Wr/Wi ! Numerical quality factor
om=2*pi*f
omt0=om*tau0
omt1=om*tau1
omt2=om*tau2
Q1=delta*f_0*omt0/(1+omt0**2)
Q1=Q1+delta*f_1*omt1/(1+omt1**2)
Q1=Q1+delta*f_2*omt2/(1+omt2**2)
Qzener=1/Q1 ! Analytical quality factor
/com,
/com, Q-factor at f=%f%:
/com, ANSYS: Q=%Qansys% Zener: Q=%Qzener%
/com,
freq(i)=f
Q(i,1)=1/Qansys
Q(i,2)=1/Qzener
f=f+df
*enddo
!
! Plot computed and analytical damping factors
!
/axlab,x,Frequency f (Hz)
/axlab,y,Thermoelastic Damping 1/Q
/gcol,1,1/Qansys
/gcol,2,1/Qzener
*vplot,freq(1),Q(1,1),2
!
! Plot temperature change due to thermoelastic damping
!
set,,,1,1,5e6 ! Read imag solution at f=5MHz
plnsol,temp
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
124 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 125
Direct Coupled-Field Analysis
The 2-D axisymmetric sphere is modelled using the 2-D coupled field element, PLANE222. The
structural-thermal coupling option and mixed u-P element formulation are used. Thermoelastic
damping is suppressed in the transient analysis. A structural-thermal transient analysis, including
large-deflection effects, is performed for time = 0 to 7 seconds.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
126 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
/prep7
/nopr
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 127
Direct Coupled-Field Analysis
T1=100
T2=200
T3=300
y1=y0*(1-w0*T1)
y2=y0*(1-w0*T2)
y3=y0*(1-w0*T3)
y4=y0*(1-w0*(TB-Tref))
mp,ex,1,E
mp,nuxy,1,nu
mp,dens,1,rho
mp,alpx,1,alpha
mp,kxx,1,k
mp,c,1,c
mp,qrate,1,0.9
tb,biso,1,,2
tbtemp,Tref
tbdata,1,y0,h0
tbtemp,T1+Tref
tbdata,1,y1,h0
tbtemp,T2+Tref
tbdata,1,y2,h0
tbtemp,T3+Tref
tbdata,1,y3,h0
tbtemp,TB
tbdata,1,y4,h0
cyl4,0,0,A,0,B,90
type,1
mat,1
mshape,0,2D
mshkey,1
esize,1
amesh,all
arsym,y,all,,,,0
nummrg,kp
nummrg,node
csys,2
nsel,s,loc,x,A
sf,all,pres,PA
nsel,s,loc,x,B
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
128 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
d,all,temp,TB
alls
csys,0
nsel,s,loc,x,0
d,all,ux
nsel,s,loc,y,0
d,all,uy
alls
tref,Tref
ic,all,temp,Tref
finish
/solu
anty,trans
nlgeom,on ! large deflection
time,7
nsub,50,50,50
outres,all,all
solve
fini
/post26
nsel,s,loc,x,A
nsel,r,loc,y,0
nd=ndnext(0)
nsol,2,nd,temp
filldata,3,,,,-1
filldata,4,,,,293.0
prod,5,3,4
add,6,2,5
nsol,7,nd,u,x,ux
prvar,6
prvar,7
/grid,1
/axlab,x,Time [s]
/xrange,0,7.0
/gropt,divx,14
/axlab,y,Displacement [mm]
/yrange,0,5.0
/gropt,divy,20
plvar,7
alls
finish
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 129
Direct Coupled-Field Analysis
The hyperelastic behavior of the rubber cylinder is modeled using the Neo-Hookean model, and
its viscous behavior is described using Prony series terms.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
130 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
The rubber-to-air and rubber-to-fixture film coefficients are 5.44284 J/(ºC*m2*s) and 20934 J/(ºC*m2*s),
respectively.
The axisymmetric structural-thermal analysis option of the PLANE223 element is used to create a
half-symmetry finite element model of the rubber cylinder and the internal steel disk, as shown in
this figure:
Figure 2.55: Finite Element Model of the Cylinder and Steel Disk
Thermoelastic damping is turned off (KEYOPT(9) = 1) to restrict the source of heat to viscoelastic
effects. Diagonalized specific heat is turned on (KEYOPT(10) = 1). A mixed u-P formulation (KEYOPT(11)
= 1) is active for the rubber elements.
The top end of the cylinder is subjected to the prescribed axial displacement (in meters):
The dependence of the axial displacement uy on time t is defined using a TABLE array parameter
input on this command:
D,,UY,%tabname%
A transient analysis is performed for 20 seconds with a 0.005 s time step. Geometric nonlinearities
are included (NLGEOM,ON).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 131
Direct Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
132 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 133
Direct Coupled-Field Analysis
seltol,1e-7
! CASE 2:
behavior=1 ! 0: Plane-stress 1: Axisymmetric 2: Plane-strain
coupling=0 ! 0: Strong coupling 1: Weak coupling
! Rubber
Conductivity_rubber=0.20934 ! J/C.m.s
Density_rubber=1000 ! kg/m^3
SpecificHeat_rubber=2093.4 ! J/kg.C
ThermalExpansion_rubber=80e-6 ! 1/C
Go=2*1.155e6 ! Initial shear modulus in Pa
gr=0.3 ! Relative shear modulus (unitless)
Ko=2*1000e6 ! Initial bulk modulus in Pa
tauG=0.1 ! Characteristic relaxation time (shear modulus) in s
! Steel
Conductivity_steel=45.83379 ! J/C.m.s
Density_steel=7849 ! kg/m^3
SpecificHeat_steel=460 ! J/kg.C
ThermalExpansion_steel=12e-6 ! 1/C
ElasticModulus_steel=206.8e9 ! Pa
PoissonRatio_steel=0.3
!
h_RubberAir=5.44284 ! J/C.m^2.s
h_RubberSteel=20934 ! J/C.m^2.s
/prep7
et,1,223 ! Coupled-field element
keyopt,1,1,11 ! ux,uy,temp degrees of freedom
keyopt,1,2,coupling ! Coupling method between displacement and temperature degrees of freedom
keyopt,1,3,behavior ! Set element behavior
keyopt,1,9,1 ! TED off
keyopt,1,10,1 ! Diagonalized specific heat
keyopt,1,11,1 ! Mixed u-p
!
et,2,223 ! Coupled-field element
keyopt,2,1,11 ! ux,uy,temp degrees of freedom
keyopt,2,2,coupling ! Coupling method between displacement and temperature degrees of freedom
keyopt,2,3,behavior ! Set element behavior
keyopt,2,9,1 ! TED off
keyopt,2,10,1 ! Diagonalized specific heat
!
tb,hyper,1,1,1,neo ! Neo-Hookean
tbdata,1,Go,2/Ko ! Initial Shear Modulus, incompressibility
tb,prony,1,1,1,shear ! Viscoelastic part
tbdata,1,gr,tauG ! Shear relaxation
mp,dens,1,Density_rubber
mp,kxx,1,Conductivity_rubber
mp,C,1,SpecificHeat_rubber
mp,alpx,1,ThermalExpansion_rubber
mp,qrate,1,1 ! Transfer viscoelastic heating
!
mp,EX,2,ElasticModulus_steel
mp,nuxy,2,PoissonRatio_steel
mp,dens,2,Density_steel
mp,Kxx,2,Conductivity_steel
mp,C,2,SpecificHeat_steel
mp,alpx,2,ThermalExpansion_steel
!
tunif,0.
!
! Model
r_Rubber=0.0282 ! m
h_Rubber=0.05/2 ! m, half symmetry
r_Steel=0.0141 ! m
h_Steel=0.0025/2 ! m, half symmetry
rect,,r_Rubber,,h_Rubber
rect,,r_Steel,,h_Steel
aovlap,all
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
134 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal Analysis
esize,h_Steel/2
mat,1
type,1
amesh,4
!
mat,2,
type,2
amesh,3
!
nsel,s,loc,y,0.
d,all,uy,0.
allsel,all
nsel,s,loc,y,h_Rubber
sf,all,conv,h_RubberSteel,0. ! Rubber to fixture
alls
!
nsel,s,loc,x,r_Rubber
sf,all,conv,h_RubberAir,0. ! Rubber to air
alls
finish
!
/solu
antype,trans
nlgeom,on
outres,all,all
kbc,0
deltim,5e-3,1e-5,5e-3
nsel,s,loc,y,h_Rubber
d,all,uy,-0.0045
nsel,all
time,0.05
solve
!
nsel,s,loc,y,h_Rubber
*dim,displacement,TABLE,(20-0.05)/0.005+2,1,1,TIME
displacement(1,0,1) = 0.
displacement(1,1,1) = 0.
ii=2
*do,tt,0.05,20,0.005
! Time values
displacement(ii,0,1) = tt
! Displacement values
displacement(ii,1,1) = -0.0045-0.003*sin(2*pi*6.5*tt)
ii=ii+1
*enddo
d,all,uy,%displacement%
allsel,all
time,20
solve
fini
/post1
pldisp ! Deformed shape
plnsol,temp ! Temperature distribution
fini
/post26
numvar,200
ndA=node(0,h_Rubber/3,0)
ndB=node(0,h_Steel,0)
ndC=node(0.015939,0,0)
ndD=node(5*r_Rubber/6,0,0)
nsol,2,ndA,temp,,A
nsol,3,ndB,temp,,B
nsol,4,ndC,temp,,C
nsol,5,ndD,temp,,D
/axlab,x, Time (s)
/axlab,y, Temperature increase (deg C)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 135
Direct Coupled-Field Analysis
/yrange,0,6
plvar,2,3,4,5
nprint,50
prvar,2,3,4,5
fini
For coupled structural-thermal-electric analyses, you need to select the UX, UY, UZ, TEMP, and VOLT
element degrees of freedom. For SOLID5 or SOLID98, set KEYOPT(1) to 0. The analysis type (structural-
thermoelectric or thermal-piezoelectric) for those elements is determined by the electrical material
property input (resistivity or permittivity). For PLANE223, SOLID226, and SOLID227, the analysis type is
determined by KEYOPT(1). For those elements, set KEYOPT(1) to 111 for a structural-thermoelectric
analysis or 1011 for a thermal-piezoelectric analysis.
SOLID227 - Piezoresistive
Coupled-Field Thermoelastic (Thermal Thermal-Piezoelectric:
Tetrahedral Stress and Piezocaloric)
Static
Piezoelectric
Modal
Full Harmonic
Full Transient
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
136 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal-Electric Analyses
• You can specify electric permittivity (PERX, PERY, PERZ) (MP) to model transient electrical effects (ca-
pacitive effects). For more information, see Thermal-Electric Analysis (p. 16).
• You can specify Seebeck coefficients (SBKX, SBKY, SBKZ) (MP) to include the Seebeck-Peltier thermo-
electric effects. For more information, see Thermal-Electric Analysis (p. 16).
• You can specify a piezoresistive matrix (TB,PZRS) to include the piezoresistive effect. For more inform-
ation, see Piezoresistive Analysis (p. 111).
• To perform a circuit analysis, use the CIRCU124 element. (For more information, see Elements Used in
Circuit Analysis in the Low-Frequency Electromagnetic Analysis Guide.)
• You can specify structural nonlinear material models (TB). (See the Structural Material Properties table
in the PLANE223, SOLID226, and SOLID227 element descriptions.)
• In a structural-thermoelectric analysis with structural nonlinearities, you should use weak (load vector)
coupling between the structural and thermal degrees of freedom (KEYOPT(2) = 1) and suppress the
thermoelastic damping in a transient analysis (KEYOPT(9) = 1). When using the SOLID226 element,
you should also select the uniform reduced integration option (KEYOPT(6) = 1).
See Example: Electro-Thermal Microactuator Analysis (p. 137) for an example problem.
1. For SOLID5 or SOLID98, specify electric permittivity (PERX, PERY, PERZ) (MP). For PLANE223, SOLID226,
and SOLID227, specify permittivity either as PERX, PERY, PERZ (MP) or by specifying the terms of the
anisotropic permittivity matrix (TB,DPER and TBDATA). To model dielectric losses, use PLANE223, SOL-
ID226, or SOLID227 and specify a loss tangent (MP,LSST). For more information, see Piezoelectric Analys-
is (p. 29).
2. Specify the piezoelectric matrix (TB,PIEZ). For more information, see Piezoelectric Matrix (p. 32).
3. To perform a circuit analysis, use the CIRCU94 element. For more information, see Piezoelectric-Circuit
Simulation (p. 253).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 137
Direct Coupled-Field Analysis
In addition to providing mechanical support, the anchors also serve as electrical and thermal con-
nections. The actuator operates on the principle of differential thermal expansion between the thin
and wide arms. When a voltage difference is applied to the anchors, current flows through the arms
producing Joule heating. Because of the width difference, the thin arm of the microactuator has a
higher electrical resistance than the wide arm, and therefore it heats up more than the wide arm.
The non-uniform Joule heating produces a non-uniform thermal expansion, and actuator tip deflec-
tion.
A 3-D static structural-thermoelectric analysis is performed to determine the tip deflection and
temperature distribution in the microactuator when a 15 volt difference is applied to the anchors.
Radiative and convective surface heat transfers are also taken into account, which is important for
accurate modeling of the actuator. The microactuator dimensions (device D2 in the reference) and
material properties of doped single-crystal silicon used for the simulation were taken from the ref-
erence above. The temperature dependent convective heat losses were applied to all the actuator
surfaces; however, they may have been applied in a different way than in the reference.
2.7.3.2. Results
The tip deflection is determined to be 27.8 µm. The temperature ranges from 300 to 800 K. Displace-
ment and temperature results are shown in the following figures.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
138 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal-Electric Analyses
! === Loads
Vlt=15 ! Voltage difference, Volt
Tblk=300 ! Bulk temperature, K
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 139
Direct Coupled-Field Analysis
/VIEW,1,1,2,3
/PREP7
et,1,SOLID227,111 ! Structural-thermoelectric tetrahedron
! === Material properties
mp,EX,1,169e9 ! Young modulus, Pa
mp,PRXY,1,0.3 ! Poisson's ratio
mp,RSVX,1,4.2e-4 ! Electrical resistivity, Ohm-m
! Temperature table for ALPX and KXX
mptemp,1,300,400,500,600,700,800
mptemp,7,900,1000,1100,1200,1300,1400
mptemp,13,1500
! Coefficients of thermal expansion data table, 1/K
mpdata,ALPX,1,1,2.568e-6,3.212e-6,3.594e-6,3.831e-6,3.987e-6,4.099e-6
mpdata,ALPX,1,7,4.185e-6,4.258e-6,4.323e-6,4.384e-6,4.442e-6,4.5e-6
mpdata,ALPX,1,13,4.556e-6
! Thermal conductivity data table, W/(m-K)
mpdata,KXX,1,1,146.4,98.3,73.2,57.5,49.2,41.8
mpdata,KXX,1,7,37.6,34.5,31.4,28.2,27.2,26.1
mpdata,KXX,1,13,25.1
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
140 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal-Electric Analyses
lsel,all
vmesh,1 ! Mesh the volume
nsel,s,loc,x,0,d8
nsel,r,loc,y,-(d7+d9),-d7
cp,1,VOLT,all
n_gr=ndnext(0)
d,n_gr,VOLT,0
nsel,s,loc,x,0,d8
nsel,r,loc,y,0,d9
cp,2,VOLT,all
n_vlt=ndnext(0)
d,n_vlt,VOLT,Vlt
nsel,all
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 141
Direct Coupled-Field Analysis
/SOLU
antype,static
cnvtol,f,1,1.e-4 ! Define convergence tolerances
cnvtol,heat,1,1.e-5
cnvtol,amps,1,1.e-5
nlgeom,on ! Large deflection analysis
solve
finish
/POST1
/show,win32c
/cont,1,18
/dscale,1,10
plnsol,u,sum ! Plot displacement vector sum
plnsol,temp ! Plot temperature
finish
Applications involve determining forces, deformations, and stresses on structures subjected to steady-
state or transient magnetic fields from which you want to determine the effects on structural design.
Typical applications include pulsed excitation of conductors, structural vibration resulting from transient
magnetic fields, armature motion in solenoid actuators, electromagnetic acoustic transducers, and
magneto-forming of metals.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
142 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
For more information on the magnetic formulations, magnetic material definition, and magnetic
boundary conditions, see the Low-Frequency Electromagnetic Analysis Guide. Magnetoelasticity in the
Theory Reference describes the magnetic force strong coupling.
SOLID98 -
10-Node
Coupled-Field
Tetrahedron
PLANE223 - Magnetic Vector Volumetric Strong Static
8-Node Potential (AZ) Maxwell
Coupled-Field Full Transient
Quadrilateral or
SOLID226 - Edge-Flux (AZ) Volumetric
20-Node Lorentz
Coupled-Field (applicable to
Brick models with
current carrying
SOLID227 -
conductors)
10-Node
Coupled-Field
Tetrahedron
PLANE223, SOLID226, and SOLID227 are considered current technology elements (see Current-Tech-
nology Elements in the Element Reference) and are the preferred elements for magneto-structural
analysis. For these elements, the type of coupled magneto-structural analysis is determined by the
KEYOPT(1) setting. The following table lists the available analysis options along with the magnetic
materials or current carrying conductors they can be applied to. (Note, 2-D analyses do not include
the UZ degree of freedom.)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 143
Direct Coupled-Field Analysis
Hard Magnetic
(permanent magnets)
Stranded Conductor
10101 Structural-Electromagnetic
UX, UY, UZ, Solid Conductor (for
AZ, VOLT example, copper or
aluminum)
10201 Structural-Stranded
UX, UY, UZ, Stranded Coil
Coil AZ, VOLT,
EMF
For the other elements, select a KEYOPT(1) setting that includes structural and magnetic degrees of
freedom, and the electric degree of freedom if needed:
• For PLANE13, set KEYOPT(1) = 4 to activate UX, UY, AZ (also TEMP) degrees of freedom.
• For SOLID5 and SOLID98, set KEYOPT(1) = 0 to activate UX, UY, UZ, VOLT, MAG (also TEMP) degrees of
freedom.
1. Select a coupled-field element type that is appropriate for the analysis (see Table 2.26: Elements Used
in Magneto-Structural Analyses (p. 143)) and set KEYOPT(1) to activate the degrees of freedom necessary
to model the desired physical domain (see Table 2.27: Magneto-Structural Analyses (p. 143)).
See Modeling Elastic Air (p. 146) for suggestions on how to morph the magnetic air regions when
using the structural-magnetic analysis option (KEYOPT(1) = 10001).
2. Use KEYOPT(8) to select the magnetic force calculation method. The Maxwell force option (KEYOPT(8) =
0) can be used to calculate the deformation of permeable magnetic solids and current-carrying conductors;
the Lorentz force option (KEYOPT(8) = 1) can only be used in a magneto-structural analysis of current-
carrying conductors.
Note that you cannot intermix the Maxwell and Lorentz force methods in adjacent magnetic do-
mains. For example, if an air region surrounds a current carrying conductor that uses the Lorentz
force option (KEYOPT(8) = 1), then the air region should also be assigned KEYOPT(8) = 1.
3. For a structural-electromagnetic analysis of current carrying solid conductors (KEYOPT(1) = 10101), use
KEYOPT(5) to control the eddy currents and velocity effects.
4. Specify structural material properties. See the Structural Material Properties table in the PLANE223,
SOLID226, and SOLID227 element descriptions for details.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
144 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
• To model nonlinear magnetic materials, input the B-H curve data using the BH table (TB,BH).
• To model permanent magnets, specify the components of the coercive force: MGXX, MGYY, and MGZZ
(MP).
6. For a structural-electromagnetic analysis (KEYOPT(1) = 10101), specify electrical resistivity as RSVX, RSVY,
and RSVZ (MP).
7. For a structural-stranded coil analysis (KEYOPT(1) = 10201), specify the coil parameters as real constants
for the element (R). For a detailed description of the coil parameter real constants, see Performing a 2-
D Stranded Coil Analysis (for a 2-D analysis) and Performing a Stranded Coil Analysis (for a 3-D analysis)
in the Low-Frequency Electromagnetic Analysis Guide.
8. Apply structural, magnetic, and electric loads, initial conditions, and boundary conditions:
• Magnetic loads, initial conditions, and boundary conditions include magnetic degrees of freedom AZ
(D and IC) and, in a structural-magnetic analysis (KEYOPT(1) = 10001), the electric current density JS
(BFE). In a 3D magneto-structural analysis, you can apply a uniform magnetic field (DFLX).
• In a structural-stranded coil analysis (KEYOTP(1) = 10201), couple VOLT and EMF degrees of freedom
for each coil: CP,,VOLT and CP,,EMF.
• Specify convergence criteria for the magnetic and structural degrees of freedom (AZ and U) or forces
(CSG and F) (CNVTOL).
• The magneto-structural analysis is nonlinear and requires at least two iterations to obtain a converged
solution.
• For problems having convergence difficulties, activate the line-search capability (LNSRCH).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 145
Direct Coupled-Field Analysis
• Structural results include displacements (U), total strain (EPTO), elastic strain (EPEL), thermal strain
(EPTH), plastic strain (EPPL), creep strain (EPCR), and stress (S). In an analysis with material or geometric
nonlinearities, structural results include plastic yield stress (SEPL), accumulated equivalent plastic strain
(EPEQ), accumulated equivalent creep strain (CREQ), plastic yielding (SRAT), and hydrostatic pressure
(HPRES), and elastic strain energy (SENE).
• Magnetic results include magnetic vector potential (AZ), magnetic flux density (B), magnetic flux in-
tensity (H), conduction current density (JT), current density (JS), electromagnetic forces (FMAG), Joule
heat generation rate (JHEAT), magnetic energy (UMAG), and magnetic co-energy (COEN).
• Structural-electromagnetic analysis results also include the electric potential (VOLT), electric field in-
tensity (EF), and conduction current density (JC).
• Structural-stranded coil analysis results also include the electromotive force (EMF) and current (CURT).
1. Use the structural-magnetic analysis option (KEYOPT(1) = 10001) to model air regions. This adds
structural degrees of freedom to the magnetic model of the air region, allowing the magnetic field
(and forces) in the air domain to change following the deformation of the solid parts of the model.
2. Set KEYOPT(4) = 1 to apply the magnetic force only to element nodes connected to a structure, but
not to the nodes interior to the air domain.
3. For computational efficiency, use KEYOPT(4) = 1 for the air elements attached to a structure and KEY-
OPT(4) = 2 for the rest of the air region.
4. Assign a small elastic stiffness and a zero Poisson's ratio to the elastic air elements.
6. Rigidly fix the exterior of the air region by constraining structural displacements.
A magneto-structural analysis involving elastic air regions should be limited to small movement of
the structure; that is, movement up to a point where air mesh distortion remains acceptable.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
146 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
The beam, the permanent magnet, and the surrounding air are modeled using the structural-
magnetic analysis option (KEYOPT(1) = 10001) of a 2-D coupled-field solid element, PLANE223:
The force-calculation method is set to Maxwell (KEYOPT(8) = 0), the only option available for ferro-
magnetic solids. The air domain is assigned a negligible elasticity modulus and a zero Poisson’s
ratio to allow the air mesh to deform. KEYOPT(4) is set to 1 for the air domain to ensure that the
magnetic force is applied to the air-solid interface and not to the nodes interior to the air domain.
The permanent magnet is fully constrained, and the beam is clamped at both ends. The outer edge
of the “elastic” air domain is constrained. Flux-parallel magnetic boundary conditions are applied
to the outer boundary of the air domain by setting the AZ degree of freedom to zero.
A static analysis is performed to determine the deformation of the beam due to the magnetic force.
Large-deflection effects are enabled (NLGEOM,ON.
2.8.3.2. Results
The simulation results are presented in the form of a magnetic flux (B) vector plot and a contour
plot of the total displacement (U):
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 147
Direct Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
148 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
!! Element types
et,1,223,10001 ! 2D magneto-structural solid for ferroelastic beam
!! Material properties
! "elastic" air
mp,ex,1,1e-3 ! Young's modulus, Pa
mp,nuxy,1,0 ! Poisson's ratio
mp,murx,1,1 ! relative magnetic permeability
! ferroelastic beam
mp,ex,2,10e7 ! Young's modulus, Pa
mp,nuxy,2,0.3 ! Poisson's ratio
mp,murx,2,100000 ! relative magnetic permeability
! permanent magnet
mp,ex,3,10e10 ! Young's modulus, Pa
mp,nuxy,3,0.3 ! Poisson's ratio
mp,mgyy,3,2.5e6 ! coercive force, A/m
mp,murx,3,5.3 ! relative magnetic permeability
!! Dimensions, m
pm_x=1e-3 ! permanent magnet
pm_y=3e-3
/pnum,mat,1
/number,1
eplot
!! Boundary conditions
! fix magnet
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 149
Direct Coupled-Field Analysis
esel,s,mat,,3
nsle
d,all,ux,0
d,all,uy,0
alls
! flux-parallel magnetic boundary conditions on the outer edge of the air box
nsel,s,ext
d,all,az,0
alls,all
fini
!! solution
/solu
antype,static ! static analysis
nlgeom,on ! large deflection enabled
cnvtol,f,1,1e-1 ! force convergence tolerance
outres,all,all
solve
fini
/post1
set,last,last
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
150 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
The wire is modeled using the structural-electromagnetic analysis option (KEYOPT(1) = 10101) of
the 3-D coupled-field solid element, SOLID226. The force calculation method is set to Lorentz
(KEYOPT(8) = 1) for the wire, although the Maxwell force calculation option (KEYOPT(8) = 0) is also
applicable to this model.
The surrounding air domain is modelled with the structural-magnetic analysis option (KEYOPT(1)
= 10001) of SOLID226. The air elements are assigned a negligible elasticity modulus and a zero
Poisson’s ratio to allow the air mesh to deform. KEYOPT(4) is set to 1 for the air elements to ensure
that the magnetic force is applied only to the air-solid interface. Although the air element does not
carry electric current, KEYOPT(8) is set to 1 for all air elements to consistently use the Lorentz force
method across the model.
The wire is constrained in the axial direction and on the symmetry planes to ensure radial deform-
ation only. The outer boundary of the “elastic” air domain is constrained as well. Flux-parallel
magnetic boundary conditions are applied to the outer boundary of the air domain by setting the
edge-flux degree of freedom (AZ) to zero.
A sinusoidal current is applied to the wire using the CIRCU124 element type with the independent
current source option (KEYOPT(1) = 3) and the sinusoidal load option (KEYOPT(2) = 1).
A transient analysis is performed for 4 milliseconds to determine the deformation and stress in the
wire. Large-deflection effects are enabled (NLGEOM,ON).
2.8.4.2. Results
The applied sinusoidal current load and the resulting current density, magnetic flux, and von Mises
stress at the edge of the wire are shown in the next four figures.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 151
Direct Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
152 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 153
Direct Coupled-Field Analysis
The distribution of calculated electrical, magnetic, and mechanical quantities in the wire and sur-
rounding air are presented below at simulation time = 3.142e-3 s.
The fast change in the magnetic field produces a skin effect with the current density (J) concentrated
near the surface of the wire as shown in Figure 2.70: Electric Current Density (p. 154). The magnetic
flux (B) distribution in and around the wire is shown in Figure 2.71: Magnetic Flux Density (p. 155).
The resulting Lorentz (J x B) force acts in the radial direction, towards the center of the wire (Fig-
ure 2.72: Magnetic Force (p. 155)) and produces the deformation and stress shown in Figure 2.73: Mech-
anical Deformation (p. 156) and Figure 2.74: Von Mises Stress (p. 156).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
154 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 155
Direct Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
156 of ANSYS, Inc. and its subsidiaries and affiliates.
Magneto-Structural Analysis
!! Material properties
! "elastic" air
mp,ex,1,1e-3 ! Young's modulus, Pa
mp,prxy,1,0.0 ! Poisson's ratio
mp,murx,1,1 ! relative magnetic permeability
! wire
mp,ex,2,1e8 ! Young's modulus, Pa
mp,prxy,2,0.3 ! Poisson's ratio
mp,murx,2,1 ! relative magnetic permeability
mp,rsvx,2,2e-8 ! electrical resistivity, Ohm_m
/pnum,mat,1
/number,1
eplot
!! Boundary conditions
csys,1 ! cylindrical coordinate system
! structural BCs
nsel,s,loc,z,0
nsel,a,loc,z,0.01
d,all,uz
nsel,s,loc,x,0
d,all,ux
d,all,uy
d,all,uz
nsel,s,loc,y,0
d,all,uy
nsel,s,loc,y,90
d,all,ux
nsel,all
! Ground voltage
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 157
Direct Coupled-Field Analysis
nsel,s,loc,z,0
cp,1,volt,all
ng=ndnext(0)
nsel,all
d,ng,volt,0
! Couple voltage
nsel,s,loc,z,0.01
cp,2,volt,all
nd=ndnext(0)
nsel,all
*get,emax,elem,0,num,max
fini
/solu
antype,trans ! transient analysis
time,4e-3 ! simulation time, s
deltim,1e-4 ! time step,s
kbc,1 ! stepped load
nlgeom,on ! large-deflection effects enabled
outres,all,all
solve
fini
/post26
/axlab,x,TIME (s)
/axlab,y,Applied Electric Current, A
esol,2,emax,,smisc,2,CURRENT ! current in the circuit
plvar,2
nsel,s,loc,x,0.1
nsel,r,loc,y,45
nsel,r,loc,z,0
n26=ndnext(0)
esln
esel,r,mat,,2
/axlab,y,Electric Current Density, A/m**2
esol,3,elnext(0),n26,jc,sum,JC
plvar,3
/axlab,y,Magnetic Flux Density, tesla
esol,4,elnext(0),n26,b,sum,B
plvar,4
/axlab,y,Von Mises Stress, Pa
esol,5,elnext(0),n26,s,eqv,SEQV
plvar,5
alls
fini
/post1
set,last,last
/title, Electric current density
plvect,jc, , , ,vect,elem,on,0
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
158 of ANSYS, Inc. and its subsidiaries and affiliates.
Electromechanical Analysis
TRANS126 is a "reduced-order" element which is intended for use as a transducer in structural finite
element simulations or as a transducer in "lumped" electromechanical circuit simulation. “Reduced-order"
means that the electrostatic characteristics of an electromechanical device are captured in terms of the
device's capacitance over a range of displacements (or stroke of the device) and formulated in a simple
coupled beam-like element.
This figure Figure 2.75: Extracting Capacitance (p. 159) shows a typical progression for calculating the
devices capacitance in an electrostatic simulation, calculating the capacitance of the device over a range
of motion (parameter “d” in Figure 2.75: Extracting Capacitance (p. 159)), and incorporating the results
as the input characteristics for the transducer element:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 159
Direct Coupled-Field Analysis
Q = C(x) (V)
where V is the voltage across the device electrodes, C(x) is the capacitance between electrodes (as a
function of x), and Q is the charge on the electrode.
where the term (dC(x)/dx) (dx/dt) (V) is the motion induced current and the term C(x) (dV/dt) is the
voltage rate current.
As can be seen from the above equations, the capacitance of the device over a range of motion
characterizes the electromechanical response of the device.
You can generate a distributed set of TRANS126 elements between the surface of a moving structure
and a ground plane (EMTGEN). This arrangement allows for fully coupled electrostatic-structural
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
160 of ANSYS, Inc. and its subsidiaries and affiliates.
Electromechanical Analysis
simulations for cases where the gap is small compared to the overall area of the structure. Typical
applications include accelerometers, switches, and micromirror devices.
The TRANS126 element supports motion in the nodal X, Y, and Z directions. You can combine multiple
elements to represent a full 3-D translational response of a device. Accordingly, you can model an
electrostatic-driven structure by a reduced order element that fully characterizes the coupled elec-
tromechanical response.
You can link the transducer element into 2-D or 3-D finite element structural models to perform
complex simulations for large signal static and transient analysis as well as small signal harmonic and
modal analysis. See Example: Electromechanical Analysis (p. 163) for a sample electromechanical ana-
lysis using the TRANS126 transducer element.
The static equilibrium of an electrostatic transducer may be unstable. With increasing voltage, the
attraction force between the capacitor plates increases and the gap decreases. For a gap distance d,
the spring restoring force is proportional to 1/d and the electrostatic force is proportional to 1/d2.
When the capacitor gap decreases to a certain point, the electrostatic attraction force becomes larger
than the spring restoring force and the capacitor plates snap together. Conversely, when the capacitor
voltage decreases to a certain value, the electrostatic attraction force becomes smaller than the spring
restoring force and the capacitor plates snap apart.
The transducer element can exhibit hysteresis as shown in Figure 2.78: Electromechanical Hyster-
esis (p. 161). The voltage ramps up to the pull-in value and then back down to the release value.
The transducer element by nature has both stable and unstable solutions as shown in Figure 2.79: Static
Stability Characteristics (p. 162). The element will converge to either solution depending on the starting
location (initial gap size).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 161
Direct Coupled-Field Analysis
unstable
Electrostatic Force
tangent (PULL-IN)
Mechanical Force
stable
PULL-IN
VOLTAGE
RELEASE
VOLTAGE
System stiffness consists of structural stiffness and electrostatic stiffness and it can be negative.
Structural stiffness is positive because the force increases when a spring is stretched. However, elec-
trostatic stiffness of a parallel plate capacitor is negative. The attraction force between the plates
decreases with an increasing gap.
If the system stiffness is negative, convergence problems can occur near unstable solutions. If you
encounter convergence problems while using TRANS126, use its built-in augmented stiffness method
(KEYOPT(6) = 1). In this method, the electrostatic stiffness is set to zero to guarantee a positive system
stiffness. After convergence is reached, the electrostatic stiffness is automatically reestablished for
postprocessing and subsequent analyses.
You must completely specify the voltage across the transducer in a static analysis. You can also apply
nodal displacements and forces. Applying initial displacements (IC) may help to converge the problem.
The TRANS126 element requires the unsymmetric eigenvalue solver (MODOPT,UNSYM) for modal
analysis if a voltage is left unspecified at a transducer node. If the transducer element has a fully
prescribed voltage (at both nodes), the problem becomes symmetric. In this case, set KEYOPT(3) = 1
for the transducer element and select a symmetric eigensolver (MODOPT,LANB). (MODOPT,LANB is
the default.)
Linear perturbation is the preferred method for a prestressed modal analysis. Alternatively, activate
prestress effects (PSTRES) when using TRANS126 with other element types that do not support linear
perturbation.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
162 of ANSYS, Inc. and its subsidiaries and affiliates.
Electromechanical Analysis
Typically, a device operates with a DC bias voltage and a small-signal AC voltage. The small-signal
excitation simulation about a DC bias voltage is in essence a static analysis (with the applied DC
voltage) followed by a prestressed full harmonic analysis (with the applied AC excitation). This capab-
ility is often required to tune a system's resonance frequency for such devices as filters, resonators,
and accelerometers.
Linear perturbation is the preferred method for a prestressed harmonic analysis. The TRANS126 ele-
ments must use the full stiffness method (KEYOPT(6) = 0) in a linear perturbation harmonic analysis.
Alternatively, active prestress effects (PSTRES) when using TRANS126 with other element types that
do not support linear perturbation.
Exercise care when specifying initial conditions for voltage and displacement because you can specify
both voltage VALUE1 and voltage rate VALUE2 (IC), as well as displacement and velocity.
You can specify convergence criteria for the voltage VOLT and/or current AMPS, and displacement
U and/or force F (CNVTOL).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 163
Direct Coupled-Field Analysis
1. Apply 150 Volts to the comb drive and compute the displacement of the beam.
2. For a DC voltage of 150 Volts, compute the first three eigenfrequencies of the beam (prestressed
modal analysis).
3. For a DC bias voltage of 150 Volts, and a vertical force of 0.1 µN applied at the midspan of the
beam, compute the beam displacement over a frequency range of 300 kHz to 400 kHz (prestressed
harmonic analysis).
The parallel plate capacitance is given by the function Co/x where Co is equal to the free-space
permittivity multiplied by the parallel plate area. The initial plate separation is 1 µm.
The modal and harmonic analyses must consider the effects of the DC voltage bias. The problem
is set up to perform a prestressed modal and a prestressed harmonic analysis utilizing the static
analysis results. The linear perturbation procedure is used for both the modal and harmonic analyses.
A consistent set of units are used (µMKSV). Since the voltage across TRANS126 is completely specified,
the symmetric matrix option (KEYOPT(4) = 1) is set to allow for use of symmetric solvers.
UY (node 2) = -0.11076e-2 µm
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
164 of ANSYS, Inc. and its subsidiaries and affiliates.
Electromechanical Analysis
f1 = 351 kHz
f2 = 1380 kHz
f3 = 3095 kHz
2.9.8.2.4. Displays
Figure 2.81: Elements of MEMS Example Problem (p. 165) shows the transducer and beam finite
elements.
Figure 2.82: Lowest Eigenvalue Mode Shape for MEMS Example Problem (p. 166) shows the
mode shape at the lowest eigenvalue.
Figure 2.83: Mid Span Beam Deflection for MEMS Example Problem (p. 166) shows the harmonic
response of the midspan beam deflection.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 165
Direct Coupled-Field Analysis
Figure 2.82: Lowest Eigenvalue Mode Shape for MEMS Example Problem
Figure 2.83: Mid Span Beam Deflection for MEMS Example Problem
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
166 of ANSYS, Inc. and its subsidiaries and affiliates.
Electromechanical Analysis
n,1,-10
n,2,0
n,22,L
fill
nsel,s,loc,x,-10
nsel,a,loc,x,L
d,all,ux,0,,,,uy ! Pin beam and TRANS126 element
nsel,s,loc,x,0
d,all,uy,0 ! Allow only UX motion
d,2,volt,vlt ! Apply voltage across capacitor plate
nsel,s,loc,x,-10
d,all,volt,0 ! Ground other end of capacitor plate
nsel,all
d,all,uz,0
d,all,rotx,0
d,all,roty,0
fini
/solu
antype,static ! Static analysis
rescontrol,define,last,last
solve
fini
/post1
prnsol,dof ! print displacements and voltage
prrsol ! Print reaction forces
fini
/solu
antype,static,restart,last,last,perturb
perturb,modal ! linear perturbation modal analysis
solve,elform
/post1
file,,rstp
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 167
Direct Coupled-Field Analysis
/solu
antyp,static,restart,last,last,perturb
perturb,harmonic ! linear perturbation harmonic analysis
solve,elform
/post26
file,,rstp
nsol,2,12,u,y, ! select node with applied force
add,4,1,,,,,,1/1000 ! change to Kilohertz
plcplx,0 ! magnitude
/axlab,x,Frequency (KHz) ! set graphics options
/axlab,y,Displacement
/xrange,325,375
/gropt,divx,10
/gthk,axis,1.5
/device,text,1,100
xvar,4
plvar,2 ! Plot displacement vs. frequency
prvar,2 ! Print displacement vs. frequency
finish
For detailed descriptions of these elements and their characteristics (degrees of freedom, KEYOPT
options, inputs, outputs, and so on), see the element description.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
168 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electromagnetic Analysis
For a coupled thermal-electromagnetic analysis, select the TEMP, VOLT and AZ element degrees of
freedom (KEYOPT(1) = 10110). The elements supports static and transient simulations with voltage
and current excitations.
For a static analysis, or for a transient analysis without the eddy current effect in the conductors, you
can perform a coupled thermal-magnetic analysis by selecting the AZ and TEMP element degrees of
freedom (KEYOPT(1) = 10010).
1. Select a coupled-field element that is appropriate for the analysis (see Element Used in a Thermal-Elec-
tromagnetic Analysis (p. 168)), and set KEYOPT(1) = 10110 to activate the TEMP, VOLT and AZ element
degrees of freedom.
• To account for thermal transient effects, specify mass density (DENS) and specific heat (C) or enthalpy
(ENTH) (MP)
• To model permanent magnets, specify the vector components of the coercive force (MGXX, MGYY,
MGZZ) (MP).
5. Apply thermal, electric, and magnetic loads, initial conditions, and boundary conditions:
• Thermal: temperature (TEMP), heat flow rate (HEAT), convection (CONV), heat flux (HFLUX), radiation
(RDSF), and heat generation (HGEN).
• Electric: scalar electric potential (VOLT) and current flow (AMPS). For a 2-D model consisting of PLANE223
elements, couple (CP) all VOLT degrees of freedom in a conductor region.
• For an accurate transient analysis, specify the time step according to the electromagnetic field, which
varies faster than the thermal field.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 169
Direct Coupled-Field Analysis
• Thermal results include temperature (TEMP), thermal gradient (TG), and thermal flux (TF)
• Electric results include electric potential (VOLT), electric field (EF), and electric current density (JC).
• Magnetic results include magnetic vector potential (AZ), magnetic flux density (B), magnetic flux in-
tensity (H), conduction current density (JT), current density (JS), electromagnetic forces (FMAG), and
Joule heat losses (JHEAT).
Note:
• For the Joule heat calculation, specify electric resistivity (RSVX, RSVY, RSVZ).
For more information, see Regularized Elastic Damage Microplane Material Model and Coupled Damage-
Plasticity Microplane Model in the Material Reference.
The governing equations are given by the linear momentum balance equation, and additionally a
modified Helmholtz equation:
where is the Cauchy stress tensor, is the body force vector, is the divergence, is the
gradient, and is the Laplace operator. is a gradient parameter which controls the range of
nonlocal interaction. is the local variable to be enhanced, and is its nonlocal counterpart.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
170 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Pore-Fluid-Diffusion-Thermal Analysis
For displacement and nonlocal variable , linearizing the governing equations gives:
where , are the structural and nonlocal field strain-displacement operator matrices, and , are
the structural and nonlocal field shape functions.
The following topics related to performing a coupled structural-pore-fluid-diffusion analysis are available:
2.12.1. Structural-Pore-Fluid-Diffusion-Thermal Applications
2.12.2. Understanding Porous Media Analysis
2.12.3. Material Models, Solid Phase, and Effective Stress
2.12.4. Fluid Flow in Porous Media
2.12.5. Heat Transfer in Porous Media
2.12.6. Geostatic Stress Equilibrium
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 171
Direct Coupled-Field Analysis
To examine related test cases, see VM260 and VM264 in the Mechanical APDL Verification Manual.
Both fully and partially saturated porous media can be modeled. Soil embankments and dams are
typical examples of partially saturated porous media. These structures are often characterized by a
phreatic line. The soil below the phreatic line is fully saturated, while the soil above is partially saturated.
Partially saturated flow results in negative pore pressures. The presence of negative pore pressures
is beneficial to the soil; it assures some cohesion in the soil, essential for maintaining its structural
integrity.
The Biot consolidation theory, upon which a pore fluid diffusion and structural analysis is based, has
many applications in civil, petroleum, nuclear, and biomedical engineering, including:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
172 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Pore-Fluid-Diffusion-Thermal Analysis
The porous media (soil) analysis is based on extended Biot theory that considers the medium a mul-
tiphase material and adopts an effective stress principle to describe its behavior. The solid part of the
model is represented by the effective stress. Fluid flow is based on a continuity equation for the mass
of fluid in a unit volume of the medium. Optionally, heat transfer can be considered due to thermal
conduction in the solid medium.
Command input:
! define soil analysis
ANTYPE,SOIL
The material models supported in the coupled structural-pore-fluid-diffusion analysis include elasticity
(isotropic, orthotropic and anisotropic), porous elasticity, Mohr Coulomb plasticity, Cam-clay plasticity,
jointed rock plasticity, extended Drucker-Prager and Drucker-Prager-based concrete plasticity.
For more information about the supported material models and how to define them, see:
• TB, where Lab = EDP, ELAS, PELAS, MC, SOIL (TBOPT = CAMCLAY), or CONCR (TBOPT = DP).
The permeability matrix can be isotropic, orthotropic or anisotropic. The permeability matrix is
based on the current element coordinate system (ESYS). For more information, see Permeability
(TB,PM,,,,TBOPT = PERM) in the Material Reference.
Command input:
! define permeability table
TB,PM,mat,,,PERM
! define Biot constants
TB,PM,mat,,,BIOT
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 173
Direct Coupled-Field Analysis
Define the solid-skeleton volumetric thermal-expansion coefficients via TB,CTE if there is no field-
variable dependence. (See Free-Strain Rate in the Material Reference). If there is temperature-depend-
ence, use MPTEMP and MPDATA,CTEX/Y/Z.
For more information, see Porous Media Mechanics in the Material Reference.
Command input:
! define solid-skeleton thermal expansion
TB,CTE,mat,,,
! define fluid thermal expansion
TB,CTE,mat,,,FLUID
The thermal conductivity matrix can be isotropic, orthotropic or anisotropic. The thermal con-
ductivity matrix is based on the current element coordinate system (ESYS). For more information,
see Thermal Conductivity (TBOPT = COND) in the Material Reference.
Command input:
! define thermal-conductivity table
TB,PM,mat,,,COND
! define solid-skeleton specific-heat capacity
TB,PM,mat,,,SPHT
! define fluid specific-heat capacity
TB,PM,mat,,,FLSPHT
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
174 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Pore-Fluid-Diffusion-Thermal Analysis
A porous medium model considers the presence of a single fluid phase in the medium (fully saturated
flow), or a mixture of fluid and air in the medium (partially saturated flow). The basic governing law
for the flow of fluids through porous media is Darcy's law, formulated by the French civil engineer
Henry Darcy in 1856 based on experiments involving vertical water filtration through sand beds:
where:
= flow flux
= relative permeability
= permeability
= degree of fluid saturation
= specific weight of fluid
= pore pressure
= gravity load direction
For more information, see Porous Media Mechanics in the Material Reference.
The default load direction is -y axis (0,-1,0) in the global coordinate system.
In the soil solution, you can account for the pore-fluid weight by defining fluid properties (TB,PM),
then using the soil-solution option to set the specific-weight load direction and apply the fluid
properties (SSOPT,SFSW,gvx,gvy,gvz,,ON).
Command input:
! define fluid properties
TB,PM,mat,,,FP
! define soil solution type
ANTYP,SOIL
! set specific-weight direction, and apply pore-fluid weight (Par5 = ON)
SSOPT,SFSW,gvx,gvy,gvz,,ON
Soil stress caused by its weight is often called the geostatic stress state. The program's geostatic stress
equilibrium can balance the initial stress, soil weight, and initial pore pressure under the applied loads
and boundary conditions. It is usually the first step in soil analysis and is followed by a soil-consolid-
ation analysis with applied loading. The stress state can be complex.
A simple example occurs when the soil ground surface is horizontal and the nature of the soil varies
very little along the horizontal direction (for example, sedimentary soil). In this case, no shear stress
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 175
Direct Coupled-Field Analysis
exists, and the vertical stress at a given depth can then be calculated from the weight of the soil
above the specified depth.
Assume that the unit weight of soil is constant through the depth. The vertical stress is then:
where is the depth and is the unit weight of soil. In this case, the vertical stress varies linearly
with the depth.
If the unit weight of the soil changes with the depth (as usually the soil becomes denser with the
depth because of the higher compression stress due to the increasing weight of the soil), the vertical
stress can then be calculated by integrating the unit weight over the depth as:
You can use the initial state capability to define depth-dependent initial stress, etc.
The geostatic stress equilibrium is part of the soil solution. To initiate a geostatic solution, specify a
soil analysis type (ANTYPE,SOIL) and set the soil solution option to geostatic (SSOPT,GEOSTATIC).
Set the number of substeps to one (NSUBST,1).
Command input:
! set analysis type to soil
ANTYPE,SOIL
! set solution option to geostatic
SSOPT,GEOSTATIC
Automatic time-stepping uses an internal heuristic to adjust the time increment. To adjust the accuracy
of time integration of the flow continuity equation, you can add an additional time-stepping control
(CUTCONTROL,DPPLMT) to control the maximum incremental pore pressure in a time step allowed.
The program restricts the time increment to ensure that the specified value is not exceeded at all
active pore-pressure degrees of freedom (excluding degrees of freedom defined by boundary condi-
tion).
The nature of the governing equations and implementation scheme is such that a relationship exists
between the minimum time step and element size. If the time step is too small, you may observe
spurious oscillations in the solution, leading to inaccurate results and convergence problems. If you
observe oscillations, try using a finer mesh or a larger time step.
Command input:
! auto time stepping (default)
AUTOS,ON
! define initial, min, and max time increments
DELTIM,0.01,0.0001,1
! define max incremental pore pressure allowed in a step
CUTCONTROL,DPPLIMIT,1.5
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
176 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Pore-Fluid-Diffusion-Thermal Analysis
By default, the solution ends when the specified time period has been completed. However you can
set the solution to end when a steady-state condition is reached or when the time period ends,
whichever comes first.
The steady-state condition is reached when the maximum incremental pore pressure in a step is less
than the user-specified reference value. Set a soil analysis solution option to define the steady-state
pore-pressure increment (SSOPT).
Command input:
! define steady-state incremental pore-pressure value in a step
SSOPT,STOP,SSTATE,1.0
Initial stress, strain, pore pressure, void volume ratio, degree of saturation, and relative permeability
can be applied to elements or element nodes via the initial state capability.
Specifying an initial stress state results in an initial effective stress in the porous media (that is, the
initial stress is directly applied as an initial effective stress).
Use initial degree of saturation and relative permeability with the degree of saturation (TB,PM,,,,DSAT)
and relative permeability (TB,PM,,,,RPER) tables, respectively, as another way of defining initial pore
pressure. For a particular initial-state of degree of saturation or relative permeability, the corresponding
pore pressure value is retrieved from the relevant table. If both the initial-state degree of saturation
and relative permeability are defined, initial-state degree of saturation takes precedence. If initial-state
pore pressure is also defined with initial state degree of saturation (or relative permeability), the pore-
pressure value is overwritten with the pore pressure corresponding to the initial-state degree of sat-
uration value (or initial state relative permeability value).
Most geomechanical analyses start with a geostatic stress step to establish the equilibrium stress
state of the soils under geostatic loading (p. 175), ensuring that the subsequent consolidation analysis
begins from an equilibrium state.
Initial stress, pore pressure, and void volume ratio are subject to soil weight and are therefore depth-
dependent. Initial pore pressure can be defined at element integration points or nodes. The initial
void volume ratio (ratio of the void volume to the solid skeleton volume) can be defined at element
integration points or nodes; the evolution of the void volume depends on the deformation of the
mechanical response of different phases of material.
You can use the function-based initial state (INISTATE) state capability to define depth-dependent
initial stress, depth-dependent initial pore pressure, and depth-dependent initial void volume ratio.
With function-based initial-state, initial stress, pore pressure and void volume ratio are linear functions
of coordinates; the data field can vary only linearly with a defined coordinate in a user-specified co-
ordinate system.
Command input:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 177
Direct Coupled-Field Analysis
INISTATE,SET,DATA,FUNC
INISTATE,SET,DTYP,S
! define initial stress SXX as a linear function of Y
INISTATE,DEFINE,ALL,,,,LINY,AXX,BXX
You can specify the same variation for all six stress components.
For more information, see Initial State in the Advanced Analysis Guide.
For the temperature field variable, define uniformly distributed temperature (TUNIF). You can also
define nodal (BF) and element (BFE) temperatures.
Command input:
TUNIF,temp
BF,node,TEMP,v1,v2, ...
BFE,elem,TEMP,1,v1,v2,v4,v5
INISTATE,DEFINE
If the temperature is applied to the nodes, the heat flow around the nodes is assumed to maintain
the temperature applied.
If the pore pressure is applied to the nodes, the free fluid flow around the nodes is assumed to
maintain the pressure applied.
Command input:
! prescribed displacement boundary UX to the node
D,node,UX,value
! prescribed pore pressure boundary to the node
D,node,PRES,value
! prescribed temperature boundary to the node
D,node,TEMP,value
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
178 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Pore-Fluid-Diffusion-Thermal Analysis
• Surface-pressure loads can be applied to lines (2-D elements) and faces (3-D elements) (SFE, SF).
• Body force loading (such as gravity) can be applied (BF, BFE, ACEL).
• Fluid flow (FLOW) can be applied directly to nodes (F). A positive flow value indicates flow out of the
node. A negative value indicates flow into the node.
• Surface flow flux (FFLX) can be applied to element edges (2-D elements) or faces (3-D elements) (SFE,
SF). A positive flux indicates fluid flow into the element. A negative flux indicates flow out of element
edges or faces.
• Flow source (FSOU) can be applied to elements as body force (BFE). A positive flow source indicates
fluid flows into elements. A negative flow source indicates fluid flow out of elements.
• Flow source (FSOU) can also be applied to nodes as a concentrated flow source (BF). A positive flow
source indicates fluid flows into porous media through the node. A negative flow source indicates fluid
flow out of porous media through the node.
• Heat flow (HEAT) can be directly applied to nodes (F). A positive flow value indicates flow into the node.
A negative value indicates flow out of the node.
• Surface thermal flux (HFLUX) can be applied to element edges (2-D elements) or faces (3-D elements)
(SFE, SF). A positive flux indicates heat flow into the element. A negative flux indicates heat flow out of
element edges or faces.
• Heat source (HGEN) can be applied to elements/nodes as body force (BFE, BF). A positive heat source
indicates heat flows into elements/nodes. A negative heat source indicates heat flows out of ele-
ments/nodes.
• Temperature loading (TEMP) can be applied to elements/node as body force (BFE, BF).
To account for the specific weight of fluid in the fluid flow, define it via the fluid-property option
(TBOPT = FP).
To account for the specific weight of porous-media bulk gravity load, define both the solid property
(TBOPT = SP) and the fluid property (TBOPT = FP).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 179
Direct Coupled-Field Analysis
where:
Important:
Specific weight is always applied at the beginning of a solution as step loading; therefore,
do not define the specific weight of bulk and the gravity load (ACEL) at the same time
for the same model.
Command input:
! apply bulk specific weight
SSOPT,SFSW,gx,gy,gz,ON,OFF
! apply fluid specific weight
SSOPT,SFSW,gx,gy,gz,OFF,ON
! apply both fluid and bulk specific weight
SSOPT,SFSW,gx,gy,gz,ON,ON
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
180 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Pore-Fluid-Diffusion-Thermal Analysis
Node output includes standard mechanical solution outputs such as displacement and reaction forces.
The pore-pressure and temperature degrees of freedom are also available for postprocessing. The
following variables and records are available for node postprocessing:
Element outputs include standard mechanical solution variables such as (total) stress, effective stress,
strain, plastic strain (if any), and strain energy densities. The pore-fluid-related quantities are fluid
flux, pore pressure and void volume ratio. The temperature-related quantities are thermal flux and
temperature. The following variables and records are available for element postprocessing:
S Stress
ESIG Effective stress
EPEL Elastic strain
EPPL Plastic strain
SEND Strain energy density
PMSVAR Porous media record (pore
(PPRES,VRAT,DSAT,RPER) pressure, void volume ratio,
degree of saturation, relative
permeability)
FFLX Element fluid flow flux
FGRA Element fluid pore-pressure
gradient
TF Element thermal flux
TG Element thermal gradient
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 181
Direct Coupled-Field Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
182 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Diffusion Analysis
For a coupled structural-diffusion analysis, you need to select the UX, UY, UZ, and CONC element
degrees of freedom by setting KEYOPT(1) to 100001 with PLANE223, SOLID226, or SOLID227.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 183
Direct Coupled-Field Analysis
The structural-diffusion KEYOPT settings also make large-deflection, stress-stiffening, and prestress
effects available (NLGEOM and PSTRES). (See Structures with Geometric Nonlinearities in the Theory
Reference for more information about these capabilities.)
SOLID227 - Coupled-Field
Tetrahedral
1. Select a coupled-field element that is appropriate for the analysis (Table 2.29: Elements Used in Structural-
Diffusion Analyses (p. 184)). Use KEYOPT (1) to select the UX, UY, UZ, and CONC element degrees of freedom.
• See the Structural Material Properties table in the PLANE223, SOLID226, and SOLID227 element descrip-
tions for details.
• If working with normalized concentration, specify saturated concentration (CSAT) (MP). For more in-
formation, see Normalized Concentration Approach in the Theory Reference.
4. To account for the diffusion strain effect (or backstress effect when used with electromigration):
• Specify the reference concentration (CREF) for the diffusion strain calculations (MP).
• Specify the atomic volume/Boltzmann constant ratio (Ω/k) using constant C2 (TBDATA) for the migration
table, TB,MIGR. Alternatively, you can specify the molar volume/universal gas constant ratio (Vm/R)
using the same format. For more information, see Migration Model in the Material Reference.
6. 6. If the diffusivity coefficients depend on temperature and hydrostatic stress as shown in Equation 5.7
of Migration Model in the Material Reference:
• Specify the activation energy/Boltzmann constant ratio (Ea/k) using constant C1 (TBDATA) for the
migration table, TB,MIGR. Alternatively, you can specify the activation energy/universal gas constant
ratio (Ea/R) using the same format.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
184 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Diffusion Analysis
• Specify the volume multiplier (h) using constant C7 (TBDATA)for the migration table, TB,MIGR.
7. Apply structural and diffusion loads, initial conditions, and boundary conditions:
• Structural loads, initial conditions, and boundary conditions include displacement (UX, UY, UZ), force
(F), pressure (PRES), and force density (FORC).
• Diffusion loads, initial conditions, and boundary conditions include concentration (CONC), diffusion
flow rate "force" (RATE), diffusion flux (DFLUX), and diffusing substance generation rate (DGEN).
8. Specify temperature:
• For a diffusion strain analysis, you can use KEYOPT(2) to select a strong (matrix) or weak (load vector)
structural-diffusion coupling. Strong coupling produces an unsymmetric matrix. In a linear analysis, a
strongly coupled response is achieved after one iteration. Weak coupling produces a symmetric matrix
and requires at least two iterations to achieve a coupled response.
• If using TB,MIGR, the analysis is nonlinear, and at least two iterations are required to achieve a coupled
response.
• For problems having convergence difficulties, activate the line-search capability (LNSRCH).
• Structural results include displacements (U), total strain (EPTO), elastic strain (EPEL), thermal strain
(EPTH), diffusion strain (EPDI), and stress (S). In an analysis with material or geometric nonlinearities
(NL), structural results include plastic yield stress (SEPL), accumulated equivalent plastic strain (EPEQ),
accumulated equivalent creep strain (CREQ), plastic yielding (SRAT), and hydrostatic pressure (HPRES).
• Diffusion results include concentration (CONC), concentration gradient (CG), and diffusion flux (DF).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 185
Direct Coupled-Field Analysis
t t
5 6
2 Ctop mat'l 2
2
3 4
X 1
1 2
Cbot mat'l 1
L
L 2
Problem Sketch Keypoint and Area Model
(not to scale)
The solution of the problem requires a coupled structural-diffusion analysis with large-deflection
effects, and therefore requires an iterative solution. Since the problem is symmetric, only one-half
of the beam is modeled. A convergence criteria for force is specified with a tight tolerance to obtain
a converged large-deflection solution.
Csat1 = 7 kg/m3
For material 2:
E2 = 4 x 109 Pa
D2 = 3 x 10-13 m2/s
Csat2 = 16 kg/m3
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
186 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Diffusion Analysis
2.13.3.3. Results
The beam deformation is shown in Figure 2.85: Bimorph Beam Deformation (p. 187).
/nopr
/PREP7
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 187
Direct Coupled-Field Analysis
NSEL,S,LOC,X,0
NSEL,R,LOC,Y,.05
D,ALL,UY
NSEL,S,LOC,Y,.1
D,ALL,CONC,1.0 ! APPLY TOP SURFACE CONCENTRATION (NORMALIZED)
NSEL,S,LOC,Y,0
D,ALL,CONC,1.0 ! APPLY BOTTOM SURFACE CONCENTRATION (NORMALIZED)
NSEL,S,LOC,X,5
DSYM,SYMM,0,X
NSEL,ALL
FINISH
/SOLU
CNVTOL,F,,,,0.1 ! CONVERGENCE BASED ON FORCE ONLY
SOLVE
FINISH
/POST1
SET,1
/DSCALE,1,1 ! TRUE SCALING OPTION
PLDISP,1 ! DISPLAY DEFLECTED AND UNDEFLECTED SHAPE
NSEL,S,LOC,X,5
NSEL,R,LOC,Y,.05
PRNSOL,U,COMP ! PRINT DISPLACEMENTS
FINISH
The gas properties are those of hydrogen in steel at 800 °C. A normalized concentration of 1.0 is
specified at the symmetry plane.
2.13.4.2. Results
The numerical results at the end of the simulation are shown in the following figures:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
188 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Diffusion Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 189
Direct Coupled-Field Analysis
lsel,s,,,1,5,4
lsel,a,,,9,10
al,all
lsel,s,,,2,4,1
lsel,a,,,10
al,all
lsel,s,,,6,9,1
al,all
lsel,all
lesize,1,,,20,10
lesize,5,,,20,.1
lesize,9,,,20,.1
lesize,10,,,20,.1
lesize,6,,,20,10
lesize,7,,,20,.1
lesize,8,,,20,.1
lesize,2,,,10,10
lesize,3,,,20,10
lesize,4,,,10,.1
mshape,0,2D
mshkey,1
amesh,all
finish
/solu
nsel,s,loc,x,0
d,all,ux,0 ! Constrain axis of symmetry
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
190 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Diffusion Analysis
nsel,s,loc,y,30e-3
sf,all,pres,-1e9 ! Load specimen in tension
nsel,all
bf,all,temp,800
toff,273
nlgeom,on
time,1
solve
finish
/post1
set,last
/title,Normalized Concentration
plnsol,conc ! Plot normalized concentration
/title,Hydrostatic Stress
plnsol,nl,hpres ! Plot hydrostatic stress
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 191
Direct Coupled-Field Analysis
For a coupled thermal-diffusion analysis, you need to select the TEMP and CONC element degrees of
freedom by setting KEYOPT(1) to 100010 with PLANE223, SOLID226, or SOLID227.
1. Select a coupled-field element that is appropriate for the analysis (Table 2.30: Elements Used in Thermal-
Diffusion Analyses (p. 192)). Use KEYOPT(1) to select the TEMP and CONC element degrees of freedom.
• To account for thermal transient effects, specify mass density (DENS) and specific heat (C) or enthalpy
(ENTH) (MP).
• If working with normalized concentration, specify saturated concentration (CSAT) (MP). For more in-
formation, see Normalized Concentration Approach in the Theory Reference.
• Specify the heat of transport/Boltzmann constant ratio (Q/k) using constant C3 (TBDATA) for the mi-
gration table, TB,MIGR. Alternatively, you can specify the molar heat of transport/universal gas constant
ratio (Q/R) using the same format. For more information, see Migration Model in the Material Reference.
5. If the diffusivity coefficients depends on temperature as shown in Equation 5.7 of Migration Model in
the Material Reference:
• Specify the activation energy/Boltzmann constant ratio (Ea/k) using constant C1 (TBDATA) for the
migration table, TB,MIGR. Alternatively, you can specify the activation energy/universal gas constant
ratio (Ea/R) using the same format.
6. Apply thermal and diffusion loads, initial conditions, and boundary conditions:
• Thermal loads, initial conditions, and boundary conditions include temperature (TEMP), heat flow rate
(HEAT), convection (CONV), heat flux (HFLUX), radiation (RDSF), and heat generation (HGEN).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
192 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Diffusion Analysis
• Diffusion loads, initial conditions, and boundary conditions include concentration (CONC), diffusion
flow rate "force" (RATE), diffusion flux (DFLUX), and diffusing substance generation rate (DGEN).
• You can use KEYOPT(2) to select a strong (matrix) or weak (load vector) thermal-diffusion coupling.
Strong coupling produces an unsymmetric matrix. Weak coupling produces a symmetric matrix, but
requires more iterations to achieve a coupled response.
• For problems having convergence difficulties, activate the line-search capability (LNSRCH).
• Thermal results include temperature (TEMP), thermal gradient (TG), and thermal flux (TF).
• Diffusion results include concentration (CONC), concentration gradient (CG), and diffusion flux (DF).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 193
Direct Coupled-Field Analysis
Three transient thermal-diffusion analyses with run times t = 3600 s are performed on the potato
slice to determine the effect of film coefficient and bulk temperature on drying. The outer surfaces
of the potato are subjected to a convection surface load and an applied normalized concentration
conc1 = 0. The concentration load simulates dry surrounding conditions.
The first analysis is performed with film coefficient h1 = 3.2e-5 W/mm2 °C and bulk temperature
temp1 = 60 °C.
The second analysis is performed with film coefficient h2 = 5.9e-5 W/mm2 °C and bulk temperature
temp1 = 60 °C.
The third analysis is performed with film coefficient h1 = 3.2e-5 W/mm2 °C and bulk temperature
temp2 = 85 °C.
Applied Concentration:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
194 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Diffusion Analysis
Bulk Temperature:
temp2 = 85 °C
Film Coefficient:
h1 = 3.2e-5
W/mm2 °C
2.14.3.2. Results
The node located at the center of the potato slice was used for postprocessing. The results indicate
that increasing the film coefficient increases the drying rate of the potato slice. Likewise, increasing
the air temperature also increases the drying rate.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 195
Direct Coupled-Field Analysis
Figure 2.89: Internal Temperature (˚C) vs Time (s) for Three Analyses
Figure 2.90: Internal Concentration (g/mm3) vs Time (s) for Three Analyses
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
196 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Diffusion Analysis
Figure 2.91: Moisture Mass of Entire Potato Slice (g) vs Time (s) for Three Analyses
! *** Loads
temp0=20 ! Initial potato temperature, degC
temp1=60 ! Bulk temp. for CASE1 and CASE2, degC
temp2=85 ! Bulk temperature for CASE3, degC
conc0=1 ! Initial normalized concentration
conc1=0 ! Applied normalized concentration
h1=3.2e-5 ! Film coefficient for CASE1 and CASE3, W/mm^2/degC
h2=5.9e-5 ! Film coefficient for CASE2, W/mm^2/degC
t=3600 ! Time, s
sub=40 ! Number of substeps
/PREP7
et,1,226,100010 ! Thermal-diffusion solid
keyopt,1,10,1 ! Diagonalized damping matrix
mshmid,2 ! No midside nodes
mp,kxx,1,k
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 197
Direct Coupled-Field Analysis
mp,dens,1,p
mp,csat,1,csat
mp,c,1,c
mptemp,1,t1,t2,t3,t4,t5,t6
mptemp,,t7,t8,t9
mpdata,dxx,1,1,d1,d2,d3,d4,d5,d6
mpdata,dxx,1,,d7,d8,d9
cyclic,0,r,0,h,0,90
esize,3
lesize,9,0.75
vmesh,all
/SOLU
antype,trans
outres,all,all
kbc,1 ! Stepped load
time,t
nsubs,sub
cnvtol,temp,1,1e-7
cnvtol,conc,1,1e-7
solve
fini
/POST1
*dim,concentration_,table,sub,3
*dim,mass_,table,sub,3
*dim,temp_,table,sub,3
*do,ii,1,sub
set,1,ii
*get,time_ii,active,,set,time
concentration_(ii,0)=time_ii ! Time, s
mass_(ii,0)=time_ii
temp_(ii,0)=time_ii
*get,center_conc,node,CENTER,conc
concentration_(ii,1)=center_conc ! Normalized concent., CASE1
*get,center_temp,node,CENTER,temp
temp_(ii,1)=center_temp ! Temperature, degC, CASE1
etable,conc,smisc,1
etable,volu,volu
smult,watr,conc,volu
ssum
*get,moisture,ssum,,item,watr
mass_(ii,1)=moisture*4 ! Moisture mass of entire slice, g, CASE1
*enddo
fini
/PREP7
! *** Loads
cmsel,s,OUTERSURFACE
sf,all,conv,h2,temp1 ! Convection surface load, CASE2
alls
ic,all,conc,conc0 ! Initial conditions
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
198 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Diffusion Analysis
ic,all,temp,temp0
fini
/SOLU
antype,trans
outres,all,all
kbc,1 ! Stepped load
time,t
nsubs,sub
cnvtol,temp,1,1e-7
cnvtol,conc,1,1e-7
solve
fini
/POST1
*do,ii,1,sub
set,1,ii
*get,time_ii,active,,set,time
*get,center_conc,node,CENTER,conc
concentration_(ii,2)=center_conc ! Normalized concent., CASE2
*get,center_temp,node,CENTER,temp
temp_(ii,2)=center_temp ! Temperature, degC, CASE2
etable,conc,smisc,1
etable,volu,volu
smult,watr,conc,volu
ssum
*get,moisture,ssum,,item,watr
mass_(ii,2)=moisture*4 ! Moisture mass of entire slice, g, CASE2
*enddo
fini
/PREP7
! *** Loads
cmsel,s,OUTERSURFACE
sf,all,conv,h1,temp2 ! Convection surface load, CASE3
alls
ic,all,conc,conc0 ! Initial conditions
ic,all,temp,temp0
fini
/SOLU
antype,trans
outres,all,all
kbc,1 ! Stepped load
time,t
nsubs,sub
cnvtol,temp,1,1e-7
cnvtol,conc,1,1e-7
solve
fini
/POST1
*do,ii,1,sub
set,1,ii
*get,time_ii,active,,set,time
*get,center_conc,node,CENTER,conc
concentration_(ii,3)=center_conc ! Normalized concent., CASE3
*get,center_temp,node,CENTER,temp
temp_(ii,3)=center_temp ! Temperature, degC, CASE3
etable,conc,smisc,1
etable,volu,volu
smult,watr,conc,volu
ssum
*get,moisture,ssum,,item,watr
mass_(ii,3)=moisture*4 ! Moisture mass of entire slice, g, CASE3
*enddo
/axlab,x,Time (s)
/xrange,,t+100
/gcolu,1,CASE1
/gcolu,2,CASE2
/gcolu,3,CASE3
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 199
Direct Coupled-Field Analysis
For coupled structural-thermal-diffusion analysis, you need to select the UX, UY, UZ, TEMP, and CONC
element degrees of freedom by setting KEYOPT(1) to 100011 with PLANE223, SOLID226, or SOLID227.
Thermomigration
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
200 of ANSYS, Inc. and its subsidiaries and affiliates.
Electric-Diffusion Analysis
For a coupled electric-diffusion analysis, you need to select the VOLT and CONC element degrees of
freedom by setting KEYOPT(1) to 100100 for the coupled-field element.
SOLID227 - Coupled-Field
Tetrahedral
1. Select a coupled-field element that is appropriate for the analysis (Table 2.33: Elements Used in
Electric-Diffusion Analyses (p. 201)). Use KEYOPT(1) to select the VOLT and CONC element degrees
of freedom.
• To account for electric transient effects, specify electrical permittivity (PERX, PERY, PERZ) (MP or
TB,DPER).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 201
Direct Coupled-Field Analysis
• If working with normalized concentration, specify saturated concentration (CSAT) (MP). For more
information, see Normalized Concentration Approach in the Theory Reference.
• Specify the particle effective charge/Boltzmann constant ratio (Ze/k) using constant C4 (TBDATA)
for the migration table, TB,MIGR. Alternatively, you can specify the molar charge/universal gas
constant ratio (ZF/R) using the same format. For more information, see Migration Model in the
Material Reference.
5. Apply electric and diffusion loads, initial conditions, and boundary conditions:
• Electric loads, initial conditions, and boundary conditions include scalar electric potential (VOLT)
and current flow (AMPS).
• Diffusion loads, initial conditions, and boundary conditions include concentration (CONC), diffusion
flow rate (RATE), diffusion flux (DFLUX), and diffusing substance generation rate (DGEN).
6. Specify temperature:
• You can use KEYOPT(2) to select a strong (matrix) or weak (load vector) electric-diffusion coupling.
Strong coupling produces an unsymmetric matrix. Weak coupling produces a symmetric matrix,
but requires more than two iterations to achieve a coupled response.
• If using TB,MIGR, the analysis is nonlinear, and at least two iterations are required to achieve a
coupled response.
• For problems having convergence difficulties, activate the line-search capability (LNSRCH).
• Electric results include electric potential (VOLT), electric field (EF), and electric current density (JC).
• Diffusion results include concentration (CONC), concentration gradient (CG), and diffusion flux
(DF).
Example
See VM220 in the ANSYS Mechanical APDL Verification Manual.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
202 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric-Diffusion Analysis
For a coupled thermal-electric-diffusion analysis, you need to select the TEMP, VOLT and CONC element
degrees of freedom by setting KEYOPT(1) to 100110 for the coupled-field element.
Thermomigration
Electromigration
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 203
Direct Coupled-Field Analysis
A transient analysis is performed for 100 hours to determine the distribution of temperature and
atomic concentration. The temperature evolves as the result of Joule heating and convection. The
atomic concentration changes is due to diffusion, electromigration and thermomigration. Temper-
ature-dependent diffusivity and the coefficients of thermo- and electromigration are specified using
the migration model (TB,MIGR).
2.17.3.2. Results
The numerical results at the end of the simulation are shown in the following figures:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
204 of ANSYS, Inc. and its subsidiaries and affiliates.
Thermal-Electric-Diffusion Analysis
wprota,,180
wpoffs,,,225
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 205
Direct Coupled-Field Analysis
vsbw,1
numcmp,volu
vdele,1,,,1
numcmp,volu
wpoffs,,,-450
vsbw,1
numcmp,volu
vdele,1
numcmp,volu
block,-400,600,-400,0,-40,0
wpoffs,,,450
block,-600,400,-400,0,0,40
vglue,all
numcmp,volu
vplot
!
! Constants and material coefficients in uMKS system of units
!
kB=1.3806488e-23*1.e12 ! Boltzmann constant, pJ/K
kB_eV=8.6173324e-5 ! Boltzmann constant, eV/K
! Copper (mat 1)
et,1,solid227,100110 ! thermal-electric-diffusion
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
206 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Electric-Diffusion Analysis
! Loads
f,nd,amps,2.85e12/2 ! total current for half-model, pA
/solu
antype,trans ! transient analysis
ic,all,conc,1 ! initial normalized concentration
ic,all,temp,25 ! initial temperature, degC
time,3.6e5 ! simulation time, s (100 hours)
nsubst,40
kbc,1
autots,off
outres,all,all
solve
finish
/post1
set,last,last
/title, Electric Current Density
plnsol,jc,sum ! plot electric current density
/title, Temperature ! plot temperature
plnsol,temp
/title, Normalized Concentration
plnsol,conc ! plot normalized concentration
finish
For a coupled structural-electric-diffusion analysis, you need to select the UX, UY, UZ, VOLT and CONC
element degrees of freedom by setting KEYOPT(1) to 100101 for the coupled-field elements.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 207
Direct Coupled-Field Analysis
A transient analysis is performed for 100 hours to determine the evolution of atomic concentration
over time as the atoms (ions) migrate under the gradient of hydrostatic stress (stress-migration),
the electric field (electromigration) and the gradient of concentration (diffusion).
The material parameters for stress-migration and electromigration are specified using the migration
model (TB,MIGR). Initially, only the thermal expansion determines the stress distribution. After the
atomic concentration changes from the initial equilibrium value, diffusion expansion contributes
to the stress state and thus to stress-migration (backstress).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
208 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Electric-Diffusion Analysis
2.18.3.2. Results
The numerical results at the end of the simulation are shown in the following figures:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 209
Direct Coupled-Field Analysis
wprota,,180
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
210 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Electric-Diffusion Analysis
wpoffs,,,225
vsbw,1
numcmp,volu
vdele,1,,,1
numcmp,volu
wpoffs,,,-450
vsbw,1
numcmp,volu
vdele,1
numcmp,volu
block,-400,600,-400,0,-40,0
wpoffs,,,450
block,-600,400,-400,0,0,40
vglue,all
numcmp,volu
vplot
!
! Constants and material coefficients in uMKS system of units
!
kB=1.3806488e-23*1.e12 ! Boltzmann constant, pJ/K
kB_eV=8.6173324e-5 ! Boltzmann constant, eV/K
! Copper (mat 1)
et,1,solid227,100101 ! structural-electric-diffusion
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 211
Direct Coupled-Field Analysis
tbdata,1,Ea/kB_eV ! diffusivity
tbdata,2,V2/kB ! hydrostatic stress migration
tbdata,4,Z2/kB_eV ! electromigration
type,1
mat,1
esize,40
vmesh,2,3
type,2
mat,2
vmesh,1
! Loads
bf,all,temp,200 ! temperature, degC
toffst,273 ! temperature offset from absolute zero to zero, degC
finish
/solu
antype,trans ! transient analysis
ic,all,conc,1 ! initial normalized concentration
time,3.6e5 ! simulation time, s (100 hours)
nsubst,40
kbc,1
autots,off
nlgeom,on ! large-deflection effects enabled
outres,all,all
solve
finish
/post1
set,last,last
/title, Electric potential
plnsol,volt
/title, Concentration
plnsol,conc
/title, Displacement
plnsol,u,sum
/title, Hydrostatic pressure
plnsol,nl,hpres
finish
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
212 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal-Electric-Diffusion Analysis
For coupled structural-thermal-electric-diffusion analysis, you need to select the UX, UY, UZ, TEMP,
VOLT and CONC element degrees of freedom by setting KEYOPT(1) to 100111 for the coupled-field
element.
Thermomigration
Electromigration
Example
The following example demonstrates structural-thermal-electric-diffusion analysis.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 213
Direct Coupled-Field Analysis
length=2e-3 ! m
height=0.05e-3 ! m
block,-length,0,0,height,0,height
esize,height
vmesh,all
nsel,s,loc,x,0
d,all,volt,0 ! ground
nsel,s,loc,x,-length
cp,1,volt,all
nd=ndnext(0)
allsel
nsel,s,ext
sf,all,conv,5,25 ! convection coefficient, W/(m^2*degC)
nsel,all
/solu
antype,trans ! transient analysis
kbc,1
ic,all,conc,1 ! initial concentration
ic,all,temp,25 ! initial temperature
outres,all,all
nsubst,50
time,60*60 ! simulation time, s (1 hour)
autots,off
cnvtol,conc,1,1e-2
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
214 of ANSYS, Inc. and its subsidiaries and affiliates.
Structural-Thermal-Electric-Diffusion Analysis
nlgeom,on
solve
finish
/post26
esol,2,length/height,,nl,hpres
/axlab,x,Time (s)
/axlab,y, Hydrostatic stress @ x=0 (Pa)
plvar,2
finish
/post1
set,last,last
/title, Normalized concentration
plnsol,conc
finish
Hydrostatic stress:
Normalized Concentration:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 215
Direct Coupled-Field Analysis
The Mechanical APDL Verification Manual consists of test case analyses demonstrating the analysis cap-
abilities of the program. While these test cases demonstrate solutions to realistic analysis problems, the
Mechanical APDL Verification Manual does not present them as step-by-step examples with lengthy data
input instructions and printouts. However, most users who have at least limited finite element experience
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
216 of ANSYS, Inc. and its subsidiaries and affiliates.
Other Coupled-Field Analysis Examples
should be able to determine missing details by reviewing each test case's finite element model and
input data with accompanying comments.
Also check the Technology Demonstration Guide for more comprehensive example coupled-field analysis
problems, including the following:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 217
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
218 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 3: Load-Transfer Coupled Physics Analysis
A load-transfer coupled physics analysis is the combination of analyses from different engineering dis-
ciplines that interact to solve a global engineering problem. For convenience, this chapter refers to the
solutions and procedures associated with a particular engineering discipline as a physics analysis. When
the input of one physics analysis depends on the results from another analysis, the analyses are coupled.
Some cases use only one-way coupling. For example, in a thermal-stress problem you perform a thermal
analysis and then transfer temperatures to the structure for stress calculations. In practice, the thermal
expansion is small enough so that the temperature solution is not affected. Thus, there is no need to
iterate.
A more complicated case is the induction-heating problem, where an AC electromagnetic analysis cal-
culates Joule heat generation data which a transient thermal analysis uses to predict a time-dependent
temperature solution. The induction-heating problem is complicated further by the fact that the mater-
ial properties in both physics simulations depend highly on temperature. This analysis requires iteration
between the two simulations.
The term load-transfer coupled physics refers to using the results of one physics simulation as loads for
the next. If the analyses are fully coupled, results of the second analysis will change some input to the
first analysis. Boundary conditions and loads can be categorized as follows:
• Base physics loads, which are not a function of other physics analyses. Such loads also are called nominal
boundary conditions.
Mechanical APDL enables you to solve analyses involving these typical physics:
• Thermal stress
• Induction heating
• Magneto-structural interaction
• Electrostatic-structural interaction
• Current conduction-magnetostatics
Mechanical APDL can perform multiphysics analyses with a single database and single set of nodes and
elements for the entire model. What these elements represent are changes from one physics analysis
to another, based on the use of the physics environment concept.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 219
Load-Transfer Coupled Physics Analysis
You can define up to nine physics environments for a particular jobname with a unique title for each
(PHYSICS). Mechanical APDL gives each physics environment a unique number as part of its file extension.
It is good practice to use a title that describes the physics being used. The title should also differ from
the analysis title (/TITLE) (Utility Menu> File> Change Title).
PHYSICS,WRITE creates a physics environment file (Jobname.PH1, for example) by taking the following
information from the Mechanical APDL database:
• Real constants
• Material properties
• Constraint equations
PHYSICS,READ (Main Menu> Preprocessor> Physics> Environment> Read) reads in a physics envir-
onment file, using either the filename or the title used in writing the file. (The title is included as a
comment at the top of the physics environment file.) Before reading the physics file, Mechanical APDL
clears all boundary conditions, loads, node coupling, material properties, analysis options, and constraint
equations that exist in the database.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
220 of ANSYS, Inc. and its subsidiaries and affiliates.
General Analysis Procedures
Figure 3.1: Data Flow for a Load Transfer Coupled-Field Analysis Using Separate Databases (p. 221) shows
the data flow for a typical load-transfer analysis done with separate databases. Each database contains
the appropriate solid model, elements, loads, etc. You can read information from a results file from the
first database into another database. Element and node numbers must be consistent between the
databases and the results file.
Figure 3.1: Data Flow for a Load Transfer Coupled-Field Analysis Using Separate Databases
Figure 3.2: Data Flow for a Load Transfer Coupled Physics Analysis Using Multiple Physics Environ-
ments (p. 222) shows the data flow using a single database and multiple physics environments. In this
approach, a single database must contain the elements and nodes for all the physics analyses that you
undertake. For each element or solid model entity, you must define a set of attribute numbers, including
an element type number, a material number, a real constant number, and an element coordinate system
number. All of these numbers will remain constant across all the analyses. However, the actual properties
associated with a given attribute number can vary among all the physics environments, as can the
definition of the parameters in real constant sets and the element type number. Regions of the model
may be inactive for a particular physics solution, as this chapter will explain later.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 221
Load-Transfer Coupled Physics Analysis
Figure 3.2: Data Flow for a Load Transfer Coupled Physics Analysis Using Multiple Physics
Environments
Build the Mechanical APDL database with the requirements of each physics environment in mind. Before
creating any physics environments, assign the element type number, material number, real constant
set number, and element coordinate set number of each distinct region for each area or volume (AATT
and VATT). Use caution when working with problems where a given area or volume is part of the
problem domain for two different physics types.
Using separate databases is ideal for one-way load-transfer coupling, such as a typical thermal-stress
analysis. Using a single database with multiple physics environments allows you to quickly switch
between physics environments, which is ideally suited for fully coupled scenarios requiring multiple
passes between physics solutions. Induction heating is a typical example of a case requiring the single
database/multiple physics environment approach.
The database file may grow during multiple solution passes. In that case, take one of the following actions:
• Issue SAVE after creating the physics environments and RESUME after each physics solution.
• Do not write results into the database (that is, write to the results file only); then, issue SET when you
want to read data from the results file into the database for postprocessing. To activate this option,
either issue /CONFIG,NOELAB,1 or insert NO_ELDBW = 1 into the config.ans file.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
222 of ANSYS, Inc. and its subsidiaries and affiliates.
Transferring Loads Between Physics
These analysis results ... Become loads on this type of analysis ...
Temperatures from a thermal analysis Body force for structural analyses or nodal
[TEMP, TBOT, TE2, . . . TTOP] loads (temperatures) for thermal analyses
Forces from a static, harmonic, or transient Force loads on a structural analysis
magnetic analysis [FORC]
Forces from an electrostatic analysis [FORC] Force loads on a structural analysis
Joule heating from a magnetic analysis Body force element (heat generation) loads
[HGEN] onto a thermal analysis
Source current density from a current Body force element (current density) loads
conduction analysis [JS] on a magnetic field analysis
Reaction loads from any analysis [REAC] Force loads on any analysis
Base geometry
An element's base geometry is established by the default configuration documented in the Element
Reference. For solid elements, base geometry includes quadrilateral, triangle, hexahedron (brick),
and tetrahedron shapes.
Degenerate geometry
Many elements may take on a degenerate form from the base geometry. For instance, a quadrilat-
eral element may degenerate to a triangle element, or a brick element may degenerate to a wedge,
tetrahedron, or pyramid shape.
Element order
Elements are available in a lower order form (first order) or a higher order form (second order). The
higher order elements have midside nodes; the lower order elements do not. In many instances,
you can generate the higher order elements without midside nodes.
Across multiphysics environments, element types must maintain a consistent base geometry. If an
element type allows a degenerate geometry, the corresponding element type in the other physics
must also allow the same degenerate geometry.
Elements of different element order may or may not be compatible across physics environments. The
nature of the coupled load read by LDREAD determines compatibility. Also, some element types have
specific KEYOPT options supporting lower- and higher-order coupled-load transfer.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 223
Load-Transfer Coupled Physics Analysis
You can read the followings loads from first- or second-order elements and apply them to first- or
second-order elements in another physics environment:
If physics environments are established by switching between element orders, initially create the finite
element mesh with the higher-order elements:
Note:
If a mesh involves a degenerate element shape, the corresponding element type must allow
the same degenerate shape. To be compatible, elements with a VOLT degree of freedom
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
224 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing a Load Transfer Coupled Physics Analysis with Multiple Physics Environ-
ments
must also have the same reaction force (see Element Compatibility in the Low-Frequency
Electromagnetic Analysis Guide).
2. Element KEYOPT option required to support first order elements requiring forces.
1. Build a model that meets the requirements of each physics discipline that will be addressed. Keep the fol-
lowing points in mind:
• Each solid model area or volume defined has its own particular needs with respect to element type,
material properties, and real constants. All solid model entities should have element type numbers, real
constant set numbers, material numbers, and element coordinate system numbers applied. (Their
meaning will change according to the physics environment.)
• Certain groups of areas or volumes will be used in two or more different physics environments. The mesh
you use must be suitable for all environments.
2. Create the physics environment. You perform this step for each physics discipline that is part of the load-
transfer coupled physics analysis.
• Refer to various sections of the Mechanical APDL analysis guides as necessary to determine what to
specify for a specific physics analysis.
• Define the necessary element types to be used in a physics simulation (for example, ET,1,13 or ET,2,117
for a magnetic solution). Set the "null" element type (Type = 0, i.e. ET,3,0) for use in regions not associated
with or needed for a given physics. Elements assigned to the null element type are ignored during
solution.
• Assign material properties, real constant set data, and element coordinate systems as needed, in accord-
ance with the established attribute numbers defined earlier for the model.
• Assign attribute numbers for element type, materials, real constants, and element coordinate systems
to the solid model areas or volumes (AATT [Main Menu> Preprocessor> Meshing> Mesh Attributes>
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 225
Load-Transfer Coupled Physics Analysis
All Areas or Picked Areas] or VATT [Main Menu> Preprocessor> Meshing> Mesh Attributes> All
Volumes or Picked Volumes]).
• Apply the nominal loads and boundary conditions. The conditions are those that are the same (for a
steady-state problem) for each execution of this physics analysis in the overall iterative procedure.
• Select a title for the physics environment and issue PHYSICS,WRITE with that title.
• Clear the database of the present physics environment in order to create the next physics environment.
This is done by issuing the PHYSICS,Clear option.
Command(s): PHYSICS,CLEAR
GUI: Main Menu> Preprocessor> Physics> Environment> Clear
Assuming that the jobname for this multiphysics analysis is "Induct" and these are the first two
physics environment files written, the files would be named Induct.PH1 and Induct.PH2.
3. Perform the load-transfer coupled physics analysis, performing each physics analysis in turn.
/SOLU ! Enter solution
PHYSICS,READ,Magnetics ! Contains magnetics environment
SOLVE
FINISH
/SOLU
PHYSICS,READ,Thermal
LDREAD,FORCE,,,,2,,rmg ! Magnetic Lorentz forces
SOLVE
The filename extensions (LDREAD,,,,,,Fname, Ext) are associated with the results file being read in.
Results from a thermal analysis are read from a Jobname.RTH file. All other results except magnetics
are read from a Jobname.RST file.
Figure 3.3: Beam Above Ground Plane (p. 227) illustrates a typical electrostatic-structural coupling
problem requiring mesh updating. In this problem, a beam sits above a ground plane at zero potential.
A voltage applied to the beam causes it to deflect (from electrostatic forces) toward the ground plane.
As the beam deflects, the electrostatic field changes, resulting in an increasing force on the beam as
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
226 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing a Load Transfer Coupled Physics Analysis with Multiple Physics Environ-
ments
it approaches the ground plane. At a displaced equilibrium, the electrostatic forces balance the
restoring elastic forces of the beam.
To run a simulation of this problem requires adjustment of the field mesh to coincide with the de-
formed structural mesh. In Mechanical APDL, this adjustment is known as mesh morphing.
To accomplish mesh morphing, issue DAMORPH (morphing elements attached to areas), DVMORPH
(morphing elements attached to volumes, or DEMORPH (morphing selected elements). Specify RMSHKY
for one of the following mesh-morphing methods:
• Morphing -- The program moves nodes and elements of the "field" mesh to coincide with the deformed
structural mesh. In this case, it does not create any new nodes or elements or remove any nodes or
elements from the field region.
• Remeshing -- The program removes the field region mesh, and replaces it with a new mesh that coin-
cides with the deformed structural mesh. Remeshing does not alter the structural mesh. It connects
the new field mesh to the existing nodes and elements of the deformed structural mesh.
• Morphing or Remeshing (default) -- The program attempts to morph the field mesh first. If it fails to
morph, the program switches to remeshing the selected field region.
Mesh morphing affects only nodes and elements. It does not alter solid model entity geometry locations
(keypoints, lines, areas, volumes). It retains associativity of the nodes and elements with the solid
modeling entities. Nodes and elements attached to keypoints, lines, and areas internal to a region
selected for morphing may in fact move off these entities; however, the associativity will still remain.
Morphed fields must be in the global Cartesian coordinate system (CSYS = 0).
Use care when applying boundary conditions and loads to a region of the model undergoing mesh
morphing. Boundary conditions and loads applied to nodes and elements are appropriate only for
the morphing option. If boundary conditions and loads are applied directly to nodes and elements,
DAMORPH, DVMORPH, and DEMORPH require that these be removed before remeshing can take
place. Boundary conditions and loads applied to solid modeling entities will correctly transfer to the
new mesh. Since the default option may morph or remesh, you are better off assigning only solid
model boundary conditions to your model.
Also use care with initial conditions (IC). Before a structural analysis is performed, DAMORPH, DV-
MORPH, and DEMORPH require that initial conditions be removed from all null element type nodes
in the non-structural regions. Issue ICDELE to delete the initial conditions.
The morphing algorithm determines whether the element is suitable for subsequent solutions. It
queries the element type in the morphing elements for shape-checking parameters. In some cases,
the elements in the morphing region may be the null element type (Type 0). In this case, the shape-
checking criteria may not be as rigorous as the shape-checking criteria for a particular analysis element
type. This may result in elements failing the shape-checking test during the analysis phase of a sub-
sequent solution in the field domain. To avoid this problem, reassign the element type from the null
element type prior to issuing the morphing command.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 227
Load-Transfer Coupled Physics Analysis
Displacements results from a structural analysis must be in the database prior to issuing a morphing
command. Results are in the database after a structural solution, or after reading in the results from
the results file (SET in POST1). The structural nodes of the model move to the deformed position
from the computed displacements. If performing a subsequent structural analysis, always restore the
structural nodes to their original position by selecting the structural nodes and issuing UPCOORD
with a FACTOR of -1.0:
Command(s): UPCOORD,Factor
GUI: Main Menu> Solution> Load Step Opts> Other> Updt Node Coord
Mesh morphing supports all 2-D models meshed with quadrilateral and triangular lower and higher
order elements. For 2-D models, all nodes and elements must be in the same plane. Arbitrary curved
surfaces are not supported. In 3-D, only models with the following shape configurations and morphing
options are supported.
Mesh morphing will most likely succeed for meshes with uniform-sided elements (such as those created
via SMRTSIZE). Highly distorted elements may fail to morph.
Figure 3.4: Area Model of Beam and Air Region (p. 228) illustrates a beam region immersed within an
electrostatic region. Area 1 represents the beam model and Area 2 represents the electrostatic region.
In this scenario, you would select Area 2 for morphing.
In many instances, only a portion of the model requires morphing (that is, the region in the immediate
vicinity of the structural region). In this case, you should only select the areas or volumes in the im-
mediate vicinity of the structural model. Figure 3.5: Area Model of Beam and Multiple Air Regions (p. 229)
illustrates the beam example with multiple electrostatic areas. Only Area 3 requires mesh morphing.
In order to maintain mesh compatibility with the nonmorphed region, the morphing algorithm does
not alter the nodes and elements at the boundary of the selected morphing areas or volumes. In this
example, it would not alter the nodes at the interface of Areas 2 and 3.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
228 of ANSYS, Inc. and its subsidiaries and affiliates.
Example Thermal-Stress Analysis Using Separate Databases
To perform mesh morphing at the end of a structural analysis, issue the following:
Command(s): DAMORPH, DVMORPH, DEMORPH
GUI: Main Menu> Preprocessor> Meshing> Modify Mesh> Refine At> Areas
Main Menu> Preprocessor> Meshing> Modify Mesh> Refine At> Volumes
Main Menu> Preprocessor> Meshing> Modify Mesh> Refine At> Elements
An alternative mesh-morphing command, MORPH, is also available. It is generally more robust than
DAMORPH, DVMORPH, and DEMORPH and can be used with all element types and shapes. To prepare
a non-structural mesh for morphing via MORPH:
3. Apply appropriate structural boundary condition constraints to the boundary of the non-structural
mesh. (Typically, normal components of displacement are set to zero.)
1. Issue /ASSIGN to redirect the file assignment for the EMAT and ESAV files prior to solving the physics
domain requiring a restart.
3. Issue /ASSIGN to redirect the file assignments for the EMAT and ESAV files to their default values for
use by the other physics domains.
The example induction-heating problem (p. 234) uses a transient restart thermal analysis.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 229
Load-Transfer Coupled Physics Analysis
Two long, thick-walled cylinders, concentric about the cylinder axis, are maintained at a temperature
(Ti) on the inner surface and on the outer surface (To). The object of the problem is to determine the
temperature distribution, axial stress, and hoop stress in the cylinders.
Material Properties
Geometric Inner Cylinder Outer Cylinder
Properties Loading (steel) (aluminum)
a = .1875 in. Ti = 200°F E = 30 x 106 psi E = 10.6 x 106 psi
b = .40 in. To = 70°F α = .65 x 10-5 in/in°F α = 1.35 x 10-5 in/in°F
c = .60 in. ν = 0.3 ν = 0.33
K = 2.2 btu/hr-in-°F K = 10.8 btu/hr-in-°F
Procedure:
2. Return to PREP7 and modify the database. You will need to switch element types, specify additional mater-
ial properties, and specify structural boundary conditions.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
230 of ANSYS, Inc. and its subsidiaries and affiliates.
Example Thermal-Stress Analysis Using Multiple Physics Environments
In this specific case, it may not be advantageous to use this approach because the problem is a simple
one-way coupling. It will, however, allow for quick switching between physics environments for sub-
sequent modeling or analysis.
Procedure:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 231
Load-Transfer Coupled Physics Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
232 of ANSYS, Inc. and its subsidiaries and affiliates.
Example Thermal-Stress Analysis Using Multiple Physics Environments
/solu
physics,read,struct ! Read structural physics file
ldread,temp,,,,,,rth ! Read in temperatures from thermal run
solve ! Solve structural problem
finish
/post1
paresu,raidal,filea ! Restore path
pmap,,mat ! Set path mapping to handle material discontinuity
pdef,sx,s,x ! Interpret radial stress
pdef,sz,s,z ! Interpret hoop stress
plpath,sx,sz ! Plot stresses
plpagm,sx,,node ! Plot radial stress on path geometry
finish
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 233
Load-Transfer Coupled Physics Analysis
A simplified geometry considers only a finite length strip of the long billet, essentially reducing the
problem to a one-dimensional study as shown in Figure 3.8: Axisymmetric 1-D Slice of the Induction-
Heating Domain (p. 234).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
234 of ANSYS, Inc. and its subsidiaries and affiliates.
Example Induction-Heating Analysis Using Physics Environments
3.7.2. Procedure
The billet will heat up to over 700°C. This temperature dependency of the material properties must
be considered for both the thermal problem and the electromagnetic problem. You must solve the
problem sequentially, first doing an AC harmonic electromagnetic analysis and then a transient thermal
analysis. In addition, you must repeat the electromagnetic analysis at various time intervals to correct
for temperature dependent properties which will affect the solution and hence the heating load to
the billet. Figure 3.9: Solution Flow Diagram (p. 235) shows the solution flow diagram.
Procedure:
3.7.2.1. Step 1: Develop Attribute Relationship
3.7.2.2. Step2: Build the Model
3.7.2.3. Step 3: Create Electromagnetic Physics Environment
3.7.2.4. Step 4: Create Thermal Physics Environment
3.7.2.5. Step 5: Write Thermal Physics Environment
3.7.2.6. Step 6: Prepare DO Loop
3.7.2.7. Step 7: Repeat Prior Step
3.7.2.8. Step 8: Postprocess Results
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 235
Load-Transfer Coupled Physics Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
236 of ANSYS, Inc. and its subsidiaries and affiliates.
Example Induction-Heating Analysis Using Physics Environments
• Change the element types from electromagnetic to thermal as well as KEYOPT options. Specify the null
element type in the air and coil region (assume the heat transfer analysis only considers the billet).
Command(s): PHYSICS,WRITE
GUI: Main Menu> Preprocessor> Physics> Environment> Write
Main Menu> Solution> Physics> Environment> Write
• Read in the electromagnetic physics environment and solve the harmonic analysis.
Command(s): SOLVE
GUI: Main Menu> Solution> Solve> Current LS
• Read in the temperatures and body force loads for material property evaluation.
Command(s): LDREAD
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 237
Load-Transfer Coupled Physics Analysis
GUI: Main Menu> Preprocessor> Define Loads> Apply> Structural> Temperature> From Therm
Analy
• Use /ASSIGN to redirect the file assignment for the ESAV and EMAT files for future use in a thermal
transient restart.
Command(s): /ASSIGN
GUI: Utility Menu> File> ANSYS File Options
• Read in the Joule heat generation rate from the electromagnetic analysis.
Command(s): LDREAD
GUI: Main Menu> Preprocessor> Define Loads> Apply> Thermal> Heat Generat> From Mag Analy
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
238 of ANSYS, Inc. and its subsidiaries and affiliates.
Example Induction-Heating Analysis Using Physics Environments
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 239
Load-Transfer Coupled Physics Analysis
3.7.4. Results
Figure 3.12: Temperature Response of Solid Cylinder Billet (p. 241) shows the temperature results ob-
tained in this analysis.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
240 of ANSYS, Inc. and its subsidiaries and affiliates.
Example Induction-Heating Analysis Using Physics Environments
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 241
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
242 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 4: Unidirectional Load-Transfer
Sometimes you can couple a fluid-solid interaction analysis by unidirectional load-transfer. This method
requires that you know that the fluid analysis results do not affect the solid loads significantly, or vice-
versa. The load-transfer occurs external to the analyses.
The unidirectional load-transfer method is available in the ANSYS Mechanical Enterprise family of
products (ANSYS Mechanical Enterprise, ANSYS Mechanical Enterprise PrepPost, and ANSYS Mechanical
Enterprise Solver). It supports all 3-D structural (solid and shell), thermal, electromagnetic, and coupled-
field elements. The coordinate system must be global Cartesian. For Mechanical APDL to CFX load-
transfer, valid load types are: displacement, temperature, and heat flux for 2-D surface loads, and dis-
placement, force density and heat generation for 3-D loads.
1. Create a component or assembly for the nodes where the loads will be exported.
In the Mechanical APDL preprocessor (/PREP7), issue NSEL to select a subset of nodes, then issue
CM to create a named component. If nodes from more than one component are to be exported
into the profile file, issue CMGRP to group components into assemblies.
Alternatively, Mechanical APDL also allows for load-transfer by flagging field surface and volume
interfaces in the /PREP7 or /SOLU processor. Flagged surfaces sharing a common surface interface
number will exchange surface load data; flagged volumes sharing a common volume interface
number will exchange volume load data.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 243
Unidirectional Load-Transfer
For surface load-transfer across fields, use the following SF family of commands and the FSIN surface
load label. Use the VALUE2, VAL2, and VALJ arguments to specify the surface interface number.
Following is a list of element types that support the SF family of commands for surface load-transfer
with the field surface interface (FSIN) flag.
For volumetric load-transfer, issue BFE and the FVIN volume load label. Use VAL2 to specify the
volume interface number.
2. In the Mechanical APDL postprocessor, ensure that the Mechanical APDL database is the one saved after
the solution and that the desired results are loaded into the database. Otherwise, issue RESUME to resume
a database file into the program and then issue FILE to specify the data file corresponding to the desired
results. For loads not specified directly via commands (such as SF or BF) and not yet loaded into the database
(or not from the desired load step/substep), use SET or LCASE to read the data set at the desired load
step/substep from the results file.
3. Specify the unit labels for the transferred loads to be written in the file via EXUNIT, repeating the command
for each unit label.
If the system of units is not the SI system, issue EXUNIT before the file is written (EXPROFILE);
otherwise, the units written default to the SI system.
4. Specify export options to include mesh connectivity and precision for the profile file (EXOPTION):
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
244 of ANSYS, Inc. and its subsidiaries and affiliates.
Unidirectional Pressure Mapping: CFD to Mechanical APDL
5. Write the profile file for CFX by issuing (and reissuing for each load type) the following command in /POST1:
If a surface or volume interface number (VALUE) is set to zero (default), the data for the selected
subset of nodes is exported. You can issue CMSEL before issuing EXPROFILE, export previously
defined nodes (CM or CMGRP), or use the named selection defined in ANSYS Workbench.
To export multiple loads, specify a unique file name for each load.
EXPROFILE notes:
• The nodes being exported must be selected. Loads on unselected nodes are not exported.
• All nodes of the element face must be selected; otherwise, all nodes on that face are ignored.
• If higher-order elements are used in the model, the loads on midpoint nodes are properly redis-
tributed to corner nodes if necessary so that only loads on corner nodes are exported.
• For a cyclic symmetry analysis, select only the base nodes and elements, as the duplicate nodes
are automatically selected by Mechanical APDL.
The following commands provide an example of exporting mass-average mode shapes from a modal
analysis on previously defined nodes (ALLBLADESURFACE):
/post1
set,1,1 ! Load the results of interest
allsel,all ! Select all entities
cmsel,s,ALLBLADESURFACE ! Select a subset of nodes for export
exoption,surf,precision,8 ! Set 8 significant digits for the fractional part of real data
exoption,surf,connectivity,on ! Add face connectivity to the CSV profile file.
exprofile,surf,disp,0,'meshdisp',disp1,csv ! Export the mass-average mode shape
! to the CSV profile file (disp1.csv)
The CFD pressure data (coordinates and pressure values) are contained in a text file that you read in.
The data is mapped to the target nodes and written as SFE commands to a file for subsequent reading
into a structural static, transient, or harmonic analysis. The mapping and interpolation is performed
using the same point cloud algorithm as *MOPER,,,MAP:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 245
Unidirectional Load-Transfer
1. Resume the model (RESUME) containing the nodes and elements to which the pressures will be applied.
The target nodes must also have been surface meshed with SURF154 elements (ESURF) in order to accept
the pressure loads.
3. Identify the target nodes (TARGET). A nodal component named TARGETNODES and an element component
named TARGETELEMS are automatically created.
4. Specify the type of file that contains the source points and pressures (FTYPE). The following file types are
supported:
• CFXTBR - File from a CFX Transient Blade Row analysis. Request this output in the Export Results tab of
CFX-Pre with [Export Surface Name]: Option set to Harmonic Forced Response.
• CFDPOST - File from a CFD-Post export. Select BC Profile from the Profile Type under Export action.
• FORMATTED - A generic fixed-formatted text file containing, at a minimum, x, y, z, pressure (and the
imaginary pressure values if pressures are complex) in that order. You may have other columns of data
between the required data values.
• CSV - A comma-separated values file, with each field (column) of data separated by a comma. The fields
need not be of the same width, and the data can be in any order. The file must contain at least x, y, z,
pressure values (and the imaginary pressure values if pressures are complex).
5. Read in the data (READ). Specify the number of rows to skip if header information is on the file. For
FORMATTED files, also specify the data format using the FORTRAN FORMAT convention. For CSV files, also
specify the fields containing the x, y, z, pressure data. Upon reading, nodes are created for the source
points. For CFXTBR and CFDPOST files, if face data ([Faces]) is available, SURF154 elements are also created.
A nodal component named SOURCENODES and an element component named SOURCEELEMS are auto-
matically created.
7. If the source nodes need to be moved to align with the target geometry, you may use the subset of /PREP7
node commands listed below. Target nodes may not be modified.
8. Perform the mapping operation (MAP). The source pressures are mapped to the centroids of the target
SURF154 elements (and not the target nodes). The mesh of the structural model should be of sufficient
refinement to capture the CFD pressure field.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
246 of ANSYS, Inc. and its subsidiaries and affiliates.
Unidirectional Pressure Mapping: CFD to Mechanical APDL
10. Once mapped, the pressures on the target nodes may be modified via the following commands:
11. Write the pressure values to a file (WRITEMAP). The data is written in the form of SFE commands applied
to the target SURF154 elements.
12. Exit the /MAP processor (FINISH). The original database (BeforeMapping.DB) is resumed. (See the Note
below.)
13. Apply the mapped pressure loads to the model (/INPUT) when the analysis requires them.
Note:
After the target nodes are defined (TARGET), or before the source points are read in (READ,
if issued first), the current database is saved as BeforeMapping.DB and the nodes and
elements not on the target surface are deleted to make it easier for you to work with the
mapping entities.
If using NGEN to rotate the source nodes (DY ≠ 0), and the active coordinate system is either the cyclic
coordinate system (CYCLIC) or the coordinate system defined by the CFX rotation axis (CFXTBR file
only), the source pressures are also rotated according to:
Pθ = Peiθ
where P are the complex pressures on the source nodes that are rotated and θ is the rotation angle
(DY). Rotating the source nodes is useful when only one passage is modeled in the CFD analysis, and
the suction (or pressure) side of the one blade side must be rotated in order to assemble a full blade;
that is, suction and pressure side on one contiguous blade for the structural analysis.
During the mapping operation (MAP), any target element centroids (output points) found to be outside
the region defined by the source nodes are not mapped, and a warning message is issued. This may
be due to the target mesh being irregular (such as a tetrahedral mesh) or coarse in areas of high
curvature; a higher LIMIT value may help to map these points. The output point numbers in the
warning messages start at 1. To see which target elements a point corresponds to, add the first target
element number (minus 1) to the output point number. This number is output in a note following
mapping. Use the following command input to view the elements that are not mapped:
offset = firsttargetelement – 1
cmsel,u,targetelems
esel,a,elem,,offset+pt#1 ! pt number from the warning message
esel,a,elem,,offset+pt#2
.
. ! for many points, edit the .ERR file
. ! and create this input file
plgeom
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 247
Unidirectional Load-Transfer
• You must perform all operations in one session. (For example, you cannot perform some operations,
save the database, leave the /MAP processor (or the program), resume that database, and continue
the mapping operation).
• PLGEOM or PLMAP displays 2-D graphics (-d win32 or -d x11 on the command line or the
launcher, and any output to a graphics file [/SHOW,<format> or /UI,COPY,SAVE,<format>]) with all
source nodes.
3-D graphics show only those source nodes not hidden by the current view.
Issue the NSEL family of commands to display only those nodes on the visible surface.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
248 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 5: Coupled Physics Circuit Simulation
You can often perform coupled physics simulations using a circuit analogy. Components such as “lumped"
resistors, sources, capacitors, and inductors can represent electrical devices. Equivalent inductances and
resistances can represent magnetic devices, and springs, masses, and dampers can represent mechan-
ical devices. Mechanical APDL offers a set of tools to perform coupled simulations through circuits. A
Circuit Builder is available to conveniently create circuit elements for electrical, magnetic, piezoelectric,
and mechanical devices. See Using the Circuit Builder in the Low-Frequency Electromagnetic Analysis
Guide for details.
A coupled physics circuit simulation can be performed entirely with lumped elements. However in many
instances, due to the distributed nature of the physics component, nonlinearities, etc., a simple "reduced
order" element may not be sufficient. The Circuit capability allows you to combine both lumped elements
where appropriate, with a "distributed" finite element model in regions where characterization requires
a full finite element solution. What allows the combination of lumped and distributed models is a
common degree-of-freedom set between lumped elements and distributed elements.
Electromagnetic-Circuit Simulation (p. 249) describes the coupling of electrical circuits with distributed
electromagnetic finite element models to accurately model circuit-fed electromagnetic devices.
Electromechanical-Circuit Simulation (p. 251) describes the coupling of electric circuits, an electromech-
anical transducer, and structural lumped elements to model micro-electromechanical devices (MEMS)
driven by electrostatic-structural coupling.
Piezoelectric-Circuit Simulation (p. 253) describes the coupling of electrical circuits with distributed
piezoelectric finite element models to simulate circuit-fed piezoelectric devices.
For example problems, see Sample Electromechanical-Circuit Analysis (p. 256) and Sample Piezoelectric-
Circuit Analysis (Batch or Command Method) (p. 259).
To do a coupled electromagnetic-circuit analysis, you need to use the general circuit element (CIRCU124)
in conjunction with one of these element types:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 249
Coupled Physics Circuit Simulation
The analysis may be static, harmonic (AC), or transient, and follows the same procedure described in
the Low-Frequency Electromagnetic Analysis Guide. The circuit coupling is linear in that conductors are
assumed to have isotropic linear material properties, and the formulation is matrix-coupled. Nonlinear-
ities may exist in the electromagnetic domain to account for material saturation.
For stranded coils and massive conductors modeled with PLANE233 , SOLID236, or SOLID237 elements,
the CIRCU124 elements can be directly linked to the finite element domain.
The Circuit Builder is available to conveniently create circuit elements. See Using the Circuit Builder in
the Low-Frequency Electromagnetic Analysis Guide for details.
The recommended method is to model the finite element domain with PLANE233, SOLID236, or SOLID237
elements and directly couple them to the CIRCU124 element through the VOLT degree of freedom.
i
K
V=0
J Solid Conductor Source in
finite element domain
VOLT = 0
Circuit coupled solid source conductors can be used in static, harmonic, and transient analysis. However,
the solution within the conductor itself is limited to a DC current distribution with no eddy current
effects or back emf effects. The following elements offer the solid conductor source option:
The electromagnetic analysis options of SOLID236 and SOLID237 KEYOPT(1) = 1 use an electric scalar
potential (VOLT) that is compatible with the following CIRCU124 circuit elements:
Components
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
250 of ANSYS, Inc. and its subsidiaries and affiliates.
Electromechanical-Circuit Simulation
Resistor (KEYOPT(1) = 0)
Inductor (KEYOPT(1) = 1)
Capacitor (KEYOPT(1) = 2)
Mutual Inductor (KEYOPT(1) = 8)
Sources
You can also use the solenoidal formulation with the diode element (CIRCU125). Because the elements
are compatible, the CIRCU elements can be directly connected to the SOLID elements via the VOLT
degree of freedom.
Conductor symmetry - This type of symmetry involves modeling only part of a conductor due to
symmetric behavior of the magnetic field. For example, you can model a C-shaped magnet with a
single winding symmetrically placed about the return leg in half-symmetry. The real constants defined
for the finite element conductor regions automatically handle symmetry sectors by requiring you to
specify the full conductor area (real constant CARE, and also VOLU for 3-D). The program determines
from the conductor elements the fraction of the conductor modeled and appropriately handles the
symmetry model. Also, for 2-D planar problems you can specify the length of the device (real constant
LENG) which the program handles appropriately.
Circuit symmetry - For coupled electromagnetic-circuit simulation, you must model the entire electric
circuit of the device; however, you may be able to take advantage of symmetry in the finite element
domain. For example, you may only need to model one pole of a rotating electric machine to obtain
a finite element solution. However, you must model completely the circuit which accounts for all the
slot windings in the full machine.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 251
Coupled Physics Circuit Simulation
The Circuit Builder supports several mechanical lumped elements, an electromechanical transducer
element, as well as electrical circuit elements. These elements include:
Electrical:
Mechanical:
Transducer:
You can use all of the above element types in the construction of a reduced order electromechanical
model. The electrical options in CIRCU124 allow the construction of circuitry to feed an electromechan-
ical drive structure simulated by the transducer element TRANS126. The transducer element stores
electrical energy and converts it to mechanical energy. Mechanical elements attached to the transducer
element receive the mechanical energy and respond accordingly. You can also model the reverse process.
In this case, mechanical loads applied to the mechanical elements act on the transducer element, con-
verting mechanical energy into an electrical signal which can be passed through an electrical circuit to
achieve a desired signal response.
Springs and dampers are separate discrete elements in the circuit builder. While the elements COMBIN14
and COMBIN39 can simultaneously model both a spring and damper, for convenience and simplicity
the circuit builder allows only a spring or damper to be created for each circuit element constructed.
Icons for springs, dampers, and masses appear during the element definition. After inputting the real
constants, the final icon appears. If the element is nonlinear, a "bar" appears above the icon.
You can use the circuit builder to easily define the nodes, elements, and real constants for the transducer
elements (TRANS126) and the mechanical elements (COMBIN14, COMBIN39, MASS21). You use standard
procedures to define loads and boundary conditions for these elements.
More information on the circuit builder can be found in Using the Circuit Builder in the Low-Frequency
Electromagnetic Analysis Guide.
• You must align the TRANS126 element along the axis of the active structural degree of freedom. This is in
general along one of the three Global Cartesian Axes. If the nodes of the element are rotated into a local
coordinate system (NROTAT), you can align the element along the local coordinate system axis. The separ-
ation distance between the I and J nodes of the TRANS126 element is immaterial; however, the positioning
of the I and J nodes with respect to the axis is important. See TRANS126 in the Element Reference for more
information about valid orientations. It may be helpful to activate the working plane grid in the circuit
builder to ensure that the element is aligned properly. To do so, choose one of the following:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
252 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric-Circuit Simulation
• Align the mechanical spring and damper elements (COMBIN14, COMBIN39) along the axis of the active
structural degree of freedom. The separation distance between nodes is immaterial; however, the element
will not carry any moment that may be induced by an off-axis load. These elements normally issue a warning
when the I and J nodes are noncoincident; however, the circuit builder suppresses this warning with an
undocumented KEYOPT option (KEYOPT(2) = 1) set for the circuit builder.
Note:
You can directly attach reduced order electromechanical models to a structural finite element
model. This is advantageous when a structural component cannot be conveniently reduced
to a simple spring/mass/damper representation. The connection is done via common nodes
and their active degrees of freedom (or separate nodes and node coupling).
To do a coupled piezoelectric-circuit analysis, you need to use the piezoelectric circuit element (CIRCU94)
with one of the following piezoelectric elements:
You can connect electrical circuits directly to the 2-D or 3-D piezoelectric finite element models. Typical
applications include circuit-fed piezoelectric sensors and actuators, active and passive piezoelectric
dampers for vibration control, and crystal oscillator and filter circuits for communication systems.
You can use the CIRCU94 element to model the following components: resistor, inductor, capacitor,
independent current source, and independent voltage source. KEYOPT(1) defines the component type
as shown in Figure 5.2: CIRCU94 Components (p. 254). Real constants specify values for resistance, induct-
ance, and capacitance. For independent current and voltage sources, KEYOPT(2) specifies the type of
excitation. You can specify constant load (transient) or constant amplitude load (harmonic), sinusoidal,
pulse, exponential, or piecewise linear loads. Real constants specify the load functions. Besides the
source loads, the only other "load" is a VOLT = 0 specification (D) at the ground nodes (other nodal
loads are not recommended). For more information, see CIRCU94 in the Element Reference.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 253
Coupled Physics Circuit Simulation
VJ VJ VJ
KEYOPT(1) = 0 KEYOPT(1) = 1 KEYOPT(1) = 2
DOF = VOLT DOF = VOLT DOF = VOLT
Independent Independent
Current Source Voltage Source
VI VI
+ -qK
VJ VJ
KEYOPT(1) = 3 KEYOPT(1) = 4
DOF = VOLT DOF = VOLT (I,J), CURR (K)
KEYOPT(1) = 0, 1, 2, and 3 define resistor, inductor, capacitor and current source components using two
nodes I and J. To define a voltage source you need to specify a third, "passive," node (K) as shown for
KEYOPT(1) = 4. The program uses this node internally and it does not need to be attached to the circuit
or the piezoelectric finite element model. For all circuit components, positive current flows from node
I to node J.
To be compatible CIRCU94 and the piezoelectric elements must all have a negative electric charge re-
action solution. KEYOPT(6) sets the electric charge sign for CIRCU94. The following piezoelectric elements
have a negative electric charge reaction solution:
You can create a circuit by defining nodes, elements, element types, and real constants for each electric
component. However, it is more convenient to create a circuit model interactively using the Circuit
Builder. To build a circuit interactively, follow the procedure described in Using the Circuit Builder in
the Low-Frequency Electromagnetic Analysis Guide. To access the piezoelectric circuit components, choose
Main Menu> Preprocessor> Modeling> Create> Circuit> Builder> Piezoelectric.
When building an electric circuit, you should avoid inconsistent configurations as illustrated in Avoiding
Inconsistent Circuits in the Low-Frequency Electromagnetic Analysis Guide. Also, your model cannot intermix
CIRCU94 elements with other circuit elements (CIRCU124 and CIRCU125). Their finite element formulations
are not compatible (see Element Compatibility in the Low-Frequency Electromagnetic Analysis Guide).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
254 of ANSYS, Inc. and its subsidiaries and affiliates.
Piezoelectric-Circuit Simulation
You can directly connect an electrical circuit to a piezoelectric finite element model through a set of
common nodes (Figure 5.3: Electrical Circuit Connections (p. 255)) or by coupling separate nodes. The
location of the circuit with respect to the distributed piezoelectric domain is arbitrary and does not affect
the analysis results.
I Piezoelectric
Region
CIRCU94
Resistor
I
FEA Domain
J
The piezoelectric-circuit analysis can be either full transient or harmonic. You follow standard procedures
to define analysis options and to apply loads. Refer to Piezoelectric Analysis (p. 29) for recommendations
and restrictions that apply to piezoelectric analysis. You can activate geometric nonlinearities to account
for large deflections of the piezoelectric domain.
• Specify negative charge at a node via F and the AMPS or CHRG label.
CIRCU94 can work with both the AMPS and the CHRG label depending on the piezoelectric elements
in the model. PLANE13, SOLID5, and SOLID98 use the AMPS label (F), even though the reaction solution
is negative charge. PLANE223, SOLID226, SOLID227 use the CHRG label. If elements with AMPS and
CHRG labels are both present in the model, the label is set to the last one defined. For example, if
SOLID5 is defined and then SOLID226, the program switches to the CHRG label. No matter which label
is used, the elements in the model are charge-based.
For the independent current and voltage source options, you use KEYOPT(2) to specify the type of ex-
citation and the corresponding real constants to specify the load function. For transient analyses, you
can also use real constants to set the initial current in inductors or the initial voltage in capacitors.
Table 5.1: Piezoelectric Circuit Element Output Data (p. 255) summarizes the output data for CIRCU94.
For more information on nodal and element solutions, see Solution Output in the Element Reference.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 255
Coupled Physics Circuit Simulation
See Sample Piezoelectric-Circuit Analysis (Batch or Command Method) (p. 259) for an example problem.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
256 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Electromechanical-Circuit Analysis
The problem can be easily built in the Circuit Simulator using the electromechanical transducer element
(TRANS126), the mass element (MASS21), and the combination element (COMBIN14). The problem
uses the µMKSV system of units. For a parallel plate capacitor, the capacitance varies as a function
of the gap. The real constant C0 represents the capacitance relationship.
Four load steps simulate two pulse excitations on the transducer. You can apply the voltage to the
transducer either directly at the node (D), or through the use of the general circuit element (CIRCU124).
A large-signal nonlinear transient solution is run using auto time-stepping (AUTOTS). The resulting
displacements are plotted using POST26.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 257
Coupled Physics Circuit Simulation
5.4.2. Results
Figure 5.6: Mechanical Resonator Displacement (at Node 2) (p. 258) shows the resulting displacement.
et,3,14,,1 ! Spring
keyopt,3,7,1 ! This is an undocumented keyopt used to suppress
! a warning message about noncoincident nodes.
! It does not alter the performance of the element.
! It is not intended for general use.
r,3,200,,,.05,1 ! k=200 µN/ µm, graphical offsets
n,3,0.2
type,3
real,3
e,2,3
et,4,14,,1 ! Damper
keyopt,4,7,1 ! This is an undocumented keyopt used to suppress
! a warning message about noncoincident nodes.
! It does not alter the performance of the element.
! It is not intended for general use.
r,4,,40e-3,,-.05,1 ! Damping coeff=40e-3 µMs/ µm, graphical offsets
type,4
real,4
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
258 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Piezoelectric-Circuit Analysis (Batch or Command Method)
e,2,3
nsel,s,node,,1,3,2
d,all,ux,0 ! Fix transducer and ground
nsel,all
d,1,volt,0 ! Fix voltage ground
d,2,uy,0 ! Fix UY motion for mass
finish
/solu
antyp,trans ! Transient analysis - large signal
kbc,1 ! Step boundary conditions
d,2,volt,5 ! Apply 5 volts to transducer
time,.03 ! Time at end of first load step
deltim,.0005,.0001,.01 ! Set initial, minimum and maximum time incr.
autos,on ! Use auto time-stepping
outres,all,all ! Save all intermediate time point results
cnvtol,f ! Convergence on force
solve ! Solve
time,.06 ! Repeat for addition load steps
d,2,volt,0
solve
time,.09
d,2,volt,10
solve
time,.12
d,2,volt,0
solve
finish
/post26
nsol,2,2,u,x ! Retrieve displacement
/xrange,0,.12
/yrange,-.02,.01
/axlab,x,Time (sec.)
/axlab,y,Displacement (micro meters)
plvar,2 ! Plot displacement
finish
Piezoelectric
Transducer
I R
CIRCU94
Resistor
CIRCU94
Current Source
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 259
Coupled Physics Circuit Simulation
To verify results, perform analyses using equivalent electric circuits. To further verify the transient
results, use the following analytical solution derived using the Laplace transformation technique:
I = 1 - exp(-t/R)
For the transient analysis, approximate the piezoelectric transducer with a capacitor as shown in
Figure 5.8: Equivalent Circuit -Transient Analysis (p. 261). The equivalent static capacitance Cs is determ-
ined from a static analysis of the piezoelectric region. The resistance R and analysis time are adjusted
to:
R = 1e-4/Cs
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
260 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Piezoelectric-Circuit Analysis (Batch or Command Method)
t = 2R(Cs)
CS R
I
Harmonic Analysis
In a harmonic analysis performed near the ith resonance mode, approximate the piezoelectric trans-
ducer with capacitors and inductors (Cs, Ci, and Li) as shown in Figure 5.9: Equivalent Circuit - Harmonic
Analysis at ith Piezoelectric Resonance (p. 261). Determine the equivalent dynamic capacitance Ci and
dynamic inductance Li from a modal analysis of the piezoelectric region and the following equations:
Ci = (Qi)2/(Ωi)2
Li = 1/((Ωi)2(Ci)
where:
Ci
I R
CS
Li
To more accurately represent the piezoelectric transducer, include more capacitor-inductor branches
in the reduced order model. For example, use nine capacitor-inductor branches as shown in Fig-
ure 5.10: Equivalent Circuit - Harmonic Analysis Near the 3rd Piezoelectric Resonance (p. 262). The nine
Ci-Li (i = 1, 2, ... 9) branches correspond to the first nine resonance modes of the piezoelectric trans-
ducer. The equivalent static capacitance and resistance are adjusted to:
Co = Cs - SUM of Ci (i = 1 through 9)
R = 0.9/(Ω3)(Co)
where:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 261
Coupled Physics Circuit Simulation
Figure 5.10: Equivalent Circuit - Harmonic Analysis Near the 3rd Piezoelectric Resonance
C1 C2 C9
I C0 R
L1 L2 L9
5.5.4. Results
Transient Analysis
Transient analyses results are shown in Table 5.2: Transient Analysis Results (p. 262).
I (mA)
Time (ms) Equivalent (Reduced
Piezoelectric-Circuit Analytical (Target)
Model)
0.00400 0.0389 0.0385 0.0392
0.03200 0.2736 0.2733 0.2739
0.06000 0.4518 0.4508 0.4512
0.08800 0.5848 0.5849 0.5852
0.11600 0.6863 0.6863 0.6865
0.14400 0.7623 0.7629 0.7631
0.17200 0.8199 0.8208 0.8209
0.20000 0.8644 0.8646 0.8647
Harmonic Analysis
Harmonic analysis results are shown in Figure 5.11: Harmonic Analysis Results (p. 262). The curves for
the piezoelectric-circuit analysis and the reduced order model are identical because nine modes have
been taken into account.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
262 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Piezoelectric-Circuit Analysis (Batch or Command Method)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 263
Coupled Physics Circuit Simulation
!
! Determine static capacitance of the piezo-cube
!
/solu
antype,static ! Static analysis
solve
*get,Cs,node,n_top,rf,chrg ! Get electric charge on top electrode
! *get,Cs,node,n_top,rf,amps ! use AMPS label with SOLID5
Cs = abs(Cs) ! C = Q/V, where V = 1 Volt
/com, ----------------------------------------------------------------------
/com, Equivalent parameters of the piezoelement
/com,
/com, Static capacitance Cs = %Cs% F
fini
!
! Determine equivalent dynamic electric parameters of the piezo-cube
!
/solu
antype,modal ! Modal analysis
nmodes = 9 ! Number of modes
modopt,LANB,nmodes ! Block Lanczos solver
mxpand,nmodes,,,yes ! Calculate element results and reaction forces
d,n_top,volt,0 ! Short-circuit top electrode
solve ! Solve for resonance frequency
fini
/post1
*dim,C,array,nmodes ! Define arrays to store equivalent parameters
*dim,L,array,nmodes
PI2 = 2*3.14159
Co = Cs
set,first
/com,
*do,i,1,nmodes
*get,Fi,mode,i,freq ! Get frequency
*get,Qi,node,n_top,rf,chrg ! Get electric charge on top electrode
! *get,Qi,node,n_top,rf,amps ! Use AMPS label with SOLID5
Omi = Pi2*Fi ! Convert linear frequency to angular
C(i) = (Qi/Omi)**2 ! Calculate equivalent dynamic capacitance
Co = Co - C(i) ! Adjust static capacitance for dynamic terms
L(i) = 1/(Omi**2*C(i)) ! Calculate equivalent dynamic inductance
*if,i,eq,3,then ! Get third mode frequency for harmonic analysis
F3 = Fi $ Om3 = Omi
*endif
/com, Mode %i%
/com, Resonant frequency F = %Fi% Hz
/com, Dynamic capacitance C = %C(i)% F
/com, Dynamic inductance L = %L(i)% H
/com,
set,next
*enddo
/com, Adjusted static capacitance Co = %Co% F
/com, ----------------------------------------------------------------------
fini
/com, ----------------------------------------------------------------------
/com, Transient analysis of the piezoelectric and equivalent circuits
/com, ----------------------------------------------------------------------
!
! Set up equivalent circuit for transient analysis (Fig. 2)
!
/prep7
!
! Element types
!
et,2,CIRCU94,0 ! Resistor option
et,3,CIRCU94,2 ! Capacitor option
et,4,CIRCU94,3 ! Independent current source (step) option
!
! Real constants
!
RC = 1.e-4 ! RC constant
Imax = 1.e-3 ! Current level
r,1, RC/Cs ! Resistance, Ohm
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
264 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Piezoelectric-Circuit Analysis (Batch or Command Method)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 265
Coupled Physics Circuit Simulation
/solu
antyp,harmic ! Harmonic analysis
harfrq,0.95*F3,1.1*F3
nsubs,100
solve
fini
/post26
esol,3,Epz+1,,smisc,1,V_equiv ! Store output voltage
esol,4,Epz+2,,smisc,1,V_piezo
store
prcplx,1 ! Output amplitude and phase
nprint,9
prvar,V_piezo,V_equiv ! Print and plot output voltage
/axlab,x,Frequency (Hz)
/axlab,y,|Vout| (volts)
plvar,V_piezo,V_equiv
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
266 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 6: Reduced Order Modeling
This chapter describes a solution method for efficiently solving coupled-field problems involving flexible
structures. This reduced order modeling (ROM) method is based on a modal representation of the
structural response. The deformed structural domain is described by a factored sum of the mode shapes
(eigenvectors). The resulting ROM is essentially an analytical expression for the response of a system
to any arbitrary excitation.
This methodology has been implemented for coupled electrostatic-structural analysis and is applicable
to micro-electromechanical systems (MEMS).
• A few eigenmodes accurately represents the dynamic behavior of most structures (especially for MEMS).
• Modal representations of electrostatic-structural domains are very efficient because just one equation per
mode and one equation per conductor are necessary to describe the coupled domain system entirely.
This modal method can be applied to nonlinear systems. Geometrical nonlinearities, such as stress
stiffening, can be taken into account if the modal stiffness is computed from the second derivatives of
the strain energy with respect to modal coordinates. Capacitance stroke functions provide nonlinear
coupling between eigenmodes and the electrical quantities if stroke is understood to be modal amplitude.
For more information, see Reduced Order Modeling of Coupled Domains in the Mechanical APDL Theory
Reference.
MODEL PREPARATION
GENERATION PASS
The model preparation step creates the necessary finite element model for the generation pass. The
generation pass executes a modal analysis of the structure. It also executes an optional static analysis
to determine the deformation state of the structure under operating conditions. Using this information,
the generation pass then selects the modes and performs computations to create a reduced order
model. The use pass uses the reduced order model in an analysis. The reduced order model is stored
in a ROM database and a polynomial coefficients file, and utilized by a ROM element (ROM144). The
expansion pass extracts the full DOF set solution and computes stresses on the original structure created
in the model preparation phase. A VHDL-AMS mathematical model of the ROM structure may be exported
for use in electrical design automation (EDA) system simulators.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 267
Reduced Order Modeling
The ROM method is applicable to 2-D and 3-D models. The generation pass requires multiple finite
element solutions of the structural and electrostatic domains, where the structure is displaced over its
operating range. To support both morphing and remesh operations for the multiple finite element
solutions, PLANE121, SOLID122, or SOLID123 elements must model the electrostatic domain. INFIN110
or INFIN111 elements can model the open boundary of electrostatic fields if required. 2-D or 3-D
structural or shell elements can model the structural domain. Care must be exercised when preparing
the model of the electrostatic domain to ensure that morphing or remeshing will succeed over the
deflection range of the structure. For more information on mesh morphing, see Mesh Updating (p. 226).
The ROM characterization requires that the device operate primarily in one dominant direction (X, Y,
or Z in the global Cartesian system). This includes not only the transversal shift of most rigid bodies
(inertial sensors), but also cantilever and plate bending (RF filters, pressure gauges, ultrasonic transducers)
and swivel motions (micromirrors). Material properties must be elastic and temperature independent.
Stress stiffening and prestress effects are available.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
268 of ANSYS, Inc. and its subsidiaries and affiliates.
Model Preparation
• Do not apply any nonzero displacement or nodal forces in the model database. These can be applied later
during the use pass at specific master nodes.
• Apply prestress conditions in the model database by means of thermal stress. Specify appropriate element
temperatures and thermal expansion coefficients.
• Do not apply element loads (pressure, or gravity loading) in the model database. These types of loads
may be specified later in the Generation Pass.
• Group nodes on which eigenmodes will be imposed during the generation pass into a node component
called "NEUN.” Limit the number of nodes to 5000 minus the number of defined scalar parameters in the
model. Select a distributed subset of the nodes on the neutral plane if this limit is exceeded.
• In order to obtain a proper set of strain energy and capacitance information in the design space, the
movable structure must be displaced to various linear combinations of their eigenmodes. Those deform-
ation states are internally imposed by appropriate displacement constraints in the operating direction.
In practice, it is unnecessary to impose displacement constraints on all structural nodes. It is sufficient to
just choose nodes on a neutral plane of the structure, which is perpendicular to the operating direction.
This allows the structure to relax properly and it is especially necessary for stress stiffened structures. If
the device does not undergo stress stiffening, then any plane of nodes perpendicular to the operating
direction may be selected.
You use either of the following to create the structural physics file (MODEL.ph1).
Command(s): PHYSICS,WRITE,STRU
GUI: Main Menu> Preprocessor> Physics> Environment
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 269
Reduced Order Modeling
• Group nodes of each conductor into components "CONDi," where i is a successive number assigned
to each conductor.
• Group all volumes (3-D analysis) or all areas (2-D analysis) to be morphed or remeshed into a com-
ponent called "AIR.”
• Do not apply zero and nonzero voltage loads and imposed current to the model database. These
excitations and boundary conditions can only be applied during the use pass.
You use either of the following to create the electrostatic physics file (MODEL.ph2).
Command(s): PHYSICS,WRITE,ELEC
GUI: Main Menu> Preprocessor> Physics> Environment
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
270 of ANSYS, Inc. and its subsidiaries and affiliates.
Generation Pass
Preprocessing
Assign ROM Features (RMANL)
Assign Names for Conductor Pairs (RMCAP)
Specify ROM Master Nodes (RMASTER)
Solution
Run Static Analysis for Test Load
(optional but recommended) GEN.tld
Postprocessing
MODEL.db Extract Neutral Plane Displacements (RMNDISP)
MODEL.ph1 (STRU)
MODEL.ph2 (ELEC) S olu tion
Run Static Analysis for Element Loads
(optional) GEN.eld
Postprocessing
Extract Neutral Plane Displacements (RMNDISP)
GEN.evx
Solution
Perform Modal Analysis GEN.evy
Postprocessing GEN.evz
Extract Neutral Plane Eigenvectors (RMNEVEC) GEN.evn
GEN.evl
GEN.evx
GEN.evy Mode Selection
GEN.evz Select Modes for ROM (RMMSELECT)
GEN.evn Modify Modes for ROM (RMMRANGE) GEN.rom
GEN.evl List Mode Specifications (RMMLIST)
GEN.eld Save ROM Database (RMSAVE)
MODEL.db Sample Point Generation
MODEL.ph1 (STRU) GEN_ijk.dec
Run Sample Point Generation (RMSMPLE)
MODEL.ph2 (ELEC)
Response Surface
Specify Polynomial Order (RMPORDER)
Define ROM Response Surface (RMROPT)
GEN.rom Perform Fitting Procedure (RMRGENERATE) GEN_ijk.pcs
Plot Response Surface (RMRPLOT)
List Status of Response Surface (RMRSTATUS)
Initial.vhd
S_ams_ijk.vhd
Export Caxx_ams_ijk.vhd
Export ROM Model to VHDL (RMXPORT) Transducer.vhd
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 271
Reduced Order Modeling
6.2.5. Run Static Analysis for Test Load and Extract Neutral Plane Displace-
ments
To assist the program in determining which eigenmodes of the device are important in characterizing
the structural response of the system under operating conditions, you should run a static analysis
with a "test" load which deforms the structure in the operating direction of choice. The loads should
drive the structure to a typical deformation state, which is representative of most load situations seen
in the use pass. The amount of applied loads, the resulting displacements and even the accuracy of
the computed results are not important because only ratios between modal coordinates are evaluated.
The simplest test load could be in the form of imposed displacements. Alternatively, if you cannot
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
272 of ANSYS, Inc. and its subsidiaries and affiliates.
Generation Pass
define a test load, the modes and their amplitude range will be determined with respect to the linear
modal stiffness ratios in the operating direction (see RMMSELECT).
The difference between using or not using a test load can be illustrated by a model of a beam clamped
at both ends and suspended above a ground plane. For example, a voltage test load applied on the
movable structure excites only symmetric eigenmodes in the operating direction. The RMMSELECT
macro would select the symmetric modes in the order that corresponds to their displacement amp-
litudes. On the other hand, if no test load is specified, the RMMSELECT macro would select the lowest
symmetric and asymmetric modes in the operating direction.
After you run a static analysis for a test load, you need to extract the neutral plane displacements.
Command(s): RMNDISP
GUI: Main Menu> General Postproc> ROM Operations> Extract NP Disp.
Note:
The neutral plane nodes were grouped into a node component named NEUN in the
model preparation phase.
6.2.6. Run Static Analysis for Element Loads and Extract Neutral Plane Dis-
placements
If the device is subjected to gravity loads, or pressure loading, you must run a static analysis for each
individual element load prior to creating the reduced order model. The effects of the element loading
are considered in the mode selection for the reduced order model. Additionally, the element loads
may be applied in the use pass when their effects on the device response are required.
Each individual element load must be run as a separate load case in a multi load-step static analysis.
Up to five element loads can be imposed in the generation pass. Later, in the use pass, the loads can
be scaled and superimposed using RMLVSCALE.
After you run the analysis, you need to extract the neutral plane displacements.
Command(s): RMNDISP
GUI: Main Menu> General Postproc> ROM Operations> Extract NP Disp.
Note:
NLGEOM must be OFF for linear and stress-stiffened structural models unless prestress is
relevant. Here, the element loads must be moderate so that no deflection dependent
change of stiffness occurs. The rule of thumb is that the resulting displacements must be
between 0.001 and 0.1 times the device thickness.
You then extract the eigenvectors of the neutral plane nodes (component NEUN).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 273
Reduced Order Modeling
Command(s): RMNEVEC
GUI: Main Menu> General Postproc> ROM Operations> Extract NP Eigv.
• Modes considered for use in the ROM are classified as "DOMINANT” or RELEVANT.” Dominant modes are
those with expected large displacement amplitudes. Their amplitudes interact with all system parameters
derived from the strain energy and capacitance functions. Either one or two dominant modes are allowed.
Relevant modes are those with expected small displacement amplitudes. Their behavior is strongly influ-
enced by the amplitude of dominant modes but the interaction between the relevant modes can be
neglected. Such a simplification is valid for most MEMS devices and it makes the following data sampling
procedure faster. The ultimate goal is to select the fewest possible number of modes to sufficiently char-
acterize the deformation of the structure for the intended operating conditions. The fewer the modes,
the shorter the time will be to generate the reduced order model.
• RMMSELECT arguments Dmin and Dmax are the lower and upper bounds of the total deflection range
of the structure, respectively. They should be large enough to cover the operating range in the use pass.
RMMRANGE notes:
• You can modify the computed displacement operating range for each mode (Min and Max arguments).
If the mode was previously classified as UNUSED, and you are issuing the command to activate
this mode for ROM, the Min and Max values are interpreted as the total deflection range. Here,
the command finds the lower and upper bounds for the newly added mode, and calculate its
contribution factor based on the information about all the active modes. If you disagree with
the automatically calculated parameters for this mode, you can overwrite them by issuing the
command one more time.
• The Nstep argument specifies the number of equidistant steps for the coming data sampling pro-
cedure. Dominant modes should be sampled with 8 to 11 steps, relevant with 3 to 5. For three steps,
the considered mode is linearized at the operating point.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
274 of ANSYS, Inc. and its subsidiaries and affiliates.
Generation Pass
• The default damping ratio is 0.05 for all modes. This number can be changed via the Damp argument
for any mode at any time (even in the use pass). Consider the damping parameter carefully, as it
represents the effects from fluidic damping of the structure.
• The Scale argument is necessary to overcome convergence problems when computing the response
surface. Determine its value as follows:
• The number of finite element solution runs is dependent on the number of modes selected and the
number of steps chosen to characterize each mode. A "finite element solution set” consists of a single
structural analysis, and a set of electrostatic analyses, one for each conductor pair defined (RMCAP). For
example, consider the following scenario of number of modes selected and number of steps specified:
• The Nlgeom flag must be set to ON in case of stress stiffening or prestress. Capacitance data can either
be calculated from the charge voltage relationship (Cap flag set to CHARGE) or from the derivatives of
the electrostatic field energy based on the CMATRIX macro. The Cap flag must be set to CMATRIX if far
field elements are involved. The CMATRIX method is only recommended if significant electric field leakage
occurs to the open domain, and capacitance effects of this leakage are significant.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 275
Reduced Order Modeling
• The results are stored in files called jobname_ijk.dec whereby a separate file is written for each relevant
mode k. The files contain all the information necessary to evaluate the behavior of the relevant mode k
with respect to the dominant modes i and j.
Make sure that the order of each mode is less than Nsteps specified by RMMRANGE but at least
two. Polynomials with order eight and higher tend to oscillate and should be avoided.
• The argument Type = LAGRANGE is required if only one dominant mode or two dominant modes and
no relevant modes are available. Otherwise try to use Type = PASCAL or even one of the reduced polyno-
mials since those require fewer coefficients and enable essential speed up in the use pass.
• You should not invert strain energy functions. Capacitance functions should be inverted if the gap between
conductors changes significantly during the operation. This happens for parallel plate arrangements where
the conductors move perpendicularly to their surface. For comb drive systems, the capacitance function
should not be inverted since conductors move tangentially to each other.
Polynomial coefficients for the response surfaces are stored in files called jobname_ijk.pcs that corres-
pond to the sample data file jobname_ijk.dec.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
276 of ANSYS, Inc. and its subsidiaries and affiliates.
Use Pass
Response surface plots might also help you recognize oscillations. However, oscillations are usually
not visible at the response surface itself but become obvious at the second derivative plots. To
overcome oscillations, you should reduce the polynomial order or try another polynomial type. If
both fail, you should increase the number of data points in the appropriate mode direction.
Note:
Issue /VIEW (Utility Menu> PlotCtrls> Pan-Zoom-Rotate) to reorient the plot view.
Element loads are considered if an arbitrary scale factor was applied via RMLVSCALE prior to executing
RMXPORT.
RMXPORT generates a set of VDHL-AMS input files that contain the following:
Note:
The VHDL-AMS transducer model is similar to a black-box model with terminals relating
electrical and mechanical quantities. A further system description file is necessary to specify
the external circuitry (voltage sources, controller units), structural loads (nodal forces, ele-
ment loads) and run time parameters (time step size, total simulation time).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 277
Reduced Order Modeling
Solution
Apply Loads (D, F, RMLVSCALE and DCVSWP)
Set Solution Options (CNVTOL, PSTRES, ...) USE.rdsp
Run ROM Use Pass (SOLVE,..., and FINI)
Postprocessing
Review Results (/POST1 and /POST26)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
278 of ANSYS, Inc. and its subsidiaries and affiliates.
Use Pass
The Circuit Builder provides a convenient tool for constructing the ROM144 element and any attached
linear circuit elements (CIRCU124), mechanical spring, mass, and damper elements (COMBIN14, MASS21,
and COMBIN39), or the electromechanical transducer element (TRANS126).
ROM144 fully couples the electrostatic and structural domains. It is defined by twenty (KEYOPT(1) =
0) or thirty nodes (KEYOPT(1) = 1):
• Nodes 1 to 10 are modal ports and relate modal amplitudes (EMF degree of freedom) to modal forces.
The node numbers represent the numbers of the involved modes from the ROM database. For example,
if modes 1, 3, and 5 are used in the ROM database, the modal amplitudes of modes 1, 3, and 5 are
mapped to nodes 1, 2, and 3 respectively. Modal displacements can be set to zero to deactivate
modes.
Note:
Only the first 9 nodes may be used for modal amplitude degrees of freedom.
• Nodes 11 to 20 are electrical conductor ports and relate voltage (VOLT degree of freedom) to current.
Node 11 represents the first conductor, node 12 represents the second conductor, and so on. Current
can only be imposed in a harmonic or transient analysis.
Note:
• Nodes 21 to 30 are nodal ports relating displacements (UX degree of freedom) to forces at master
nodes. Node 21 represents the first defined master node, node 22 represents the second master
node, and so on. Master displacements and forces are always mapped to the UX degree of freedom
and FX force label independent from their real DOF direction. Node to node contact or spring damper
elements (COMBIN14, COMBIN40) can be directly attached to the UX degree of freedom at master
nodes. Only elements that have a single UX degree of freedom may be used at a displacement port.
See the Element Reference for more detailed information on this element.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 279
Reduced Order Modeling
Issue E once for the first eight nodes, and EMORE two (KEYOPT(1) = 0) or three (KEYOPT(1) = 1) times,
to define the other nodes for the ROM144 element.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
280 of ANSYS, Inc. and its subsidiaries and affiliates.
Use Pass
• Create the I and J nodes of the COMBIN40 element at the same location (coincident) as the modal
amplitude (EMF) degree of freedom.
• Use an appropriate gap stiffness. 1E5 is suggested for most MEMS applications.
• Set the gap distance equal to the lower- or upper-bound displacement of the mode (as determined
via RMMSELECT), whichever is greater.
• Use a constraint equation to enforce equivalent displacement of the J node of the gap element (UX
degree of freedom) to the modal amplitude (EMF) degree of freedom. For example, if the modal
amplitude DOF is node "2", and the J node of the gap element is node 42, and the constraint equation
is number 2, then the constrain equation would be: CE,2,0,42,ux,1,2,emf,-1.
By using gap elements, you should be able to ramp your applied voltage or displacement loads and
successfully pass through the pull-in voltage. You may need to increase the number of equilibrium
iterations (NEQIT) to several hundred to achieve a converged solution. You can monitor the gap
status of the gap elements to see when the pull-in occurs. DCVSWP uses gap elements to pass
through the pull-in voltage.
Node
Load Type DOF Command
Numbers
Modal Amplitude EMF 1–10 D
Voltage VOLT 11–20 D
Current AMPS 11–20 F
Nodal Displacement UX 21–30 D
Nodal Force FX 21–30 F
For convenience, DCVSWP executes a static analysis that is commonly performed. You can perform
a DC voltage sweep up to a defined maximum voltage or up to a “pull-in” value. All conductors are
set to ground except the sweep conductor.
Command(s): DCVSWP
GUI: Main Menu> Solution> ROM Tools> Voltage Sweep
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 281
Reduced Order Modeling
Of course, you can specify an arbitrary analysis with complete arbitrary loading.
• Set the modal force (label CURT) convergence parameter (CNVTOL) to roughly 1E-6. Accuracy may depend
on the value of this convergence parameter.
• Coupled electromechanical systems are generally nonlinear; nevertheless, you can perform a prestressed
modal or harmonic analysis for any static equilibrium state obtained with the application of structural or
electrostatic loads. All system parameters are linearized as known from a small signal analysis. Activate
prestress (PSTRES) and perform a static analysis prior to the modal or harmonic analysis.
• You can use a prestress modal analysis to calculate the frequency shift due to stress stiffening or electro-
static softening. To run a modal analysis, activate the symmetric matrix option by setting KEYOPT(2) = 2
for the ROM element.
Usually the structural domain reacts with twice the frequency of the driving sinusoidal voltage time
function. This is because electrostatic forces are quadratic functions of voltage. A harmonic analysis
is only applicable if the polarization voltage in the preceding static analysis is much higher than the
alternating voltage in the harmonic analysis.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
282 of ANSYS, Inc. and its subsidiaries and affiliates.
Expansion Pass
MODEL.ph2(ELEC) GEN.rom
(ROM Database)
GEN_ijk.pcs
GENERATION PASS (Polynomial
Coefficient File)
Caution:
For a stress-stiffened structure, although the deflection results on the neutral plane are correct,
the element results such as stress and strain are typically slightly higher that the true values.
The linear expansion pass procedure cannot capture correctly the nonlinear deviations of
nodes on the outer planes of the structures.
Required
EXPANSION PASS Produced
Files Files
S o lu tio n
C le a r D a ta b a se (/C L E A R )
GEN.rom Define a Jobname (/FILNAME,GEN)
Resume ROM (RMRESUME)
MODEL.db
R e su m e M o d e l D a ta b a se (RESUME)
MODEL.ph1
(STRU) A c tiv a te R O M D a ta b a se (RMUSE, ON, USE)
Perform Expansion Pass (EXPASS and EXPSOL)
P ostp ro ce ssin g
Review Results (/POST1 and /POST26)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 283
Reduced Order Modeling
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
284 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Miniature Clamped-Clamped Beam Analysis (Batch or Command Method)
in a highly nonlinear fashion due to deflection dependent stiffening and stiffening caused by prestress.
Both effects are very important for MEMS analysis and are illustrated by the following example.
The half symmetry model uses hexahedral solid elements (SOLID185) for the structural domain and
tetrahedral elements (SOLID122) for the electrostatic domain. The beam is fixed on both ends and
symmetry boundary conditions are applied on the plane of intersection. The deflection to beam
thickness ratio is more than 1 in order to realize essential stiffness change due to the stress stiffening
effect.
Figure 6.9: Finite Element Model of the Structural and Electrostatic Domains
This example demonstrates nonlinear effects. First, the beam is considered as linear. The stress stiff-
ening option is OFF. In the next case, stress stiffening is ON to model the real behavior. Finally, a 100
kPa biaxial prestress is applied. Initial prestress is modeled via thermal expansion in order to realize
a nonuniform stress distribution at the clamp. Note that the uniaxial stress in the beam is different
from the biaxial stress of the layer prior to release etching. The Generation Pass must be performed
three times.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 285
Reduced Order Modeling
! Model parameters
sigm_b=-100
/VIEW,1,1,-1,1
/PNUM,TYPE,1
/NUMBER,1
/PBC,ALL,1
/PREP7
SMRTSIZ,2
MSHAPE,1,3D
MSHKEY,0
TYPE,2
MAT,2
VMESH,4
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
286 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Miniature Clamped-Clamped Beam Analysis (Batch or Command Method)
ESEL,S,MAT,,1
NSLE,S,1
NSEL,R,LOC,Z,b_t/2
CM,NEUN,NODE ! Neutral plane node component
ALLSEL
ET,1,0
ET,1,SOLID185,,3
ET,2,0
ASEL,S,LOC,Z,b_t/2
ASEL,R,LOC,Y,b_w/4
NSLA,S,1
CM,FIXA,AREA ! Boundary condition must be
DA,ALL,UX ! applied on solid model entities
DA,ALL,UY
DA,ALL,UZ
ASEL,S,LOC,Z,b_t/2
ASEL,R,LOC,Y,0
NSLA,S,1
CM,BCYA,AREA
DA,ALL,UY
ALLSEL
FINI
/SOLU
tref,0
tunif,sigm_b*(1-0.066)/(169e3*1e-6)
FINI
FINI
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 287
Reduced Order Modeling
Generation Pass:
No test load is defined. Hence the first modes in the operating direction will be used. There are two
element loads: acceleration and a uniform pressure load. For initial prestress NLGEOM must be set
ON and the loads must cause moderate displacements (in the range of 0.001 to 0.1 times the beam
thickness).
/filnam,gener ! Jobname for the Generation Pass
/solu
antype,static
nlgeom,on
acel,,,9.81e12 ! Acceleration in Z-direction 9.81e6 m/s**2
lswrite,1
acel,0,0,0
esel,s,type,,1
nsle,s,1
nsel,r,loc,z,0
sf,all,pres,0.1 ! 100 kPa
allsel
lswrite,2
lssolve,1,2
fini
physics,clear
physics,read,STRU
! Perform prestressed modal analysis
/solu
nlgeom,off
pstress,on ! Thermal prestress (see cbeam.inp)
solve
fini
/solu
antype,modal
modopt,lanb,9
mxpand,9
pstress,on
solve
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
288 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Miniature Clamped-Clamped Beam Analysis (Batch or Command Method)
rmsmple,1 ! nlgeom,on
rmporder,6,,2 ! Set polynomial orders for modes 1 and 3
Use Pass:
/clear
/filnam,use1
rmresu,cbeam,rom
/PREP7
ET,1,144
*do,i,1,20
n,i
*enddo
rmuse,on
e,1,2,3,4,5,6,7,8
emore,9,10,11,12,13,14,15,16
emore,17,18,19,20
FINISH
/gst,off
The structure is driven by a voltage sweep to the contact pad placed at the center of the micro beam.
A gap element (COMBIN40) connects to the center of the beam at a master node (node 21). It has a
contact stiffness of 1.E6 N/m and an initial gap of 0.3 µm. The UX degree of freedom tracks the master
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 289
Reduced Order Modeling
node displacement (actual displacement is in the Z-direction). Similar models can simulate voltage
controlled micro switches.
! *** Connecting other elements to ROM144
/clear
/filnam,use2
rmresu,cbeam,rom
/PREP7
ET,1,144,1
*do,i,1,30
n,i
*enddo
rmuse,on
e,1,2,3,4,5,6,7,8
emore,9,10,11,12,13,14,15,16
emore,17,18,19,20,21,22,23,24
emore,25,26,27,28,29,30
et,2,40,0,0
r,2,1e6,,,.3
type,2
real,2
n,31
e,31,21
fini
/gst,off
/solu
antyp,static
outres,all,all
cnvtol,curt,1.0d-6,,2 ! Set modal force convergence criteria
d,11,volt,1000
d,12,volt,0
d,31,ux,0
kbc,0
nsubst,10
solve
fini
/post26
nsol,2,21,ux,,mast1 ! Master node displacements
nsol,3,22,ux,,mast2
plvar,2,3
nsol,5,1,emf,,mode1 ! Modal displacements
nsol,6,2,emf,,mode2
nsol,7,3,emf,,mode3
plvar,5,6,7
esol,8,1,,nmisc,1,sener ! Strain energy
esol,9,1,,nmisc,2,cap12 ! Capacitance
plvar,8
plvar,9
fini
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
290 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
synchronously in order to achieve high-speed light deflection. Each strip is attached to the wafer
surface by two intermediate anchor posts. Due to the geometrical symmetry, the mirror strips can be
divided into three parts whereby just one section is necessary for finite element analyses.
Figure 6.10: Schematic View of a Micro Mirror Array and a Single Mirror Cell
The electrostatic domain consists of three conductors, where the nodes of the mirror itself are defined
by node component COND1, and the fixed ground conductors are node components COND2 and
COND3. The fixed conductors are on top of the ground plate shown in Figure 6.10: Schematic View
of a Micro Mirror Array and a Single Mirror Cell (p. 291) and Figure 6.11: Parameter Set for Geometrical
Dimensions of the Mirror Cell (p. 291).
The model uses hexahedral solid elements (SOLID185) for the structural domain and tetrahedral ele-
ments (SOLID122) for the electrostatic domain.
Figure 6.11: Parameter Set for Geometrical Dimensions of the Mirror Cell
/PREP7
! uMKSV units
fe_la=200 ! Spring length
fe_br=10 ! Spring width
fe_di=15 ! Spring thickness
sp_la=1000 ! Mirror length
sp_br=250 ! Mirror width
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 291
Reduced Order Modeling
del1=(mi_br-fe_br)/2
K,1
K,2,,fe_br/2
K,3,,mi_br/2
K,4,,po_br/2+(mi_br-fe_br)/2
K,5,,sp_br/2
K,6,,sp_br/2+fr_br
KGEN,2,1,6,1,mi_la/2
KGEN,2,1,6,1,mi_la/2+fe_la-(mi_br-fe_br)/2
KGEN,2,1,6,1,sp_la/2
K,21,sp_la/2,po_br/2
K,13,sp_la/2-po_la/2
K,14,sp_la/2-po_la/2,fe_br/2
K,25,sp_la/2-po_la/2,po_br/2
A,3,9,10,4
A,9,15,16,10
A,4,10,11,5
A,10,16,17,11
A,16,22,23,17
AGEN,2,ALL,,,,,-d_ele
ASEL,S,LOC,Z,-d_ele
AADD,ALL
ASEL,ALL
A,1,7,8,2
A,2,8,9,3
A,7,13,14,8
A,13,19,20,14
A,14,20,21,25
ASEL,S,LOC,Z,0
VEXT,ALL,,,,,fe_di
ASEL,ALL
ASEL,S,AREA,,9,10
VEXT,ALL,,,,,-d_ele
ASEL,ALL
VATT,1,,1
BLOCK,0,sp_la/2,o,sp_br/2+fr_br,-d_ele,fe_di
VDELE,13
AOVLAP,ALL
ASEL,S,LOC,Z,fe_di
ASEL,A,LOC,Z,-d_ele
ASEL,A,LOC,X,0
ASEL,A,LOC,X,sp_la/2
ASEL,A,LOC,Y,0
ASEL,A,LOC,Y,sp_br/2+fr_br
VA,ALL
VSBV,13,ALL,,,KEEP
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
292 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
VSEL,S,VOLU,,14
VATT,2,,2
VSEL,ALL
VMESH,1,12
TYPE,2
MAT,2
SMRTSIZ,2
MSHAPE,1,3D
MSHKEY,0
ESIZE,,1
VMESH,14
ALLSEL
VSYM,x,all
VSYM,y,all
NUMMRG,node,1e-5
NUMMRG,kp,1e-3
VSEL,s,type,,1
ASEL,s,ext
ASEL,u,loc,x,sp_la/2
ASEL,u,loc,x,-sp_la/2
ASEL,u,loc,z,fe_di
ASEL,u,loc,z,-d_ele
NSLA,S,1
CM,COND1A,AREA ! Mirror electrode
CM,COND1,NODE
ALLSEL
ASEL,s,area,,11
ASEL,a,area,,128
NSLA,S,1
CM,COND2A,AREA ! First fixed electrode
CM,COND2,NODE
ALLSEL
ASEL,s,area,,202
ASEL,a,area,,264
NSLA,S,1
CM,COND3A,AREA ! Second fixed electrode
CM,COND3,NODE
ALLSEL
VSEL,s,type,,2
CM,AIR,VOLU ! Region to be morphed
VSEL,ALL
ET,1,0
PHYSICS,WRITE,ELEC ! Write electrostatic physics file
PHYSICS,CLEAR
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 293
Reduced Order Modeling
ET,1,SOLID185,,3
ET,2,0
VSEL,s,type,,1
ASLV,s,1
ASEL,r,loc,z,-d_ele
NSLA,S,1
CM,FIXA,AREA ! Boundary condition must be
DA,ALL,UX ! applied on solid model entities
DA,ALL,UY ! Fixed boundary condition
DA,ALL,UZ
ASLV,S,1
ASEL,R,LOC,X,sp_la/2 ! Symmetry boundary conditions
DA,ALL,UX
NSLA,S,1
ASLV,S,1
ASEL,R,LOC,X,-sp_la/2
DA,ALL,UX
NSLA,A,1
CM,SYMBC,NODE
ALLSEL
FINI
Generation Pass:
The following Generation Pass considers the first two of three modes: torsion mode, transversal mode
in Z-direction and one mode responsible for plate warp. In addition to the capacitances between
movable and fixed conductors CAP12 and CAP13, you should activate CAP23, which affects the mirror
behavior in case of high polarization voltages. The total deflection range is 75% of the electrode gap.
A test load computes an approximate deflection state of the mirror for use in selecting the above
modes. The test load contains two uniform pressure loads equivalent to the electrostatic pressure at
the initial position.
Element loads are acceleration of 9.81 m/s2 in Z-direction and a uniform 1 MPa pressure load acting
on the upper mirror wing
/filname,gener ! Specify jobname for Generation Pass
/view,1,,-1
/pbc,all,1
/solu
antype,static
nlgeom,off
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
294 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
acel,0,0,0
esel,s,type,,1
nsle,s,1
nsel,r,loc,z,0
nsel,r,loc,y,0,sp_br/2 ! Uniform pressure load on the
sf,all,pres,1 ! upper mirror wing
allsel
lswrite,2
lssolve,1,2
fini
/solu
pres1=8.85e-6*(u_pol-u_test)**2/(2*d_ele**2)
pres2=8.85e-6*(u_pol+u_test)**2/(2*d_ele**2)
esel,s,type,,1
nsle,s,1
nsel,r,loc,z,0
nsel,r,loc,y,mi_br/2,sp_br/2 ! Uniform pressure load on the
sf,all,pres,-pres1 ! upper mirror wing
allsel
esel,s,type,,1
nsle,s,1
nsel,r,loc,z,0
nsel,r,loc,y,-sp_br/2,-mi_br/2 ! Uniform pressure load on the
sf,all,pres,-pres2 ! lower mirror wing
allsel
solve
fini
rmcap,cap12,1,2
rmcap,cap13,1,3
rmcap,cap23,2,3
rmalist
physics,clear
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 295
Reduced Order Modeling
physics,read,STRU
!
/solu ! Perform modal analysis
antype,modal
modopt,lanb,6
mxpand,6
solve
fini
rmsave,mirror,rom
The response surfaces are fitted with Lagrange polynomials whereby the capacitance functions are
inverted. Polynomial orders are four and three, which requires 20 polynomial coefficients for each
response surface. A further reduction is possible. The result file gen_130.dec contains all FE sample
data and gen_130.pcs the polynomial information.
/clear
/filnam,use1
/PREP7
ET,1,144,1 ! Define ROM element type
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
296 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
/gst,off
DCVSWP,'pi',1,2,800,10,1
DCVSWP,'gv',1,2,859,10,,1
/post26
/axlab,x,Voltage
/axlab,y,Modal amplitudes
nsol,2,1,emf,,mode1 ! Torsion mode
nsol,3,2,emf,,mode3 ! Transversal mode
nsol,4,12,volt,,voltage ! Applied voltage
xvar,4
plvar,2,3 ! Modal displacements
/axlab,y,Nodal displacements
nsol,6,21,ux,,up_edge ! Node on the upper edge
nsol,7,22,ux,,center_n ! Node at plate center
nsol,8,23,ux,,lo_edge ! Node at the lower edge
plvar,6,7,8
fini
The modal amplitude and master displacements as functions of voltage are shown in Figure 6.12: Modal
Amplitudes vs. Voltage (p. 298) and Figure 6.13: Master Displacements vs. Voltage (p. 298).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 297
Reduced Order Modeling
/clear
/filname,use2
rmresu,mirror,rom
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
298 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
/PREP7
ET,1,144
*do,i,1,20
n,i
*enddo
rmuse,on
e,1,2,3,4,5,6,7,8
emore,9,10,11,12,13,14,15,16
emore,17,18,19,20
FINISH
/gst,off
/solu
antyp,static
outres,all,all
cnvtol,curt,1.0d-6,,2
*do,i,1,45
d,11,volt,(i-1)*5-110 ! Sweep voltage at cond1
d,12,volt,800 ! Fixed polarization voltage
d,13,volt,-800 ! Fixed polarization voltage
lswrite,i
*enddo
lssolve,1,45
fini
/post26
/axlab,x,Voltage
/axlab,y,Modal amplitude
nsol,2,1,emf,,mode1 ! Torsion mode
nsol,3,2,emf,,mode3 ! Transversal mode
nsol,4,11,volt,,voltage ! Applied voltage
esol,5,1,,nmisc,2,cap12
esol,6,1,,nmisc,3,cap13
esol,7,1,,nmisc,4,cap23
xvar,4
plvar,2 ! Modal displacements
plvar,3
/axlab,x,Voltage
/axlab,y,Capacitance
xvar,4
plvar,5,6 ! Capacitances
plvar,7
fini
High polarization voltages of opposite sign (±800V) are applied on both fixed electrodes. The varying
driving voltage is applied on the entire mirror structure. A positive voltage tilts the mirror to the right
and a negative voltage to the left. The voltage stroke function of mode 1 is strongly linearized in the
operating range between -60 and 60 Volt (Figure 6.14: Modal Amplitude of Mode 1 vs. High Polarization
Voltage (p. 300)). The voltage stroke function of the transversal mode is shown in Figure 6.15: Modal
Amplitude of Mode 3 vs. High Polarization Voltage (p. 300). Both negative and positive voltages increase
the transversal amplitude.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 299
Reduced Order Modeling
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
300 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
Figure 6.16: Capacitances CAP12 and CAP13 vs. High Polarization Voltage
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 301
Reduced Order Modeling
/clear
/filnam,use3
rmresu,mirror,rom
/PREP7
ET,1,144,1
*do,i,1,30
n,i
*enddo
rmuse,on
e,1,2,3,4,5,6,7,8
emore,9,10,11,12,13,14,15,16
emore,17,18,19,20,21,22,23,24
emore,25,26,27,28,29,30
FINISH
/gst,off
/solu
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
302 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
antyp,static
outres,all,all
cnvtol,curt,1.0d-6,,2
d,11,volt,0
d,12,volt,0
d,13,volt,0
outres,all,all
rmlvscale,2,1,0 ! Acceleration of 9.81 m/s**2
solve
/post1
set,1
prdisp
set,2
prdisp
fini
/clear
/filnam,gener ! Generation Pass jobname
resu,mirror,db
rmre,mirror,rom
physics,clear
physics,read,STRU
/solu
rmuse,on,use3 ! Specify reduced solution file name
expass,on
expsol,,,,ON
solve
fini
/post1
set,1
plnsol,u,z,2
set,2
plnsol,u,z,2
fini
An acceleration of 9.81 m/s2 and a uniform pressure load of 10 kPa were applied to the upper mirror
wing. Computed displacements at the expansion pass are shown in Figure 6.18: Expanded Displace-
ments for Acceleration Load (p. 304) and Figure 6.19: Expanded Displacements for Pressure Load (p. 305).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 303
Reduced Order Modeling
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
304 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
The following example demonstrates the change of harmonic transfer functions at different polarization
voltages. The higher the applied polarization voltage, the more the resonance peak shifts to the left.
! *** Prestressed harmonic analysis
/clear
/filname,use4
rmresu,mirror,rom
/PREP7
ET,1,144,1
*do,i,1,30
n,i
*enddo
rmuse,on
e,1,2,3,4,5,6,7,8
emore,9,10,11,12,13,14,15,16
emore,17,18,19,20,21,22,23,24
emore,25,26,27,28,29,30
FINISH
/gst,off
/solu
antyp,static
outres,all,all
cnvtol,curt,1.0d-6,,2
pstress,on
d,11,volt,0
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 305
Reduced Order Modeling
d,12,volt,800
d,13,volt,-800
solve
fini
/solu
antype,harmonic
pstress,on
harfrq,0,5e4
nsubst,100
kbc,1
d,11,volt,1
d,12,volt,0
d,13,volt,0
solve
fini
/post26
/axlab,x,Frequency
/axlab,y,Modal Amplitude
nsol,2,1,emf,,mode1
plvar,2
/axlab,y,Nodal amplitude
nsol,3,21,ux,,up_edge
nsol,4,23,ux,,lo_edge
plvar,3,4
/axlab,y,Phase angle
plcplx,1
plvar,3,4
fini
Figure 6.20: Harmonic Transfer Function Amplitude for 800 V Polarization Voltage
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
306 of ANSYS, Inc. and its subsidiaries and affiliates.
Sample Micro Mirror Analysis (Batch or Command Method)
Figure 6.21: Harmonic Transfer Function Phase Angle for 800 V Polarization Voltage
/PREP7
ET,1,144
*do,i,1,20
n,i
*enddo
rmuse,on
e,1,2,3,4,5,6,7,8
emore,9,10,11,12,13,14,15,16
emore,17,18,19,20
FINISH
/gst,off
/solu
cycle_t=500e-6 ! Cycle time of one saw tooth
! about 20 times the cycle time of mode 1
rise_t=cycle_t/10 ! Rise time
num_cyc=3 ! Number of cycles
antype,transient
nropt,full
deltime,rise_t/10,rise_t/10,rise_t/10
auto,off
outres,all,all
kbc,0
j=1
*do,i,1,num_cyc
time,cycle_t*(i-0.5)+rise_t*(i-1)
d,11,volt,100
d,12,volt,400
d,13,volt,-400
lswrite,j
j=j+1
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 307
Reduced Order Modeling
time,cycle_t*(i-0.5)+rise_t*i
d,11,volt,-100
d,12,volt,400
d,13,volt,-400
lswrite,j
j=j+1
*enddo
time,cycle_t*num_cyc+rise_t*num_cyc
d,11,volt,0
lswrite,j
lssolve,1,j
fini
/post26
/axlab,y, Modal amplitudes
nsol,2,1,emf,,mode1
nsol,3,2,emf,,mode2
plvar,2,3
fini
This example demonstrates the response of a saw tooth like voltage function. The voltage displacement
relationship is linearized since a high polarization voltage of 400 V is applied to both fixed electrodes.
The amount of remaining oscillations depend strongly on the cycle time and the damping ratios. In
practice, most mirror cells operate in a closed loop to a controller circuit to obtain better performance.
Figure 6.22: Modal Amplitudes vs. Time at Saw Tooth Like Voltage Function
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
308 of ANSYS, Inc. and its subsidiaries and affiliates.