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

Bug fixes for ustruct Guccione model and follower pressure load #201

Merged
merged 5 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Code/Source/svFSI/mat_models.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,10 @@ void get_pk2cc_dev(const ComMod& com_mod, const CepMod& cep_mod, const dmnType&
2.0*g3*(Es(0,1)*RmRm.slice(3) + Es(0,2)*RmRm.slice(5));

auto CCb = 2.0*ten_dyad_prod(Sb, Sb, nsd);
Sb += Sb * r2;
Sb = Sb * r2;

// Fiber reinforcement/active stress
Sb += Sb + Tfa*mat_dyad_prod(fl.col(0), fl.col(0), nsd);
Sb += Tfa*mat_dyad_prod(fl.col(0), fl.col(0), nsd);

double r1 = J2d*mat_ddot(C, Sb, nsd) / nd;
S = J2d*Sb - r1*Ci;
Expand Down
2 changes: 1 addition & 1 deletion Code/Source/svFSI/ustruct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void b_ustruct_3d(const ComMod& com_mod, const int eNoN, const double w, const V
for (int a = 0; a < eNoN; a++) {
NxFi(0,a) = Nx(0,a)*Fi(0,0) + Nx(1,a)*Fi(1,0) + Nx(2,a)*Fi(2,0);
NxFi(1,a) = Nx(0,a)*Fi(0,1) + Nx(1,a)*Fi(1,1) + Nx(2,a)*Fi(2,1);
NxFi(2,a) = Nx(1,a)*Fi(1,2) + Nx(1,a)*Fi(1,2) + Nx(2,a)*Fi(2,2);
NxFi(2,a) = Nx(0,a)*Fi(0,2) + Nx(1,a)*Fi(1,2) + Nx(2,a)*Fi(2,2);
}

nFi(0) = nV(0)*Fi(0,0) + nV(1)*Fi(1,0) + nV(2)*Fi(2,0);
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/ustruct/LV_Guccione_active/result_001.vtu
Git LFS file not shown
Loading