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

[GeoMechanicsApplication] Revisit test_absorbing_boundary.py #12053

Merged
merged 7 commits into from
Feb 13, 2024

Conversation

markelov208
Copy link
Contributor

📝 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

Gennady Markelov added 2 commits February 12, 2024 16:37
- ReadMe.md files are added.
- 'test_' was removed from folders and files' names.
- test_absorbing_boundary.py is renamed as absorbing_boundary.py
@markelov208 markelov208 self-assigned this Feb 12, 2024
Copy link
Contributor

@WPK4FEM WPK4FEM left a 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
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Comment on lines 7 to 9
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:
Copy link
Contributor

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?

Copy link
Contributor Author

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.
Copy link
Contributor

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.

Copy link
Contributor Author

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),
Copy link
Contributor

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.

Copy link
Contributor Author

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,
Copy link
Contributor

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.

Copy link
Contributor Author

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"?>
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@rfaasse rfaasse left a 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).

Copy link
Contributor Author

@markelov208 markelov208 left a 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.

@@ -0,0 +1,34 @@
# Lysmer absorbing boundary conditions on a column made of rectangulars
Copy link
Contributor Author

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.

Comment on lines 7 to 9
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:
Copy link
Contributor Author

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.
Copy link
Contributor Author

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),
Copy link
Contributor Author

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,
Copy link
Contributor Author

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"?>
Copy link
Contributor Author

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.

@WPK4FEM WPK4FEM linked an issue Feb 13, 2024 that may be closed by this pull request
rfaasse
rfaasse previously approved these changes Feb 13, 2024
Copy link
Contributor

@rfaasse rfaasse left a 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)

Copy link
Contributor

@WPK4FEM WPK4FEM left a 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$,
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the lines

Copy link
Contributor

@WPK4FEM WPK4FEM left a 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.

@markelov208 markelov208 merged commit 45000df into master Feb 13, 2024
15 of 17 checks passed
@markelov208 markelov208 deleted the geo/12051-revisit-test-absorbing-boundary branch February 13, 2024 14:32
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

Successfully merging this pull request may close these issues.

[GeoMechanicsApplication] Revisit test_absorbing_boundary.py
3 participants