CitadelS
Structural
- Dec 16, 2012
- 2
Dear friends,
I have some problem using "Load Case" in ANSYS. I can't drive result when I use "LCASE" except defromation. Here I write my macro for better understanding.
I model a simple cantilever beam in which loads are applied at the end point (-100 N and -200 N). I want to define -100 N as LC1 and -200 N as LC2 and combine them this way: LC3 = 1.2×LC1+1.6×LC2 and then see the results in LC3, for example von misses stresses and creating ETABLE, but It seems just nodal deflection can be extracted.
I would appriciate if anybody could help!
Thanks,
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/PREP7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Geometrical Modeling
K,1,
K,2,500
L,1,2
ET,1,PIPE16
KEYOPT,1,6,1
R,1,25,2
MP,EX,1,70000
MP,PRXY,1,0.33
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Meshing
LESIZE,ALL,20
LMESH,1
FINI
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Applying Static Analysis
/SOLU
OUTRES,NSOL,ALL
ANTYPE,0
TIME,1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Applying Boundry Conditions
DK,1,,0,,0,ALL
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Defining Load Steps
FK,2,FY,-100
LSWRITE,1
FK,2,FY,-200
LSWRITE,2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Solve All Load Steps
/LSSOLVE,1,2
FINI
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Writing Load Cases
/POST1
SET,1
LCWRITE,1
SET,2
LCWRITE,2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Defining Load Case Factor
LCASE,1
LCFACT,1,1.2
LCASE,2
LCFACT,2,1.6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Writing Load Case 3
LCASE,1
LCOPER,ADD,2
LCWRITE,3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Defining ETABLES
/POST1
LCASE,1
ETABLE,VM1,S,EQV
ETABLE,DP1,U,Y
LCASE,2
ETABLE,VM1,S,EQV
ETABLE,DP1,U,Y
LCASE,3
ETABLE,VM3,S,EQV
ETABLE,DP3,U,Y
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Plotting ETABLES –Which will be shown
PLETAB,DP3,NOAV
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Plotting ETABLES –Which won't be shown
PLETAB,VM3,NOAV
I have some problem using "Load Case" in ANSYS. I can't drive result when I use "LCASE" except defromation. Here I write my macro for better understanding.
I model a simple cantilever beam in which loads are applied at the end point (-100 N and -200 N). I want to define -100 N as LC1 and -200 N as LC2 and combine them this way: LC3 = 1.2×LC1+1.6×LC2 and then see the results in LC3, for example von misses stresses and creating ETABLE, but It seems just nodal deflection can be extracted.
I would appriciate if anybody could help!
Thanks,
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/PREP7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Geometrical Modeling
K,1,
K,2,500
L,1,2
ET,1,PIPE16
KEYOPT,1,6,1
R,1,25,2
MP,EX,1,70000
MP,PRXY,1,0.33
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Meshing
LESIZE,ALL,20
LMESH,1
FINI
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Applying Static Analysis
/SOLU
OUTRES,NSOL,ALL
ANTYPE,0
TIME,1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Applying Boundry Conditions
DK,1,,0,,0,ALL
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Defining Load Steps
FK,2,FY,-100
LSWRITE,1
FK,2,FY,-200
LSWRITE,2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Solve All Load Steps
/LSSOLVE,1,2
FINI
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Writing Load Cases
/POST1
SET,1
LCWRITE,1
SET,2
LCWRITE,2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Defining Load Case Factor
LCASE,1
LCFACT,1,1.2
LCASE,2
LCFACT,2,1.6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Writing Load Case 3
LCASE,1
LCOPER,ADD,2
LCWRITE,3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Defining ETABLES
/POST1
LCASE,1
ETABLE,VM1,S,EQV
ETABLE,DP1,U,Y
LCASE,2
ETABLE,VM1,S,EQV
ETABLE,DP1,U,Y
LCASE,3
ETABLE,VM3,S,EQV
ETABLE,DP3,U,Y
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Plotting ETABLES –Which will be shown
PLETAB,DP3,NOAV
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Plotting ETABLES –Which won't be shown
PLETAB,VM3,NOAV