-
Notifications
You must be signed in to change notification settings - Fork 249
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
[GeoMechanicsApplication] Revisit test_absorbing_boundary.py #12053
[GeoMechanicsApplication] Revisit test_absorbing_boundary.py #12053
Conversation
- ReadMe.md files are added. - 'test_' was removed from folders and files' names. - test_absorbing_boundary.py is renamed as absorbing_boundary.py
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 Gennady,
Good work. Some remarks on units and the roller boundary representation in the pictures.
Thank you,
Wijtze Pieter
@@ -0,0 +1,34 @@ | |||
# Lysmer absorbing boundary conditions on a column made of rectangulars |
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 more common to use quadrilaterals ( i.s.o rectangulars ) See also line 7.
The remarks on this README.md file can be repeated for the other README.md file.
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. Indeed it is more consistent with the code.
The test is performed for an 1D column that is made with 2D rectangular elements. The column height and width are 10,000 mm and 1,000 m, respectively. | ||
The column consists of ten 4-noded elements (using the UPwSmallStrainElement2D4N class) of 1,000mm x 1,000 mm. A | ||
schematic representation can be found in the figure below: |
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.
I guess the test in in m rather than mm.
Here a comma is used as separator for the numbers. Lines 23 - 26 use a dot. Or am I mistaking separators for thousands and decimals?
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.
Yes, in m. The values are fixed and notations. It was not a good idea to use a coma as a separator for thousands.
|
||
All Nodes have fixed displacement in the X direction. | ||
|
||
An instant load of -10 N is applied in the Y direction at the column top that is defined by Nodes 1 and 2. |
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.
The .mdpa file and the picture show a line load. Therefore I expect units of Force / length and mentioning the top edge i.s.o. nodes.
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.
Currently, I put N/m2 to be consistent with the equations.
|
||
The material is described using: | ||
|
||
- A linear elastic plane stress model (LinearElasticPlaneStrain2DLaw), |
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.
plane strain model i.s.o plane stress model.
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. Now it is strain.
- Young's modulus is 10,000 N/mm2 | ||
- Poisson's ratio is 0.2, | ||
- A thickness of 1 mm, | ||
- Density of solid is 2.65 kg/mm3, |
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.
2.65 for soil density makes me think that the unit of mass is ton, the unit of length is m and the corresponding unit of force is kN.
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.
Changed kg => ton and put kN/m2 for the Young's module. Hope the value is consistent with data for sand.
@@ -0,0 +1,3382 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
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.
Very nice pictures!
The roller conditions are placed exactly on the top nodes. By convention that would mean that they only apply to that node. To let them apply for an entire edge, it is common to place them on an edge ( not exactly on a node ) and repeat that once or twice further along the edge
This remark is similar for the other picture.
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.
Moved rollers and added more of them.
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.
Very clear documentation with easy to understand schematics! I have a few suggestions on improvements (mainly to have even less need to look into the json files or python test file by adding some more info to the documentation).
applications/GeoMechanicsApplication/tests/lysmer_boundary_column2d_quad/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/lysmer_boundary_stiff_column2d_quad/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/lysmer_boundary_stiff_column2d_quad/README.md
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.
Wijtze-Pieter and Richard, many thanks for the quick and detailed review. Hope the modifications resolve all your comments.
applications/GeoMechanicsApplication/tests/lysmer_boundary_stiff_column2d_quad/README.md
Show resolved
Hide resolved
@@ -0,0 +1,34 @@ | |||
# Lysmer absorbing boundary conditions on a column made of rectangulars |
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. Indeed it is more consistent with the code.
The test is performed for an 1D column that is made with 2D rectangular elements. The column height and width are 10,000 mm and 1,000 m, respectively. | ||
The column consists of ten 4-noded elements (using the UPwSmallStrainElement2D4N class) of 1,000mm x 1,000 mm. A | ||
schematic representation can be found in the figure below: |
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.
Yes, in m. The values are fixed and notations. It was not a good idea to use a coma as a separator for thousands.
|
||
All Nodes have fixed displacement in the X direction. | ||
|
||
An instant load of -10 N is applied in the Y direction at the column top that is defined by Nodes 1 and 2. |
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.
Currently, I put N/m2 to be consistent with the equations.
|
||
The material is described using: | ||
|
||
- A linear elastic plane stress model (LinearElasticPlaneStrain2DLaw), |
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. Now it is strain.
- Young's modulus is 10,000 N/mm2 | ||
- Poisson's ratio is 0.2, | ||
- A thickness of 1 mm, | ||
- Density of solid is 2.65 kg/mm3, |
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.
Changed kg => ton and put kN/m2 for the Young's module. Hope the value is consistent with data for sand.
@@ -0,0 +1,3382 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
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.
Moved rollers and added more of them.
applications/GeoMechanicsApplication/tests/lysmer_boundary_column2d_quad/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/lysmer_boundary_stiff_column2d_quad/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.
Looks good from my point of view. Thanks for incorporating the changes! (I have one more conceptual question left, but that's not blocking)
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.
Dear Gennady,
Thank you for all the revision work. Now the pictures look even better.
One remark about the thickness. the unit triggered the remark, but in plane strain there is no need to mention thickness as it is unity by convention.
- A linear elastic plane strain model (LinearElasticPlaneStrain2DLaw), | ||
- Young's modulus is $E$=10000 $kN/m^2$ | ||
- Poisson's ratio is $\nu$=0.2, | ||
- A thickness of 1 $mm$, |
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.
Also here length unit m, but it is a plane strain model. Plane strain models always have unit thickness, so I think it is better to remove line 24 and the corresponding line in the other test.
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.
Removed the lines
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, now I think it is complete.
📝 Description
The goal is to understand what these tests do and to document that.
🆕 Changelog
ReadMe.md files are added.
'test_' was removed from folders and files' names.
test_absorbing_boundary.py is renamed as absorbing_boundary.py