×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Help a newbie w/ Prep7 commands for input file please

Help a newbie w/ Prep7 commands for input file please

Help a newbie w/ Prep7 commands for input file please

(OP)
Hi.  I am totally new to Ansys and I need some help with inputting some Prep7 commands into an input file, so this thread is going to be full of questions (not all at once though).  My first question is how to use AATT to assign material attributes to areas.  I have 2 rectangular areas, 2 material types, and 1 element type.  My current input file is as follows:


/FILNAM,Flywheel12
/title, Axisymmetric Flywheel12 Geometry (half model)
/prep7

rihub=0.03000
rohub=0.03420
ririm=0.03420
rorim=0.07600
h=0.08334
delta=1.e-4

k,1,rihub,0.
k,2,rihub,h/2
k,3,rohub,h/2
k,4,rohub,0.

k,5,ririm-delta/2,0.
k,6,ririm-delta/2,h/2
k,7,rorim,h/2
k,8,rorim,0.

L,1,2
L,2,3
L,3,4
L,4,1

L,5,6
L,6,7
L,7,8
L,8,5

!define element type 1 as 6 node triangle axisymmetric
et, 1, plane2
keyopt, 1, 3, 1

!define material 1 as steel
mp, ex, 1, 1.99948e11
mp, prxy, 1, 0.27
mp, dens, 1, 7744
mp, mu, 1, 0.1


!define material 2 as carbon-epoxy
mp, ex, 2, 1.e10
mp, ey, 2, 1.e10
mp, ez, 2, 1.3e11
mp, prxy, 2, 0.3
mp, pryz, 2, 0.018
mp, prxz, 2, 0.018
mp, gxy, 2, 3846153846
mp, gyz, 2, 5.e9
mp, gxz, 2, 5.e9
mp, dens, 2, 1586
mp, mu, 2, 0.1

AL,1,2,3,4


AL,5,6,7,8


!define keypoint 1 as fixed in y direction
dk, 1, uy, 0

!define rotational speed of 6282 rad/s about y axis
omega,0,6282,0,0






Help would be greatly appreciated.  Thanks in advance.

RE: Help a newbie w/ Prep7 commands for input file please

AATT, MAT, REAL, TYPE

Associate mat, real, type number with selected areas. See the help file.

RE: Help a newbie w/ Prep7 commands for input file please

(OP)
Thanks for the reply.  I did manage to figure it out from the help file before coming back here.  

My next pressing question is probably just as simple.  What is the /prep7 command for applying a symmetry b.c. on lines, if any?  I looked in the help files and couldn't find it in the prep7 commands.  Thanks in advance.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources