-
-
May 30, 2022 at 2:12 pm
Gradientz
SubscriberHey!
So I am trying to create a varying pressure over a distance after a certain timestep.
I would use the pressure with respect o a independent variable ("Direction") If it was only one time step.
In this case I have a Cylinder between two plates that is subjected to bolt pretension during the first timestep then locked for the rest of the timesteps.
After the first time step I'd like to apply a varying pressure on a specific distance after the bolt pretension timestep.
I have attached a picture with the "concept". The code below is different, I have skipped the bolt-pretension and just want to make something work.
I have tried following:
Create a new coordinate system in the "beginning" of the location with CSYS name 888
Created a named selection
And tried to use command SF,"Surface","Pres","%table%
Also tried using SFE with less success, my guess is that the issue with the code below is that I haven't found a way to specify that I want the pressure to act normal to the element face AND along the x-axis (specified in my *DIM) which is in the length direction of the cylinder.
Tried to force it with "SFCONTROL" without success.
Any ideas are appreciated!
CMSEL,S,GRAD_TOT
ESLN,S,1
ESEL,R,ENAME,,154
CSYS,888 !Coordinate system set to "manual"
*GET,NUM_EMIN,ELEM,,NUM,MIN
*GET,MYETYPE,ELEM,NUM_EMIN,ATTR,TYPE
SFEDELE,ALL,ALL,ALL
FINISH
*DIM,grad,table,5,2,1,X,TIME !Five timesteps, two locations, one plane. Defined x-direction and TIME
!TIME
*SET,grad(0,1) , 0 !In this case no bolt pre-tension just variying pressure over multiple timesteps
*SET,grad(0,2) , 1
*SET,grad(0,3,1) , 2
*SET,grad(0,4,1) , 3
*SET,grad(0,5,1) , 4
!Distance
*SET,grad(1,0) , 0 !With respect to new coordinate system
*SET,grad(2,0) , 15.5 !End distance
!LOAD start grad
*SET,grad(1,1) , 0.0
*SET,grad(1,2) , 1.0
*SET,grad(1,3,1) , 2.0
*SET,grad(1,4,1) , 3.0
*SET,grad(1,5,1) , 4.0
!Load end grad, Taper down to same value for each timestep
*SET,grad(2,1) , 0.0
*SET,grad(2,2) , 1
*SET,grad(2,3,1) , 1
*SET,grad(2,4,1) , 1
*SET,grad(2,5,1) , 1
SFE,ALL,,pres,0,%grad%,,,1
!SFCONTROL,0,0
ALLSEL
EDIT: Had issue attaching image, uploaded instead
https://imgur.com/a/K7Wouzy
-
May 31, 2022 at 1:43 pm
Chandra Sekaran
Ansys EmployeeWhy not apply the load as only a function of direction but 'deactivate' the load in the first load step so it is not used?
-
May 31, 2022 at 2:04 pm
-
May 31, 2022 at 3:16 pm
Gradientz
SubscriberJesus, If that is so simple I will punch my self. Will try spon5! Nevertheless learning the commands would be appreciated!!
Thanks !
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- whether have the difference between using contact and target bodies
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- User manual
- Colors and Mesh Display
- material damping and modal analysis
-
3756
-
2573
-
1823
-
1242
-
598
© 2023 Copyright ANSYS, Inc. All rights reserved.