Mechanical APDL Basic Analysis Guide

(Axel Boer) #1
! with the currently selected elements
sucreate,surf2,cplane
susel,s,surf1! select surface 'surf1'
sumap,psurf1,pres! map pressure on surf1. Result set name "psurf1"
susel,all! select all surfaces
sumap,velx,v,x! map VX on both surfaces. Result set name "velx"
sumap,vely,v,y! map VY on both surfaces. Result set name "vely"
sumap,velz,v,z! map VZ on both surfaces. Result set name "velz"
supr! global status of current surface data
supl,surf1,sxsurf1! contour plot result set sxsurf1
supl,all,velx,1! contour plot result set velx on all surfaces. Plot in context of all elements in
model
supl,surf2,vel! vector plot of resultant velocity vector on surface "surf2"
suvect, vdotn,vel,dot,normal! dot product of velocity vector and surface normal
! result is stored in result set "vdotn"
sueval, flowrate, vdotn, INTG! integrate "vdotn" over area to get apdl parameter "flow rate"
susave,all,file,surf! Store defined surfaces in a file
finish

7.2.2.6. Archiving and Retrieving Surface Data to an Array Parameter


Writing surface data to an arra y allows you to perform APDL operations on your result sets. You use
the SUGET command to write either the interpolated results data only (default), or the results data and
the geometry data to your defined parameter. The parameter is automatically dimensioned and filled
with data.


7.2.2.7. Deleting a Surface


Use the SUDEL command to delete one or more surfaces, along with the mapped results on those
surfaces. You can choose to delete all surfaces, or choose to delete individual surfaces by name. Use
the SUPR command to review the current list of surface names.


7.2.3. Integrating Surface Results


The INTSRF command (Main Menu> General Postproc> Nodal Calcs> Surface Integrl) allows you to
integrate nodal results on a selected surface. You must first select the nodes on the surface where the
nodal results are to be integrated.


You may use INTSRF to calculate lift and drag. If the surface is a fluid-solid interface, select only the
fluid elements for integration. Then, select the nodes by using the EXT option on the NSEL command
(Utility Menu> Select> Entities).


To use INTSRF to calculate lift and drag, you must specify a results coordinate system with the X-axis
and Y-axis aligned in the direction of the incoming flow field and the direction of gravity, respectively.
Then, the drag force is the force in the X-direction and the lift is the force in the Y-direction. You use
INTSRF,PRES and INTSRF,TAUW to obtain the lift and drag forces, respectively. You can use INTSRF,FLOW
to obtain both the lift and drag forces, separately. The outcome is written to the output (Jobname.OUT).


Integration results are in the active coordinate system (see the RSYS command). The type of results
coordinate system must match the type used in the analysis. However, you may translate and rotate
forces and moments as needed. You use the *GET command (Utility Menu> Parameters> Get Scalar
Data) to retrieve the results.


Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

The General Postprocessor (POST1)

Free download pdf