Crack Volume and Crack Surface (For a joint plane & the whole sample)
Hello everyone,
I am doing a simulation with Yade. I have a sample with a main joint plane and I am injecting water in the joint plane.
I am supposed to monitor the crack volume (p33) and the crack surface (p32) of the whole sample and the joint specifically.
The code that I use is as follows:
#####
ex0=ey0=ez0=0
#if npatches == 1:
def recorder():
global ex0,ey0,ez0
crackVolume=
crackVolumeJoi
for i in O.interactions:
if i.phys.
crackVolume+
crackSurface
if i.phys.isOnJoint:
crackVolumeJ
crackSurface
if i.phys.isOnJoint:
crackVolumeJ
crackSurface
yade.plot.
,i=O.iter
,p32Total=
,p33Total=
,p32Joint=
,p33Joint=
)
plot.saveDataT
#####
I know form [1] that for a specific flow rate the crack opens however when I plot the Joint's Crack Surface and Volume, it shows that the joint crack surface and volume are always 0.
Could you please let me know what I do wrong in the code?
Thank you in advanced for your help.
Best regards,
Yousef
P.S. [1]=https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Luc Scholtès
- Solved:
- Last query:
- Last reply: