moose icon indicating copy to clipboard operation
moose copied to clipboard

Dynamic Rupture Earthquake Simulation Using Cohesive Zone Model and Slip Weakening Friction Law

Open chunhuizhao478 opened this issue 1 year ago • 68 comments

Closes #24642

chunhuizhao478 avatar May 19 '23 22:05 chunhuizhao478

Hello!

I did a quick first pass. The application is definitely interesting Who is your contact at INL (if any)? In order to organize further review.

Hello! Thanks for your reply, I will look into them today. I'm at INL as intern right now, my contact is Robert Podgorney, I have talked with one of reviewers (jiangwen) yesterday.

chunhuizhao478 avatar May 24 '23 14:05 chunhuizhao478

Ok great! I ll let them take over the review process for now. This is a strong start to adding this.

Should it be an example in the tensor mechanics module?

GiudGiud avatar May 24 '23 16:05 GiudGiud

Ok great! I ll let them take over the review process for now. This is a strong start to adding this.

Should it be an example in the tensor mechanics module?

Thanks! I think I have added two examples 2D_slipweakening, 3D_slipweakening in tensor_mechanics/test/tests/.

chunhuizhao478 avatar May 24 '23 16:05 chunhuizhao478

I saw the inputs. There is just a slight nuance between tests and examples. Examples are easier to highlight in the documentation.

GiudGiud avatar May 24 '23 17:05 GiudGiud

I saw the inputs. There is just a slight nuance between tests and examples. Examples are easier to highlight in the documentation.

I see. So you would recommend I move them to examples?

chunhuizhao478 avatar May 24 '23 17:05 chunhuizhao478

I ll let you work with Rob and Wen to determine that

GiudGiud avatar May 24 '23 18:05 GiudGiud

Well Robert will have to make a decision, but my suggestion is to put this in MASTODON or BLACKBEAR.

hugary1995 avatar May 25 '23 01:05 hugary1995

Well Robert will have to make a decision, but my suggestion is to put this in MASTODON or BLACKBEAR.

Thanks. So Cody arranged a meeting last week, people eventually agree to move the code in TensorMechanics

chunhuizhao478 avatar May 25 '23 01:05 chunhuizhao478

In that case, I second @GiudGiud 's suggestion -- please don't hard code numbers.

hugary1995 avatar May 25 '23 01:05 hugary1995

This PR probably needs some more work and review. But this is definitely an interesting capability!

hugary1995 avatar May 25 '23 01:05 hugary1995

This PR probably needs some more work and review. But this is definitely an interesting capability!

Thanks! I will definitely take the comments seriously and discuss with framework people if needed

chunhuizhao478 avatar May 25 '23 01:05 chunhuizhao478

Let s remove the merge commit and rebase instead

Sorry I'm new to this, how should I remove the merge commit and rebase? I try the following: git log --merges --oneline, find the [number] of second merge commit and do: git rebase -I [that number].

I'm not sure whether it's still there or not

chunhuizhao478 avatar Jun 04 '23 22:06 chunhuizhao478

git rebase -i HEAD~3 then delete the merge commit (replace pick by d) then git fetch origin git rebase origin/devel (and deal with any conflict commit by commit, which is the nice part of rebasing)

GiudGiud avatar Jun 04 '23 23:06 GiudGiud

ok then dont do it that way

git reset --hard 38c002ffaa70ba4d4667c75b9dd6557c4b203b36 git cherry-pick e6892185989462a038c0440a503ebbeaf3267e46 git cherry-pick 129c0df4ca8675dd8599b9d5dd54f6b6efd875e9 git rebase origin/devel

GiudGiud avatar Jun 04 '23 23:06 GiudGiud

ok then dont do it that way

git reset --hard 38c002f git cherry-pick e689218 git cherry-pick 129c0df git rebase origin/devel

I tried this, but then it will have multiple pull and push commits, how should I deal with that?

chunhuizhao478 avatar Jun 04 '23 23:06 chunhuizhao478

what do you mean push and pull commits?

GiudGiud avatar Jun 05 '23 00:06 GiudGiud

what do you mean push and pull commits?

okay, I switched to slipweakening branch, now it's fine

chunhuizhao478 avatar Jun 05 '23 00:06 chunhuizhao478

Hi Guid, if you have time, could you please address the unresolved comments again? I'm working on the documentation, so which folder should I put the whole document in? And for each added object, I should have a separate documentation? @GiudGiud

chunhuizhao478 avatar Jun 08 '23 20:06 chunhuizhao478

Job Documentation on 403683d wanted to post the following:

View the site here

This comment will be updated on new commits.

moosebuild avatar Jun 08 '23 22:06 moosebuild

Job Coverage on 403683d wanted to post the following:

Framework coverage

Coverage did not change

Modules coverage

Tensor mechanics

dcbdc8 #24433 403683
Total Total +/- New
Rate 84.63% 84.71% +0.08% 97.88%
Hits 25763 25948 +185 185
Misses 4679 4683 +4 4

Diff coverage report

Full coverage report

Full coverage reports

Reports

This comment will be updated on new commits.

moosebuild avatar Jun 08 '23 22:06 moosebuild

We need some help too figuring out the best place for extended documentation for this in TM.

Who from the TM side wants to review?

loganharbour avatar Jun 09 '23 15:06 loganharbour

I'm thinking this belongs in an example. @jiangwen84 what do you think?

GiudGiud avatar Jun 09 '23 22:06 GiudGiud

I'm thinking this belongs in an example. @jiangwen84 what do you think?

I agree. Example seems to be the way to go.

jiangwen84 avatar Jun 09 '23 22:06 jiangwen84

ok let's move all the source code in src and include folders in a directory under moose/modules/tensor_mechanics/examples.

then for the docs you will want to put that there: modules/tensor_mechanics/examples and reference it in the example_index.md file

GiudGiud avatar Jun 09 '23 22:06 GiudGiud

@GiudGiud @loganharbour I'm not sure what to do about this "Conflicting files" large_media warning

chunhuizhao478 avatar Jul 07 '23 22:07 chunhuizhao478

Dont worry about that. you may have to update the large media submodule again that s it

GiudGiud avatar Jul 08 '23 02:07 GiudGiud

@GiudGiud Hi Guid, I'm not sure why the code self-check is still in the queue? I think I have waited the check for weeks. Thanks!

chunhuizhao478 avatar Jul 14 '23 22:07 chunhuizhao478

Hello

it s not automatically triggering for new contributors. I turned it on again manually. I d like to see other people s input on this work before we move forward

GiudGiud avatar Jul 16 '23 19:07 GiudGiud

@loganharbour @GiudGiud @dschwen @bwspenc @lynnmunday can you guys have a look at this--we need to move it along or get necessary feedback to the contributor. I can cover you time to review---

rpodgorney avatar Aug 09 '23 14:08 rpodgorney

@rpodgorney I had some discussion with @chunhuizhao478 for his codes. I will provide additional review.

jiangwen84 avatar Aug 09 '23 14:08 jiangwen84