-
Notifications
You must be signed in to change notification settings - Fork 246
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
Geo/12646 pop for k0 procedure process #12651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all the work you have done on this. I have a couple of remarks which is more about the style. I'll discuss the questions I have with you later.
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/test_k0_procedure_process.py
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/test_k0_procedure_process.py
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/test_k0_procedure_process.py
Outdated
Show resolved
Hide resolved
|
||
# compare cauchy_stress_xx = k0 * cauchy_stress_yy, cauchy_stress_xy = 0. | ||
k0_nc = 0.6 | ||
# POP 0.4 * sig'_yy_bottom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a bit unclear where 0.4 has come from. I think it needs more elaboration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tried, please check the revised text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi again :)
Thanks for the explanations to my questions. I've added some more comments (which we already discussed yesterday).
k0_vector *= rProp[OCR]; | ||
array_1d<double, 3> correction(3, (PoissonUR / (1.0 - PoissonUR)) * (rProp[OCR] - 1.0)); | ||
k0_vector -= correction; | ||
} else if (rProp.Has(POP)) { | ||
POP_value = -rProp[POP]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we discussed, adding a comment would be helpful in understanding this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried, please read the added comment.
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
...anicsApplication/tests/test_k0_procedure_process/test_k0_procedure_k0_nc_ocr_field/README.md
Outdated
Show resolved
Hide resolved
...eoMechanicsApplication/tests/test_k0_procedure_process/test_k0_procedure_k0_nc_pop/README.md
Outdated
Show resolved
Hide resolved
…mentation. Integration test needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding this functionality, next to minor comments (typo's etc), there are a few topics I think we should discuss:
- How do we want to deal with the plx results? I'm not sure if adding these plx.res files and comparing all integration points is the right way to go.
- A related point is, do we want to be explicit with mentioning plaxis in this open source package? To me it seems risky.
- There is an extensive integration test suite, but I would be very much in favor of also adding unit tests.
- The integration tests become easier to review if there's a schematic to go with it (since the meshes are quite large and not easy to visualize)
...Application/tests/test_k0_procedure_process/test_k0_procedure_phi_pop_layers/plx_results.res
Outdated
Show resolved
Hide resolved
...icsApplication/tests/test_k0_procedure_process/test_k0_procedure_phi_pop_layers/plxMesh.mdpa
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/test_k0_procedure_process/README.md
Outdated
Show resolved
Hide resolved
...ns/GeoMechanicsApplication/tests/test_k0_procedure_process/test_k0_procedure_k0_nc/README.md
Show resolved
Hide resolved
...eoMechanicsApplication/tests/test_k0_procedure_process/test_k0_procedure_k0_nc_ocr/README.md
Outdated
Show resolved
Hide resolved
...ication/tests/test_k0_procedure_process/test_k0_procedure_k0_nc_ocr/MaterialParameters1.json
Outdated
Show resolved
Hide resolved
...nicsApplication/tests/test_k0_procedure_process/test_k0_procedure_k0_nc_pop_layers/README.md
Outdated
Show resolved
Hide resolved
0ad4931
to
ea3a2e7
Compare
…nd cleaned up the unit test and added a successful call to the Check function
…0_procedure_process' into geo/12646_pop_for_k0_procedure_process
…0_procedure_process' into geo/12646_pop_for_k0_procedure_process
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wijtze Pieter,
Thank you very much for your work on this. It is very valuable to get POP in K0 procedure process. I have very few minor suggestions on the documentation. And I have also asked my questions to you so all is clear to me. I did not get the chance to review the code unfortunately but I will push my comments anyway. Thank you!
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a clean and well-tested PR to me. I have several suggestions and questions, but nothing major. To all contributors: well done!
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/apply_k0_procedure_process.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/apply_k0_procedure_process.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_processes/apply_k0_procedure_process.cpp
Outdated
Show resolved
Hide resolved
...sApplication/tests/test_k0_procedure_process/test_k0_procedure_k0_nc_pop_layers/plxMesh.mdpa
Outdated
Show resolved
Hide resolved
...ion/tests/test_k0_procedure_process/test_k0_procedure_phi_pop_layers/MaterialParameters.json
Outdated
Show resolved
Hide resolved
...tion/tests/test_k0_procedure_process/test_k0_procedure_phi_pop_layers/ProjectParameters.json
Outdated
Show resolved
Hide resolved
...hanicsApplication/tests/test_k0_procedure_process/test_k0_procedure_phi_pop_layers/README.md
Outdated
Show resolved
Hide resolved
...icsApplication/tests/test_k0_procedure_process/test_k0_procedure_phi_pop_layers/plxMesh.mdpa
Outdated
Show resolved
Hide resolved
…due to faulty rendering on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much to all contributors for the time and effort that you have put into this. I believe this PR is ready to be merged.
📝 Description
Implementation of POP, documentation and unit testing of K0 procedure process.
🆕 Changelog