-
-
December 19, 2019 at 4:10 pm
-
October 29, 2023 at 6:03 pm
Mare Levin
SubscriberHi did you found the solution
-
October 30, 2023 at 7:37 am
Erik Kostson
Ansys EmployeeÂ
Â
Â
Hi
See the SFEBEAM command.
This shows some ways of doing this (there is a script there that uses an equation).
/forum/forums/topic/uniformly-varying-load-with-function/
(just change in the above link the sfbeam command to:
SFBEAM,i,2,PRES,10000*SIN((XI*3.14)/L),10000*SIN((XJ*3.14)/L) ! Apply pressure)
All the best
Erik
Â
Â
Â
-
August 8, 2024 at 2:38 pm
Erik Kostson
Ansys EmployeeFor linear load (selects a named selection called beam1).
CMSEL,S,beam1,ELEM
*GET,ECOUNT,ELEM,,COUNT Â Â Â Â Â Â Â ! Get total number of elements
Â
ELi=0
Â
*DO,i,1,ECOUNT,1
ELi=ELNEXT(ELi)
*GET, EI, ELEM, ELi, NODE, 1 ! Find first node
*GET, EJ, ELEM, ELi, NODE, 2 ! Find second node
*GET, XI, NODE, EI, LOC, X, ! Find x coordinates
*GET, XJ, NODE, EJ, LOC, X, ! Find x coordinates
SFBEAM,i,2,PRES,(XI),(XJ) ! Apply pressure
*ENDDO
ALLSEL,ALL,ALL
-
- The topic ‘Sinusoidal Load in Ansys APDL’ is closed to new replies.
-
2502
-
931
-
761
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.