Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigma_zz expression not right #1

Open
rpt26 opened this issue Jul 28, 2021 · 2 comments
Open

sigma_zz expression not right #1

rpt26 opened this issue Jul 28, 2021 · 2 comments

Comments

@rpt26
Copy link

rpt26 commented Jul 28, 2021

I think your expression for sigma_zz is off. If I've parsed the code right then it currently calculates:
PXL_20210728_114214606
but this increases with increasing y forever, which can't be right infinitely far from the dislocation. I think this spills over into the pressure then as well.
I think it should calculate something like:
PXL_20210728_114232329
which might be:
`def sigmaZZ(x_axis,y_axis,Ox,Oy,D,sign):

x,y=np.meshgrid(x_axis,y_axis)

sZZ=-2*nu*D*(((y-Oy)*((x-Ox)**2))/((x-Ox)**2+(y-Oy)**2)**2)

return sZZ`
@rpt26
Copy link
Author

rpt26 commented Jul 28, 2021

BTW, I should say I really like the visualisations, I'll be adding them into my lecture course.

@JQFonseca
Copy link
Owner

Thank you very much for this. Yes, these were wrong. I am not sure what I was doing there. Thank you so much for taking the time to leave this note, and sorry I only just noticed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants