Fortune Telling Collection - Comprehensive fortune-telling - ANSYS command flow helps explain

ANSYS command flow helps explain

All the following things, I hope the landlord will copy them into the notepad to view, and don't choose word wrap! ?

/PREP7! ? preprocessor

ET, 1,BEAM4! ? The definition element beam4 is a three-dimensional beam element.

KEYOPT, 1,2,0? ! ? Define key options for the cell. If it is followed by 0, which means default, you don't need to understand it first.

KEYOPT, 1,6,0

KEYOPT, 1,7, 1? ! ? The seventh key option here is defined as the number 1, which is the matrix equation for calculating gyro damping. ask

! ? IYY? Equal to? IZZ, that is, the two moments of inertia should be equal and these two quantities should be defined as real constants.

! ? The following command r.

KEYOPT, 1,9,0

KEYOPT, 1, 10,0?

*SET,p,acos(- 1)? ! ? Three parameters are defined, which are Pai (4. 13 15), the first radius R 1 and the second radius r2.

* suit, r 1.5

* Set, R2, 60! ? Radius unit

! ? The definition unit has two real constants, because there are two radii, which are the following r, 1.

! ? And r, 2

! ? In the definition of R command, there is a one-to-one correspondence between the use of cell beam4 and different cell R commands.

! ? The meanings of definitions are different, and each meaning, as shown in the figure below, must correspond to each other.

! ? This is the cross-sectional area, the moment of inertia in the Z direction, and the moment of inertia in the Y direction, all of which are the same when viewed from above.

! ? In the definition of KEYOPTions, you can see that key opt, 1, 7, 1.

r, 1,p*R 1**2,p*R 1**4/4,p*R 1**4/4,2*R 1,2*R 1,? ,?

RMORE? ,p*R 1**4/2,? ,? ,2 175,? ,? ! ? This also defines a real constant, because the command can only define 6 numbers, starting with the seventh.

! ? To use this command, you can use the corresponding number from the figure below.

r,2,p*R2**2,p*R2**4/4,p*R2**4/4,2*R2,2*R2,? ,! ? Define the second real constant r, 2.

RMORE? ,p*R2**4/2,? ,? ,2 175,? ,?

MPTEMP,,,,,,,,! ? Let's define the material properties. At present, what the landlord provides is after GUI operation.

! ? This needs to be simplified accordingly, because GUi operations usually include temperature considerations, so several temperature commands are used.

! ? There seems to be only one temperature at present, so there is no need to consider the temperature. After simplification, in the comments below, the comments are based on! (exclamation point)

MPTEMP, 1,0?

MPDATA,EX, 1,,2e5

MPDATA,PRXY, 1,,. 3?

MPTEMP,,,,,,,?

MPTEMP, 1,0?

MPDATA,DENS, 1,, 1e- 10

! ? Simplified material properties

! ? mp,ex, 1,2e5? ! ? The elastic modulus, Poisson's ratio and density are defined respectively, where 1 represents the first material property.

! ? mp,PRXY, 1,0.3

! ? mp,DENS, 1, 1e- 10

MPTEMP,,,,,,,,! ? The following is the definition of the second material property! It also includes elastic modulus, Poisson's ratio and density.

MPTEMP, 1,0?

MPDATA,EX,2,,2E5

MPDATA,PRXY,2,,. 3?

MPTEMP,,,,,,,?

MPTEMP, 1,0?

MPDATA,DENS,2,,8E-8?

k,? ,,,,? ! ? Define two key points, the first is 0, and the second coordinate is: (100,0,0).

k,? , 100,,,?

Type,? 1? ! ? Select the first element, beam 4.

MAT? 1! ? Select the first material property.

Real? 1? ! ? Select the first real constant

ESYS,? 0? ! ? Select the default cell coordinate system.

LSTR? 1,? 2! ? Create a straight line using the two key points just generated.

LESIZE, all,? ,? ,200,? , 1,? ,? , 1,! ? Divide the established straight line into 200.

Imesh? 1? ! ? According to the number of segments of the divided line, the line is meshed to generate a finite element model.

UX d, 1! ? For the first node (the node at the origin position), all three translation directions are constrained, but the rotation direction is not.

! ? Because the element beam4 has six degrees of freedom.

UY d, 1

UZ d, 1

UY d, 102? ! ? For node 102, if its position is calculated in this way, the total length of * * * is 100, which is divided into 200 points, then 102 is that position, and the landlord should know it.

! ? Select translation constraints in the y and z directions.

UZ d, 102?

FLST,2 1,2,ORDE, 1! ? The last two commands are combined to select the 200th node, but there is no specific operation.

! ? Only with the operations of pick and selecting, these two commands are generally generated directly by GUI, and people who write command streams generally don't use these two operations.

! ? So these two orders have actually done nothing at present.

FITEM,2200

For the above command, generally need to be simplified, the simplified command is:

/PREP7?

ET, 1,BEAM4?

KEYOPT, 1,7, 1

*SET,p,acos(- 1)

* suit, r 1.5

* Set, R2, 60?

r, 1,p*R 1**2,p*R 1**4/4,p*R 1**4/4,2*R 1,2*R 1,? ,?

RMORE? ,p*R 1**4/2,? ,? ,2 175,? ,?

r,2,p*R2**2,p*R2**4/4,p*R2**4/4,2*R2,2*R2,? ,?

RMORE? ,p*R2**4/2,? ,? ,2 175,? ,?

mp,ex, 1,2e5?

mp,PRXY, 1,0.3

mp,DENS, 1, 1e- 10

mp,ex,2,2e5?

mp,PRXY,2,0.3

MP, 2,8e-8 years old

k, 1,,,?

k,2 100、、、?

MAT? 1

Real? 1?

LSTR? 1,? 2?

LESIZE, all,? ,? ,200

Imesh? 1

UX d, 1

UY d, 1

UZ d, 1

UY postal code 102

UZ postal code 102

FLST,2 1,2,ORDE, 1?

FITEM,2200

The simplified order can be understood by combining what I said.

Because this passage is only modeling, there is no calculation. In fact, I have made it very clear:

First, define the unit, specify a key option including gyro damping effect, then define two real constants, then define two material properties, then create a line, and grid the line with the first real constant and the first material property! Second, impose constraints on this line. The origin position is completely constrained in three translation directions, and the positions of 102 nodes are constrained in two directions.