Mechanical APDL Basic Analysis Guide - Ansys
Mechanical APDL Basic Analysis Guide - Ansys Mechanical APDL Basic Analysis Guide - Ansys
Chapter 7:The General Postprocessor (POST1) transformation of results data), you may see some unexpected results such as negative values after a square operation or negative values even when you request absolute values. This feature is mainly intended for reading in data from your own, special-purpose program. By writing output data from that program in the form of the above commands, you can read them into POST1 and process them the same way you would ANSYS results. If you do have an ANSYS results file, it will not be affected by these commands. 7.4.6. Splitting Large Results Files If you have a results file that is too large for you to postprocess on your local machine (such as from running a large model on a server or cluster), you can split the results file into smaller files based on subsets of the model. You can then process these smaller files on your local machine. For example, if your large model is an assembly, you can create individual results files for each part. You can also use this capability to create a subset of results for efficient postprocessing. For example, you could take the results file from a large model that had all results written, and create a smaller results file containing only stresses on the exterior surface. This smaller file would load and plot quickly, while not losing any of the detailed data written to the full results file. When you use this feature, the subset geometry is also written to the results file so that you do not need the database file (no SET required). However, you must not resume any database when postprocessing one of these results files, and your original results file must have the geometry written to it (i.e., do not issue /CONFIG,NORSTGM,1). To use the results file splitting feature: Command(s): RSPLIT GUI: Main Menu> General Postproc> You can use this feature in conjunction with INRES to limit the amount of data written to the results files. A brief example of how you might use this feature is shown below: /POST1 FILE,jobname,rst ! Import *.rst file ESEL,all INRES,nsol,strs ! Write out only nodal solution and stresses RSPLIT,ext,esel,myexterior ! Write the results for the exterior of the whole model to a file ! named myexterior.rst FINISH /EXIT ... /POST1 FILE,myexterior PLNS,s,eqv ! Postprocess the myexterior.rst file as usual PLNS,u,sum FINISH 7.4.7. Magnetics Command Macros The following ANSYS magnetic command macros are also available for calculating and plotting results from a magnetic analysis: • CURR2D (Main Menu> General Postproc> Elec&Mag Calc> Element Based> Current) calculates current flow in a 2-D conductor. • EMAGERR (Main Menu> General Postproc> Elec&Mag Calc > Element Based> Error Eval) calculates the relative error in an electrostatic or electromagnetic field analysis. 182 Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
• EMF (Main Menu> General Postproc> Elec&Mag Calc> Path Based> EMF) calculates the electromotive force (emf ) or voltage drop along a predefined path. • EMFT (Main Menu> General Postproc> Elec&Mag Calc> Path Based> EMF) summarizes electromagnetic forces and torques on a selected set of nodes. • FLUXV (Main Menu> General Postproc> Elec&Mag Calc> Path Based> Path Flux) calculates the flux passing through a closed contour. • FMAGBC (Main Menu> Preprocessor> Loads> Define Loads> Apply> Electric> Flag> Comp. Force) applies force boundary conditions to an element component. • FMAGSUM (Main Menu>General Postproc>Elec&Mag Calc> Component Based> Force) summarizes electromagnetic force calculations on element components. • FOR2D (Main Menu> General Postproc> Elec&Mag Calc> Path Based> Mag Forces) calculates magnetic forces on a body. • HMAGSOLV (Main Menu> Solution> Solve> Electromagnet> Harmonic Analys> Opt&Solv) specifies 2-D harmonic electromagnetic solution options and initiates the solution for a harmonic analysis. • IMPD (Main Menu> General Postproc> Elec&Mag Calc> Path Based> Impedance) calculates the impedance of a device at a particular reference plane. • LMATRIX (Main Menu> Solution> Solve> Electromagnet> Static Analysis> Induct Matrix) calculates the inductance matrix and the total flux linkage in each coil for an arbitrary set of coils. • MAGSOLV (Main Menu> Solution> Solve> Electromagnet> Static Analysis> Opt&Solv) specifies magnetic solution options and initiates the solution for a static analysis. • MMF (Main Menu> General Postproc> Elec&Mag Calc> Path Based> MMF) calculates magnetomotive force along a path. • PERBC2D (Main Menu> Preprocessor> Loads> Define Loads> Apply> Magnetic> Boundary> Vector Poten> Periodic BCs) generates periodic constraints for 2-D planar analysis. • PLF2D (Main Menu> General Postproc> Plot Results> Contour Plot> 2D Flux Lines) generates a contour line plot of equipotentials. • PMGTRAN (Main Menu> TimeHist Postpro> Elec&Mag> Magnetics) summarizes electromagnetic results from a transient analysis. • POWERH (Main Menu> General Postproc> Elec&Mag Calc> Element Based> Power Loss) calculates the RMS power loss in a conducting body. • QFACT (Main Menu> General Postproc> Elec&Mag Calc> Cavity> Q-factor) calculates the quality factor for high-frequency electromagnetic resonators from a mode-frequency solution. • RACE (Main Menu> Preprocessor> Modeling> Create> Racetrack Coil) defines a "racetrack" current source. • SENERGY (Main Menu> General Postproc> Elec&Mag Calc> Element Based> Energy) determines the stored magnetic energy or co-energy. • SPARM (Main Menu> General Postproc> Elec&Mag Calc> Port> S-Parameters) calculates the scattering parameters between two ports of a rectangular waveguide with a TE10 mode excitation or a coaxial waveguide. • TORQ2D (Main Menu> General Postproc> Elec&Mag Calc> Path Based> Torque) calculates torque on a body in a magnetic field. • TORQC2D (Main Menu> General Postproc> Elec&Mag Calc> Path Based> Circular Torq) calculates torque on a body in a magnetic field based on a circular path. Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 7.4.7. Magnetics Command Macros 183
- Page 147 and 148: Chapter 7: The General Postprocesso
- Page 149 and 150: Although not required for postproce
- Page 151 and 152: The ETABLE command documentation li
- Page 153 and 154: • Path plots • Reaction force d
- Page 155 and 156: The PLETAB command contours data st
- Page 157 and 158: PLDISP,1 ! Deformed shape superimpo
- Page 159 and 160: 7.2.1.6. Particle Flow and Charged
- Page 161 and 162: • Particle flow traces occasional
- Page 163 and 164: The surfaces you create fall into t
- Page 165 and 166: You can opt to archive all defined
- Page 167 and 168: 19 41.811 51.777 .00000E+00 -66.760
- Page 169 and 170: Sample PRETAB and SSUM Output *****
- Page 171 and 172: 7.2.5. Mapping Results onto a Path
- Page 173 and 174: Command(s): PDEF GUI: Main Menu> Ge
- Page 175 and 176: To retrieve path information from a
- Page 177 and 178: 7.2.6. Estimating Solution Error On
- Page 179 and 180: Write Results - You can use the dat
- Page 181 and 182: NOTE: When you append data to your
- Page 183 and 184: EMF - Windows Enhanced Metafile For
- Page 185 and 186: Figure 7.20 The PGR File Options Di
- Page 187 and 188: 7.4.8. Comparing Nodal Solutions Fr
- Page 189 and 190: the effect of the rigid body rotati
- Page 191 and 192: The SADD command (Main Menu> Genera
- Page 193 and 194: To view correct mid-surface results
- Page 195 and 196: To get usable results combine the r
- Page 197: 7.4.4. Mapping Results onto a Diffe
- Page 201 and 202: 7.4.8.1. Matching the Nodes The Mec
- Page 203 and 204: 7.4.8. Comparing Nodal Solutions Fr
- Page 205 and 206: Chapter 8: The Time-History Postpro
- Page 207 and 208: enables the alternate selections sh
- Page 209 and 210: 1. Click on the Add Data button. Re
- Page 211 and 212: APPEND Appends data to previously s
- Page 213 and 214: !derivative of variable 2 with resp
- Page 215 and 216: The above command assumes that you
- Page 217 and 218: When plotting complex data such as
- Page 219 and 220: Sample Output from EXTREM time-hist
- Page 221 and 222: 5. Select the variables to be opera
- Page 223 and 224: RESP requires two previously define
- Page 225 and 226: Chapter 9: Selecting and Components
- Page 227 and 228: Note Crossover commands for selecti
- Page 229 and 230: would put UX and UZ constraints on
- Page 231 and 232: The Command Reference describes the
- Page 233 and 234: Chapter 10: Getting Started with Gr
- Page 235 and 236: Remote Network Access Hidden Line R
- Page 237 and 238: 10.4.1. Adjusting Input Focus To en
- Page 239 and 240: • If the environment variable SB_
- Page 241 and 242: 10.5.5. Erasing the Current Display
- Page 243 and 244: Chapter 11: General Graphics Specif
- Page 245 and 246: 11.3.1. Changing the Viewing Direct
- Page 247 and 248: 11.4. Controlling Miscellaneous Tex
Chapter 7:The General Postprocessor (POST1)<br />
transformation of results data), you may see some unexpected results such as negative values after a square<br />
operation or negative values even when you request absolute values.<br />
This feature is mainly intended for reading in data from your own, special-purpose program. By writing<br />
output data from that program in the form of the above commands, you can read them into POST1 and<br />
process them the same way you would ANSYS results. If you do have an ANSYS results file, it will not be<br />
affected by these commands.<br />
7.4.6. Splitting Large Results Files<br />
If you have a results file that is too large for you to postprocess on your local machine (such as from running<br />
a large model on a server or cluster), you can split the results file into smaller files based on subsets of the<br />
model. You can then process these smaller files on your local machine. For example, if your large model is<br />
an assembly, you can create individual results files for each part.<br />
You can also use this capability to create a subset of results for efficient postprocessing. For example, you<br />
could take the results file from a large model that had all results written, and create a smaller results file<br />
containing only stresses on the exterior surface. This smaller file would load and plot quickly, while not losing<br />
any of the detailed data written to the full results file.<br />
When you use this feature, the subset geometry is also written to the results file so that you do not need<br />
the database file (no SET required). However, you must not resume any database when postprocessing one<br />
of these results files, and your original results file must have the geometry written to it (i.e., do not issue<br />
/CONFIG,NORSTGM,1).<br />
To use the results file splitting feature:<br />
Command(s): RSPLIT<br />
GUI: Main Menu> General Postproc><br />
You can use this feature in conjunction with INRES to limit the amount of data written to the results files.<br />
A brief example of how you might use this feature is shown below:<br />
/POST1<br />
FILE,jobname,rst ! Import *.rst file<br />
ESEL,all<br />
INRES,nsol,strs ! Write out only nodal solution and stresses<br />
RSPLIT,ext,esel,myexterior ! Write the results for the exterior of the whole model to a file<br />
! named myexterior.rst<br />
FINISH<br />
/EXIT<br />
...<br />
/POST1<br />
FILE,myexterior<br />
PLNS,s,eqv ! Postprocess the myexterior.rst file as usual<br />
PLNS,u,sum<br />
FINISH<br />
7.4.7. Magnetics Command Macros<br />
The following ANSYS magnetic command macros are also available for calculating and plotting results from<br />
a magnetic analysis:<br />
• CURR2D (Main Menu> General Postproc> Elec&Mag Calc> Element Based> Current) calculates<br />
current flow in a 2-D conductor.<br />
• EMAGERR (Main Menu> General Postproc> Elec&Mag Calc > Element Based> Error Eval) calculates<br />
the relative error in an electrostatic or electromagnetic field analysis.<br />
182<br />
Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />
of ANSYS, Inc. and its subsidiaries and affiliates.