A Post 26 Primer - Padtinc

3y ago
70 Views
8 Downloads
2.74 MB
54 Pages
Last View : 12d ago
Last Download : 3m ago
Upload by : Mariam Herr
Transcription

A Post 26 Primer:Post Processing over MultipleTime/Load Steps in Mechanical APDLEric MillerCo-OwnerPrincipal, Simulation andBusiness Technologies04/12/2012PADT, Inc.DX R13: 02/17/20111

Agenda Note: This presentation is beingrecorded IntroductionsFundamentalsDefining VariablesViewing VariablesCalculatingOther POST26 ToolsSuggestions andRecommendationsDX R13: 02/17/20112

IntroductionsDX R13: 02/17/20113

Upcoming Webinars Upcoming Webinars––––––––– Feb 9, 2012 - 12:00 MSTWorking Directly with Nodes and Elements in ANSYS MechanicalFeb 23, 2012 - 12:00 MSTAssembly Meshing in ANSYS R14 CANCELEDMarch 8, 2012 - 12:00 MSTIntro to Workbench Framework Scripting - Controlling projects, materials, and solution execution with pythonMarch 22, 2012 - 12:00 MSTMastering the Remote Solver Manager (RSM) at R14April 12, 2012 – 12:00 MSTA POST26 Primer: Post Processing over Multiple Time/Load Steps in Mechanical APDLApril 26, 2012 – 12:00 MSTA Constraint Equation Primer: How to Tie Degrees of Freedom TogetherMay 10, 2012 – 12:00 MSTOptimization with ANSYS DesignXplorer at R14May 24, 2012 – 12:00 MSTModeling Moisture Diffusion in ANSYSSummer Break: June & July (maybe August)Primers are new:– Oriented towards newer users or Workbench users who may not have experience withsome of the fundamentals in the ANSYS Mechanical APDL solver See upcoming and past webinars at:– padtincevents.webex.com Click on ANSYS Webinar SeriesDX R13: 02/17/20114

About PADT PADT is an Engineering ServicesCompany– Mechanical Engineering– 18 Years of Growth and Happy customers– 70’ish Employees 3 Business Areas– CAE Sales & Services Consulting, Training, Sales, Support– Product Development– Rapid Prototyping & Manufacturing Learn More: www.PADTINC.comWe Make Innovation WorkDX R13: 02/17/20115

Cube HVPC Systems Balance between speed and cost– Mini-Cluster96 Cores / 512 GB RAM / 6 TB DiskMobile Rack / UPS / Monitor / Keyboard 34,900– Compute Server32 Cores / 256 GB RAM / 3 TB Disk 14,250– Simulation Workstation (Intel)12 Cores / 96 GB RAM / 3 TB Disk 11,750– Simulation Workstation (AMD)12 Cores / 64 GB RAM / 3 TB Disk 6,300 www.CUBE-HVPC.comDX R13: 02/17/20116

PeDAL – The APDL Editor Side-by-side editor and help viewer layout.Instant help on any documented APDL command by pressing F1.Full syntax highlighting for ANSYS v12 Mechanical APDL.Auto-complete drop downs for APDL Commands.APDL Command argument hints while typing commands.Search ANSYS help phrases and keywords.Multiple tabs for the editor and html viewer.Full capability web browser built in allows for rich web experience and websearches.DX R13: 02/17/20117

Connect with PADTFacebook:facebook.com/padtincEmail inkedIn:Search on PADT, Inc.ANSYS User Blog:padtinc.com/focuswww.padtinc.com/epubsDX R13: 02/17/20118

FundamentalsDX R13: 02/17/20119

Assumptions You know the basics of MAPDL You are not an MAPDL expert or guru– Need reminders on where some of the commands are That you will be accessing this via the MAPDL GUI, APDLmacros, and code snippets in WorkbenchDX R13: 02/17/201110

ANSYS Results The ANSYS RST file stores results at various points– A point can be at a given time in a transient run or it canbe a location on a load curve for a static run– Not necessarily every point that a solution is calculated at User determines how often results are saved– Each record has a time, load step, and sub stepassociated with it– Static or Transient, even modal results are stored thesame way Header and analysis type tell you what type of solution youhave Do a SET,LIST to see what is in the file Results are stored by node or element– DOF stuff by node– Stresses/Strains/etc by element at each corner node– So to get at Stress/Strains/etc you must Average over an element Un-averaged for a corner node Average over all elements attached to a nodeDX R13: 02/17/201111

Conventions/Words We will refer to a given loadstep/substep, time point, or frequency as a“point” Solution set is the collection of result solutions stored in the RST file. It ismade up of solution points. The “database” is not the *.db file.– It is the model and result information currently stored in memory An array is an APDL parameter of type array– A vector you can stick stuff inDX R13: 02/17/201112

POST1 vs. POST26 POST1, the general post processor– It looks at results across the whole model at a given point LS/SS, Time, or Freq– Use it to make contour plots, animations, list results at a given point– SET,LS,SS,FACT,KIMG,TIME to store a given point in the database POST26, the Time History Post Processor– Looks at a result value on a node or element over the solution set– Instead of loading all the results at a point into the database, it storesthe results over the solution set for user specified nodes or elements– No model plots, just lists and graphs (usually vs. time)– Allows complex calculations on results You can do what POST26 doesin POST1 with do loops– But every step loads all results – slow– POST26 “skips” through the file - ),node,mynode,u,xset,next*enddoDX R13: 02/17/201113

Getting into POST26 /post26– Required, commands are filtered Click on TimeHist PostPro in Main MenuDX R13: 02/17/201114

Its all About Variables A table of a result item at a location in the model vs time orfrequency Not an APDL parameter– But you can push one into an array You tell POST26 what variables you want to create Whole set of commands for defining, modifying,mathamatizing, and controlling variables Also a GUI tool to build the commandsDX R13: 02/17/201115

Our Test Model Infamous “Tower of Test”– Transient, large deflection– Move base in UX (time,ux): 0,0.1,1.2,5.3,01,0 Will post on ,ux,0time,.3lswrite,3time,2lswrite,4/solulssolve FILLDATA,191,,,,1,1REALVAR,191,191!*NSOL,2,18,U,X, UX 2STORE,MERGEXVAR,1PLVAR,2DX R13: 02/17/201116

Defining VariablesDX R13: 02/17/201117

Defining Variables You have to tell POST26 what information you want and howyou want it:– Node/Element, Where in an element, What type of result, How toaverage, etc Each variable has a unique variable number– You access the variable with this number for operations/plotting/etc – You can also give it a name: Label only Use:– ANSOL, NSOL, ESOL, EDREAD, RFORCE, JSOL, GSSOL, GAPF,SOLU Control with:– FORCE, LAYERP26, SHELL, CFACT, TVAR Or use the Tool NOTE: Time or Freq automatically created and is Var 1DX R13: 02/17/201118

Two Step Process Define the variables with variable definition commands Store them in the database Separate Store for efficiency– Reads all the variables in at onceDX R13: 02/17/201119

Time History Variable Tool When you enter POST26 in the GUI, it comes up– Or click “TimeHist Postpro- Variable Viewer” Even if you are doing scripting, use the GUI to figure it outDX R13: 02/17/201120

Defining Variables in the Tool Click the Plus Sign Pick from list– It handles all the options/different commands for you Pick or give number of node/element Example: Reaction Force on Bottom Node, in X– RFORCE,2,4,F,X, FX 2DX R13: 02/17/201121

More on Tool Icons from Left to Right:– ADD Delete Graph List Properties Import Save Overlay Clear Refresh Variable list shows all the stored variables with name, node/element,what it is, min/max– Note that VAR number is not shown count or do a STAT If you are not using the calculator, it gets in the way– Collapse and expand Variable list Automatically does a StoreDX R13: 02/17/201122

Variable Store Commands: Common ANSOL, NVAR, NODE, Item, Comp, Name, Mat, Real, Ename– Average Nodal Data (stress/strain) You can tell it what material/real/element type to use when node is on boundary Uses RSYS Uses AVPRIN to tell it how to average if default (average components then derive)is not OK ESOL, NVAR, ELEM, NODE, Item, Comp, Name– Element data (Stress/Strain)– If no node specified, then average for all nodes in element– Gets at a lot more values, including SMISC, NMISC NSOL, NVAR, NODE, Item, Comp, Name, SECTOR– Nodal Data (DOF solutions)– Supports SECTOR for cyclic Symmetry RFORCE, NVAR, NODE, Item, Comp, Name– Reaction Forces JSOL, NVAR, ELEM, ITEM, COMP, Name– Joint information (U, V, A, Forces/Moments)DX R13: 02/17/201123

Variable Store Commands: LS-DYNA EDREAD, NSTART, Label, NUM, STEP1, STEP2 Reads the various LSDYNA time history files and stores their entirecontents into multiple variables. You specify a starting number (NSTART), not an NVAR Files:– GLSTAT, MATSUM, SPCFORC, RCFORC, SLEOUT, NODOUT,RBOUT NUM defines what item to read– part (MATSUM, RBDOUT)– node number (SPCFORC, NODOUT)– contact entity (SLEOUT, RCFORC)DX R13: 02/17/201124

Variable Store Commands: Other SOLU: Stores solution (solver) information– Convergence, and solver parameters CISOL: J-Integral InfoENERSOL: EnergiesGAPF: Gap Force DataGSSOL: Generalized Plane Strain Length, Rotation, Force, MomentDX R13: 02/17/201125

What File to Get From Jobname.rst is the default You can change with:– GUI: TimeHist PostPro- Settings- File– Tool: File- Open Results– APDL: FILE, fname, ext Use this to point to an LS-DYNA *.his file as wellDX R13: 02/17/201126

Number of Variables By default, in batch, you get room for 10 variables forANSYS runs– 30 for LS-DYNA– If you are using the Tool, it automatically raises it to 200 You can raise that to 200, and you get 190– ANSYS needs 10 of its own Has to do with how they very quickly get, store, and accessthe variables – efficiency Change from default with:– GUI: TimeHist PostPro- Settings- File– Tool: Automatically sets at maximum– APDL: NUMVAR,nvar Recommendation: Just put an numvar,200 in your macrosDX R13: 02/17/201127

Reading in Your Own Variables Data command– DATA, IR, LSTRT, LSTOP, LINC, Name, KCPLX– Must be followed by a FORTRAN format statement– I can never get this one to work Use APDL Parameters– *TREAD to read into an APDL table array– Use VPUT to convert from APDL array to a Variable– Does not interpolate, you need the same time points as in your NSOLtype command - need to find a work around.– Recommended way Use eui or Tool to read it in– Nice if you are going to do it a lot– Very specific format– See next slide for exampleDX R13: 02/17/201128

Tool or EUI format eui,'ansys::results::timeHist::TREAD d:\test1\harmonic.prnTESTMID' eui,'ansys::results::timeHist::vputData TESTMID 5'################TEST DATA FILE EXAMPLEALL COMMENT LINES BEGIN WITH #Blank lines are ignoredThe first line without # sign must contain the variable names to be usedfor each column of data read into POST26. NOTE that for complex data onlyone variable name should be supplied per (real, imaginary) pair as shown below.The next line can either be left blank or have descriptors for each columnsuch as REAL and IMAGINARYThe data itself can be in free format with the columns "comma delimited","tab delimited", or "blank delimited"The first column of data is always reserved for the independent variable(usually TIME or 90E-02DX R13: 02/17/201129

The Store Command When in batch/command line you need to do a STOREcommand to actually read the results in STORE, Lab, NPTS– Lab: Merge (default). Overwrites Vars that exist, adds new onesNew. Replace all data with new definitionsAppen. Appends data. Use this when you want to add time segmentsALLOC. Creates the data records for npts but does not create anyvariables. PSD. Create frequency points for PSD calculations– NPTS Number of time (frequency) points.DX R13: 02/17/201130

STAT STAT– Issue a STAT option first, then STAT PRINTSTAT– Find out your listing options and what variables you have– Default DEFINESTAT– Tells you whatyour settings areand whatvariables youhave defined OPERATESTAT– Lists any operation settings you may have, and variables defined PLOTTINGSTAT– Shows the POST26 display settings.DX R13: 02/17/201131

DisplayingVariablesDX R13: 02/17/201132

Plotting Most of the time you will be making a line graphTime on X axis, value on YYou can stack multiple VariablesTool: Use the graph buttonGUI: TimeHist Postpro- Graph VariablesAPDL: PLVARDX R13: 02/17/201133

PLVAR PLVAR, NVAR1, NVAR2, NVAR3, NVAR4, NVAR5, NVAR6,NVAR7, NVAR8, NVAR9, NVAR10 Allows you to plot up to 10 variables against each other– Just give the variable number Plot controlled by normal graphing controls– Google: focus graphing in ansys Related Commands:– XVAR: Allows you to change X axis to a variable– PLCPLX: Change to allow for complex portion of results– PLTIME: Specify time rangeDX R13: 02/17/201134

Simple The number of points you use with store, and your data,determine graph resolution Great for quick plots ANSYS Mechanical?– If your code post processing snippet has a /show,png and you makeplots, those come back to ANSYS MechanicalDX R13: 02/17/201135

Listing GUI: TimeHist Postpro- List Variables TOOL: Little sheet of paper (List) icon APDL: PRVAR– PRVAR, NVAR1, NVAR2, NVAR3, NVAR4, NVAR5, NVAR6 Standard listing commands and controls apply– Google: Tools of Post Processing: Listing focus Also EXTREM– It lists the min and max for all variables Related commands:– PRCPLX: Display complex values– PRTIME: Time rangeDX R13: 02/17/201136

Exporting and Such If you want to do more you can put variables into APDL tableor array and then write it out with *VWRITE If you “save data” to a file in the Tool, it writes the code foryou.– Modify to write as you want– Very easy to read into Excel as fixed width*DEL, P26 EXPORT*DIM, P26 EXPORT,TABLE,160,1VGET, P26 EXPORT(1,0),1VGET, P26 ,'UX 2'%14C %14C*VWRITE, P26 EXPORT(1,0), P26 EXPORT(1,1)%14.5G %14.5G/OUTPUT,TERMDX R13: 02/17/201137

CalculatingDX R13: 02/17/201138

Operations The calculator has a purpose: you can build calculations withit– Uses standard operators– Variables use their names in {} APDL has vector math commands– Add/Subtract/Multiply/Divide– Integrate/Differentiate– Sqrt/Absolute Value/Logs/Exponent,– Find Large/Small You can overwrite!– 21 can be used in a calc andbe the destination as wellDX R13: 02/17/201139

Example: FSUM SQRT of the sum of the squaresDo it in the tool using the calculator or by writing in equationOur put in commandsGood way to do a script is use calculator, then look at codegeneratedrforce,11,8,f,x,FX 8rforce,12,8,f,y,FY 8rforce,13,8,f,z,FZ 15,16sqrt,18,17plvar,18DX R13: 02/17/201140

Example: Max Stress on 1,-1 Corner Edges Grab nodes on top Stick first node’s S1 into Variable 20 Loop on remaining nodes– Put S1 into Variable 21– Overwrite 20 with maxof 20 and 21 (LARGE) Max is in 21 at ntnn ndnext(-1)ansol,20,nn,s,1nn nn ndnext(nn)*enddoplvar,20nsel,allDX R13: 02/17/201141

*GET tools There is a whole set of *GET commands that read a variableand return a scalar value– *get,myval,VARI,nvar,Item1,Item2– Item1,Item 2 can be: EXTREM– Min, max, last value or the time that value occurs at» If nvar 32 is stresses, to get max stress and when it occurs:» *get,mxs,vari,32,extrem,vmax» *get,mxt,vari,32,extrem,tmax– Covariance between two variables RTIME,t– Real Values at a given time ITIME,t– Imaginary Values at a given timeDX R13: 02/17/201142

Even more with VGET & VPUT You can also transfer variables into APDL arrays with VGETand the put it back with VPUT Opens up the full spectrum of APDL array mathDX R13: 02/17/201143

Full List of Commands ABS: Forms the absolute value of a variable.ADD: Adds variables.ATAN: Forms the arctangent of a complex variable.CLOG: Forms the common log of a variableCONJUG: Forms the complex conjugate of a variable.DERIV: Differentiates a variable.EXP: Forms the exponential of a variable.FILLDATA: Fills a variable by a ramp function.IMAGIN: Forms an imaginary variable from a complex variable.INT1: Integrates a variable.LARGE: Finds the largest (the envelope) of three variables.NLOG: Forms the natural log of a variable.PROD: Multiplies variables.QUOT: Divides two variables.REALVAR: Forms a variable using only the real part of a complex variable.SMALL: Finds the smallest of three variables.SQRT: Forms the square root of a variable.DX R13: 02/17/201144

Other POST26CommandsDX R13: 02/17/201145

Lots more Complex Stuff This is a primer, so we are skipping the details on thecomplicated stuff Read manual for detailsDX R13: 02/17/201146

PSD POST26 will take Mode Shapes and PSD data and calculateCovariance and Response PSD Covariance– Get variable for the nodes and quantitiesyou want covariance on– Use CVAR on two variables– Then use *get,par,VARI,nvar,extrem,cvar Response PSD– Store PSD file information with STORE,PSD– Get variable for the nodes and quantitiesyou want response at– Use RPSD to calculate the response PSDDX R13: 02/17/201147

Make Response Spectrum from a Transient Run RESP command You create a table with the “oscillator” frequencies in it.– Use FILLDATA or DATA You fill a variable with the time dependent result you want aresponse spectrum for Use RESP to get U, V, A See Theory Manual for details Or run using ToolDX R13: 02/17/201148

Smoothing Data SMOOTH commandSMOOTH, Vect1, Vect2, DATAP, FITPT, Vect3, Vect4, DISPLots of optionsVect1 is the Independent value, Vect2 is the time variable– Backwards Vect3 and Vect4 contain the smoothed data after thecommand is run Not a button in calculator, you have to type in:– Smoothed response SMOOTH ({UY AT MIDPOINT},{TIME},2)DX R13: 02/17/201149

Suggestions &RecommendationsDX R13: 02/17/201150

Crawl, Walk, Run Really not very complexBut can get complicated bookkeeping wiseUse a simple model (ToT ) to prove out your processRemember you can use APDL (VGET/VPUT) if what you arelooking for is not in POST26 commands Get your head around the fact that you are working with dataat a point, over time.– Not data at a lot of points at a single time (POST1)DX R13: 02/17/201151

Working with Mechanical For many things, probes do what POST26 does If you are using POST26 as a post processing snippet:– Don’t forget to put a FINISH and /POST26 at the top of your script– Use a /SHOW,PNG to bring back any plots– *get scalar results can also be brought back as parametersDX R13: 02/17/201152

Resources Go the Focus Blog (www.padtinc.com/focus) and I’ll post themacro I used and a workbench example– This PowerPoint as well The manuals www.ansys.net– Has some post26 examples. Best is a Bode plot by Bill BullatDX R13: 02/17/201153

Thank You PADT Enjoys doing these webinars Please consider us as your partner ANSYS Related––––Training, MentoringConsulting ServicesCustomizationSales (if in AZ, NM, CO, UT, NV) Stratasys 3D Printers and Systems CUBE HVPC Systems Product Development– High-end engineering with practical, real world application Rapid Prototyping– SLA, SLS, FDM, PolyJet, CN

Side-by-side editor and help viewer layout. Instant help on any documented APDL command by pressing F1. Full syntax highlighting for ANSYS v12 Mechanical APDL. Auto-complete drop downs for APDL Commands. APDL Command argument hints while typing commands. Search ANSYS help phrases and keywords. Multiple tabs for the editor and html viewer. Full capability web .

Related Documents:

Latin Primer 1: Teacher's Edition Latin Primer 1: Flashcard Set Latin Primer 1: Audio Guide CD Latin Primer: Book 2, Martha Wilson (coming soon) Latin Primer 2: Student Edition Latin Primer 2: Teacher's Edition Latin Primer 2: Flashcard Set Latin Primer 2: Audio Guide CD Latin Primer: Book 3, Martha Wilson (coming soon) Latin Primer 3 .

American Legion 5th District 5th District Commander, Western Springs Cicero Post #96 DesPlaines Post #36 George L. Giles Post #87, Chicago Maywood Post #133, Melrose Park Morton Grove Post #134 Schiller Park Post #104 T.H.B. Post #187, Elmhurst Edward Feely Post #190, Brookfield Richard J. Daley Post #197, Chicago

CARC MIL-C-46168 (9) Type IV topcoat CARC coatings. Two sets (M and P) labeled DTM were coated just with the epoxy primer and epoxy primer plus topcoat. Table 2. Wash primer coating systems. Substrate Pretreatment Primer Topcoat Cold rolled steel (CRS)1080 DOD-P-15328D or one of three vendors MIL-P-53030A e

10 ESP Primer System Instruction Guide p/n: 029-0810-01-0 Holding the primer ON for two (2) or three (3) seconds after a prime from draft will clean out residue in the primer. DO NOT run the primer over forty-five (45) seconds. If prime is not achieved within 45 seconds, stop

package PRIMER (Plymouth Routines In Multivariate Ecological Research), obtainable from PRIMER-e, (see www.primer-e.com). Its scope is the analysis of data arising in community ecology and environmental science which is multivariate in character (m

This computer primer supplements Applied Linear Regression, 4th Edition (Weisberg,2014), abbrevi-ated alr thought this primer. The expectation is that you will read the book and then consult this primer to see how to apply what you have learned using R. The primer often refers to speci c problems or sections in alr using notation like alr[3.2] or

To create a corner post, install the 900 profile over the face of the post, for the new run of fence, and insert a post infill over the exposed recess of the corner post. 2420mm post face to post centre HOUSE 1 HOUSE 2 5mm clearance minimum 90º 90 configuration Insert post infill Install 90º profile over the face of the mid-post.

Introduction 1 Part I Ancient Greek Criticism 7 Classical Literary Criticism: Intellectual and Political Backgrounds 9 1 Plato (428–ca. 347 bc)19 2 Aristotle (384–322 bc)41 Part II The Traditions of Rhetoric 63 3 Greek Rhetoric 65 Protagoras, Gorgias, Antiphon, Lysias, Isocrates, Plato, Aristotle 4 The Hellenistic Period and Roman Rhetoric 80 Rhetorica, Cicero, Quintilian Part III Greek .