-
Notifications
You must be signed in to change notification settings - Fork 92
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
Linear elasticity example #799
Conversation
I guess this should be the second tutorial and it is the step from a scalar-valued linear PDE to a vector-valued linear PDE? So the "new concents" would be a first contact with Tensors.jl and how to treat vector-valued problems in general? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #799 +/- ##
=======================================
Coverage 93.67% 93.67%
=======================================
Files 39 39
Lines 6004 6004
=======================================
Hits 5624 5624
Misses 380 380 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Maximilian Köhler <maximilian.koehler@ruhr-uni-bochum.de>
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 think it would be good to add a note about plane strain/stress in this example too.
Added a Neumann boundary condition instead of the Dirichlet boundary condition. Still need to add some explanation for that + a new picture. |
Updated the example to master and tried to make it more complete, as promised during the Swedish Mechanics days... |
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
# For fun we'll color the logo, and thus create cell data with numbers according | ||
# to the logo colors. | ||
color_data = zeros(Int, getncells(grid)) | ||
colors = Dict( |
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 Julia logo colors are cute but I wonder if not showing how to output the stress or strain would be more instructive for your typical FEM beginner.
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.
Hid this now then, and added stress calculation and export as both cell data and L2Projection.
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 think we are getting closer. Also, can you run a on the file spell-checker locally?
Co-authored-by: Dennis Ogiermann <termi-official@users.noreply.github.com>
Thanks!
typos gives no errors |
Here is a first suggestion for a linear elasticity example. The explanations could probably use a bit more work and I believe the logo.geo file for generating the mesh should be stored somewhere else? It's a start anyways :)