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

Plasticity #142

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Plasticity #142

wants to merge 6 commits into from

Conversation

pabloseleson
Copy link
Collaborator

@pabloseleson pabloseleson commented Oct 28, 2024

Preliminary example of a compact tension test for the plasticity model. The plasticity model needs to be properly implemented. Right now, it overwrites the PMB model. The yield stretch is also currently hardcoded instead of reading it from the json file.

examples/mechanics/compact_tension_test.cpp Outdated Show resolved Hide resolved
}
};

particles->createParticles( exec_space(), init_op );
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should do this all in one step (as implemented in #139)

examples/mechanics/compact_tension_test.cpp Outdated Show resolved Hide resolved
src/force/CabanaPD_Force_PMB.hpp Outdated Show resolved Hide resolved
#include <CabanaPD.hpp>

// Simulate crack propagation in a compact tension test.
void crackBranchingExample( const std::string filename )
Copy link
Collaborator

Choose a reason for hiding this comment

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

Rename

void crackBranchingExample( const std::string filename )
{
// ====================================================
// Use default Kokkos spaces
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should be "Choose Kokkos spaces"

src/force/CabanaPD_Force_PMB.hpp Outdated Show resolved Hide resolved
@streeve
Copy link
Collaborator

streeve commented Nov 19, 2024

@pabloseleson fixed issues on my end here - let me know if the example is working. @abisner let me know if you have thoughts on design/even more tags

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.

2 participants