-
-
December 19, 2019 at 4:10 pm
-
October 29, 2023 at 6:03 pmMare LevinSubscriber
Hi did you found the solution
-
October 30, 2023 at 7:37 amErik KostsonAnsys 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 pmErik KostsonAnsys Employee
For 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.
- How to apply Compression-only Support?
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- Geometric stiffness matrix for solid elements
- Script Error Code:800a000d
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- Elastic limit load, Elastic-plastic limit load
- Element has excessive thickness change, distortion, is turning inside out
- BackGround Color
-
1582
-
602
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.