using TriAxialstressController obtain volume origin and size
Hi There,
I am using the TriAxialStressC
I found compressor.width / height / depth which i believe corresponds to the X/Y/Z length of the volume? What is width0/height0 and depth0?
However, how do I get the origin or center of this volume?
many thanks in advance
Jesse
Code shown below:
%%%%%%%%%%%
O.engines = [
ForceResett
InsertionSo
Interaction
[Ig2_
[Ip2_
[Law2_
),
TriaxialStr
thickness = 0,
stressMask = 7,
internalCom
label = 'compressor',
),
NewtonInteg
]
factor = .5
O.dt = factor * PWaveTimeStep()
#print(
compressor.goal1 = compressor.goal2 = compressor.goal3 = -1e-3
#compressor.goal1 = compressor.goal2 = compressor.goal3 = -1e-5
O.run(50000,True)
print compressor.goal1
print compressor.
print('width_x: ',compressor.width)
print('height_y: ',compressor.
print('depth_z: ',compressor.depth)
print('width0_x: ',compressor.
print('height0_y: ',compressor.
print('depth0_z: ',compressor.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply: