15.11.2012 Views

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: Loading<br />

⎡400.<br />

0⎤<br />

⎢<br />

ABC = ⎢<br />

587. 2<br />

⎥<br />

⎥<br />

⎢965.<br />

6⎥<br />

⎢ ⎥<br />

⎣⎢<br />

740. 0⎦⎥<br />

Assuming that these are heat flux values, you would apply them as follows:<br />

*DIM,ABC,ARRAY,4 ! Declares dimensions of array parameter ABC<br />

ABC(1)=400,587.2,965.6,740 ! Defines values for ABC<br />

SFFUN,HFLUX,ABC(1) ! ABC to be used as heat flux function<br />

SF,ALL,HFLUX,100 ! Heat flux of 100 on all selected nodes,<br />

! 100 + ABC(i) at node i.<br />

See the Command Reference for a discussion of the *DIM, SFFUN, and SF commands.<br />

The SF command in the example above specifies a heat flux of 100 on all selected nodes. If nodes 1 through<br />

4 are part of the selected set, those nodes are assigned heat fluxes of 100 + ABC(i): 100 + 400 = 500 at node<br />

1, 100 + 587.2 = 687.2 at node 2, and so on.<br />

Note<br />

What you specify with the SFFUN command stays active for all subsequent SF and SFE commands.<br />

To remove the specification, simply use SFFUN without any arguments.<br />

2.5.7.3. Specifying a Gradient Slope<br />

You can use either of the following to specify that a gradient (slope) is to be used for subsequently applied<br />

surface loads:<br />

Command(s): SFGRAD<br />

GUI: Main Menu> Preprocessor> Loads> Define Loads> Settings> For Surface Ld> Gradient<br />

Main Menu> Solution> Define Loads> Settings> For Surface Ld> Gradient<br />

You can also use this command to apply a linearly varying surface load, such as hydrostatic pressure on a<br />

structure immersed in water.<br />

To create the gradient specification, you specify the type of load to be controlled (the Lab argument), the<br />

coordinate system and coordinate direction the slope is defined in (SLKCN and Sldir, respectively), the<br />

coordinate location where the value of the load (as specified on a subsequent surface load command) will<br />

be in effect (SLZER), and the slope (SLOPE).<br />

For example, the hydrostatic pressure (Lab = PRES) shown in Figure 2.9 (p. 37) is to be applied. Its slope<br />

can be specified in the global Cartesian system (SLKCN = 0) in the Y direction (Sldir = Y). The pressure<br />

(to be specified as 500 on a subsequent SF command) is to have its as-specified value (500) at Y = 0 (SLZER<br />

= 0), and will decrease by 25 units per length in the positive Y direction (SLOPE = -25).<br />

36<br />

Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />

of ANSYS, Inc. and its subsidiaries and affiliates.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!