From 59b1ee80b156ea8f4536d4330a177ea6e803a358 Mon Sep 17 00:00:00 2001 From: divyaadil23 Date: Fri, 4 Oct 2024 12:08:15 -0700 Subject: [PATCH] Removed redundant norm function and updated result file without solid viscosity. --- Code/Source/svFSI/mat_fun_carray.h | 10 +- .../result_001.vtu | 4 +- .../svFSI.xml | 115 ----------------- .../svFSIplus.xml | 5 +- .../LV_HolzapfelOgden_passive/result_001.vtu | 4 +- .../LV_HolzapfelOgden_passive/svFSI.xml | 115 ----------------- .../LV_HolzapfelOgden_passive/svFSIplus.xml | 5 +- .../result_001.vtu | 4 +- .../svFSI.xml | 116 ------------------ .../svFSIplus.xml | 5 +- .../LV_HolzapfelOgden_passive/result_001.vtu | 4 +- .../LV_HolzapfelOgden_passive/svFSI.xml | 116 ------------------ .../LV_HolzapfelOgden_passive/svFSIplus.xml | 5 +- 13 files changed, 17 insertions(+), 491 deletions(-) delete mode 100644 tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml delete mode 100644 tests/cases/struct/LV_HolzapfelOgden_passive/svFSI.xml delete mode 100644 tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml delete mode 100644 tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSI.xml diff --git a/Code/Source/svFSI/mat_fun_carray.h b/Code/Source/svFSI/mat_fun_carray.h index f59de602..212f876f 100644 --- a/Code/Source/svFSI/mat_fun_carray.h +++ b/Code/Source/svFSI/mat_fun_carray.h @@ -458,15 +458,7 @@ double norm(const Vector& u, const double v[N]) return norm; } -template -double norm(const Vector& u, const Vector& v) -{ - double norm = 0.0; - for (int i = 0; i < N; i++) { - norm += u[i]*v[i]; - } - return norm; -} + template void mat_symm(const double A[N][N], double S[N][N]) diff --git a/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu b/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu index be4f12bb..001d74ad 100644 --- a/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu +++ b/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:41c014d510351d8ccc33c4779798787da6ccba4f41de1e8fe5b0e25d5ec88adb -size 249810 +oid sha256:282b0f90edcdcd4b7e47032c2aa47c4ab47aaf66717050ed1001d6483e36c741 +size 249794 diff --git a/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml b/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml deleted file mode 100644 index 9c7fed81..00000000 --- a/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - 0 - 3 - 1 - 1e-2 - 0.50 - STOP_SIM - - 1 - result - - 1 - 1 - - 50 - 0 - - 1 - 1 - 1 - - - - - - - mesh/mesh-complete.mesh.vtu - - - mesh/mesh-surfaces/endo.vtp - - - - mesh/mesh-surfaces/epi.vtp - - - - mesh/mesh-surfaces/top.vtp - - - mesh/fibersLongCells.vtu - mesh/fibersSheetCells.vtu - - 100.0 - - - - - - true - 3 - 20 - 1e-10 - - 1.0 - 1.0e6 - 0.483333 - - 0.0 - - - - 590.0 - 8.023 - 184720.0 - 16.026 - 24810.0 - 11.12 - 2160.0 - 11.436 - 100.0 - - - ST91 - 1.0e7 - - - true - true - true - true - true - true - true - true - - - - - fsils - - 1e-16 - 1000 - 50 - - - - Dirichlet - 0.0 - - - - Neu - Unsteady - endo_pressure.dat - false - true - - - - - diff --git a/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml b/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml index 9c7fed81..2878d433 100644 --- a/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml +++ b/tests/cases/struct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml @@ -58,9 +58,8 @@ 1.0 1.0e6 0.483333 - - 0.0 - + + 590.0 diff --git a/tests/cases/struct/LV_HolzapfelOgden_passive/result_001.vtu b/tests/cases/struct/LV_HolzapfelOgden_passive/result_001.vtu index ae6471f8..72d5b06b 100644 --- a/tests/cases/struct/LV_HolzapfelOgden_passive/result_001.vtu +++ b/tests/cases/struct/LV_HolzapfelOgden_passive/result_001.vtu @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:17c0f11e6ba7b62335684c9f5b15e77f1827f43ecae17ad4814b6785603a9e33 -size 249894 +oid sha256:98380148f70f0379a869619d69bab3c8916003185bb9ea5301eda2f88bb9aef9 +size 249906 diff --git a/tests/cases/struct/LV_HolzapfelOgden_passive/svFSI.xml b/tests/cases/struct/LV_HolzapfelOgden_passive/svFSI.xml deleted file mode 100644 index b70e288b..00000000 --- a/tests/cases/struct/LV_HolzapfelOgden_passive/svFSI.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - 0 - 3 - 1 - 1e-2 - 0.50 - STOP_SIM - - 1 - result - - 1 - 1 - - 50 - 0 - - 1 - 1 - 1 - - - - - - - mesh/mesh-complete.mesh.vtu - - - mesh/mesh-surfaces/endo.vtp - - - - mesh/mesh-surfaces/epi.vtp - - - - mesh/mesh-surfaces/top.vtp - - - mesh/fibersLongCells.vtu - mesh/fibersSheetCells.vtu - - 100.0 - - - - - - true - 3 - 20 - 1e-10 - - 1.0 - 1.0e6 - 0.483333 - - 0.0 - - - - 590.0 - 8.023 - 184720.0 - 16.026 - 24810.0 - 11.12 - 2160.0 - 11.436 - 100.0 - - - ST91 - 1.0e7 - - - true - true - true - true - true - true - true - true - - - - - fsils - - 1e-16 - 1000 - 50 - - - - Dirichlet - 0.0 - - - - Neu - Unsteady - endo_pressure.dat - false - true - - - - - diff --git a/tests/cases/struct/LV_HolzapfelOgden_passive/svFSIplus.xml b/tests/cases/struct/LV_HolzapfelOgden_passive/svFSIplus.xml index b70e288b..5180473d 100644 --- a/tests/cases/struct/LV_HolzapfelOgden_passive/svFSIplus.xml +++ b/tests/cases/struct/LV_HolzapfelOgden_passive/svFSIplus.xml @@ -58,9 +58,8 @@ 1.0 1.0e6 0.483333 - - 0.0 - + + 590.0 diff --git a/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu b/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu index 23a3f5f9..317965b7 100644 --- a/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu +++ b/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/result_001.vtu @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:77abc2c3e7df6521082cc60a5b9757a7b1b5179fed5f6d18f9511b8b14ae2bc9 -size 256598 +oid sha256:fda0ce16348dd0d7e46f8fc3fd98dc68b71ec3d3c8363705656cfbfc7e8a1f71 +size 256530 diff --git a/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml b/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml deleted file mode 100644 index 86c03bae..00000000 --- a/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSI.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - 0 - 3 - 1 - 1e-2 - 0.50 - STOP_SIM - - 1 - result - - 1 - 1 - - 50 - 0 - - 1 - 1 - 1 - - - - - - mesh/mesh-complete.mesh.vtu - - - mesh/mesh-surfaces/endo.vtp - - - - mesh/mesh-surfaces/epi.vtp - - - - mesh/mesh-surfaces/top.vtp - - - mesh/fibersLongCells.vtu - mesh/fibersSheetCells.vtu - - 100.0 - - - - - true - 3 - 20 - 1e-10 - - 1.0 - 1.0e6 - 0.483333 - - 0.0 - - - - 590.0 - 8.023 - 184720.0 - 16.026 - 24810.0 - 11.12 - 2160.0 - 11.436 - 100.0 - - - ST91 - 1.0e7 - - - true - true - true - true - true - true - true - true - true - - - - - fsils - - 1e-16 - 1000 - 50 - - - - Dirichlet - 0.0 - - - - Neu - Unsteady - endo_pressure.dat - false - true - - - - - - - diff --git a/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml b/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml index 86c03bae..044f91f8 100644 --- a/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml +++ b/tests/cases/ustruct/LV_HolzapfelOgdenModifiedAnisotropy_passive/svFSIplus.xml @@ -56,9 +56,8 @@ 1.0 1.0e6 0.483333 - - 0.0 - + + 590.0 diff --git a/tests/cases/ustruct/LV_HolzapfelOgden_passive/result_001.vtu b/tests/cases/ustruct/LV_HolzapfelOgden_passive/result_001.vtu index e6372bfd..6c6c35a7 100644 --- a/tests/cases/ustruct/LV_HolzapfelOgden_passive/result_001.vtu +++ b/tests/cases/ustruct/LV_HolzapfelOgden_passive/result_001.vtu @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0301133ec85775f1ac57dcdc57b6a25a2c2c0ce923c50804d014cb2b2bc91b0a -size 256550 +oid sha256:b062841ceadf91cf9893ee57852a0ed4d1afbe38e6092787a214fe154b7ce309 +size 256538 diff --git a/tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSI.xml b/tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSI.xml deleted file mode 100644 index 81b523ea..00000000 --- a/tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSI.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - 0 - 3 - 1 - 1e-2 - 0.50 - STOP_SIM - - 1 - result - - 1 - 1 - - 50 - 0 - - 1 - 1 - 1 - - - - - - mesh/mesh-complete.mesh.vtu - - - mesh/mesh-surfaces/endo.vtp - - - - mesh/mesh-surfaces/epi.vtp - - - - mesh/mesh-surfaces/top.vtp - - - mesh/fibersLongCells.vtu - mesh/fibersSheetCells.vtu - - 100.0 - - - - - true - 3 - 20 - 1e-10 - - 1.0 - 1.0e6 - 0.483333 - - 0.0 - - - - 590.0 - 8.023 - 184720.0 - 16.026 - 24810.0 - 11.12 - 2160.0 - 11.436 - 100.0 - - - ST91 - 1.0e7 - - - true - true - true - true - true - true - true - true - true - - - - - fsils - - 1e-16 - 1000 - 50 - - - - Dirichlet - 0.0 - - - - Neu - Unsteady - endo_pressure.dat - false - true - - - - - - - diff --git a/tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSIplus.xml b/tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSIplus.xml index 81b523ea..3029b5b1 100644 --- a/tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSIplus.xml +++ b/tests/cases/ustruct/LV_HolzapfelOgden_passive/svFSIplus.xml @@ -56,9 +56,8 @@ 1.0 1.0e6 0.483333 - - 0.0 - + + 590.0