Skip to content

Commit 43867a0

Browse files
committed
Linear Elastic model enabled
1 parent f436884 commit 43867a0

File tree

15 files changed

+216
-4
lines changed

15 files changed

+216
-4
lines changed

Code/Source/svFSI/fsi.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include "nn.h"
3939
#include "sv_struct.h"
4040
#include "utils.h"
41+
#include "l_elas.h"
4142

4243
#include <array>
4344
#include <iomanip>
@@ -224,11 +225,12 @@ void construct_fsi(ComMod& com_mod, CepMod& cep_mod, const mshType& lM, const Ar
224225
auto N0 = fs_1[0].N.col(g);
225226
struct_ns::struct_3d(com_mod, cep_mod, fs_1[0].eNoN, nFn, w, N0, Nwx, al, yl, dl, bfl, fN, pS0l, pSl, ya_l, lR, lK);
226227
} break;
227-
case Equation_lElas:
228-
throw std::runtime_error("[construct_fsi] LELAS3D not implemented");
228+
case Equation_lElas:{
229+
// throw std::runtime_error("[construct_fsi] LELAS3D not implemented");
229230
//CALL LELAS3D(fs(1).eNoN, w, fs(1).N(:,g), Nwx, al, dl, bfl, pS0l, pSl, lR, lK)
230-
break;
231-
231+
auto N0 = fs_1[0].N.col(g);
232+
l_elas::l_elas_3d(com_mod, fs_1[0].eNoN, w, N0, Nwx, al, dl, bfl, pS0l, pSl, lR, lK);
233+
} break;
232234
case Equation_ustruct:
233235
throw std::runtime_error("[construct_fsi] USTRUCT3D_M not implemented");
234236
//CALL USTRUCT3D_M(vmsStab, fs(1).eNoN, fs(2).eNoN, nFn, w, Jac, fs(1).N(:,g), fs(2).N(:,g), Nwx, al, yl,
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
# **Problem Description**
3+
4+
Simulate pressure wave propagation in an arterial model using the Arbitrary Lagrangian-Eulerian method [1]. The problem set-up is as follows.
5+
6+
<p align="center">
7+
<img src="./configuration.png" width="600">
8+
</p>
9+
10+
And the results are
11+
12+
<p align="center">
13+
<img src="./results.gif" width="600">
14+
</p>
15+
16+
17+
## References
18+
19+
1. Liu, Ju, and Alison L. Marsden. A Unified Continuum and Variational Multiscale Formulation for Fluids, Solids, and Fluid Structure Interaction. *Computer Methods in Applied Mechanics and Engineering* 337 (August 2018): 549 97. https://doi.org/10.1016/j.cma.2018.03.045.
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:bff21b54094fe528e6f7cd9b57dafc5863b530e112e08f8a62a04431ec14a7a3
3+
size 67969
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:57511367796bab30c07b3b5dbd3b6ec596e433cb1aae2afe763f05ab357655bf
3+
size 13661
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:4c4a25e331d2c3ccbfa2ffcdd52e0ebbd37a8045989bec9abd7b2c0ed775e2b8
3+
size 28724
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:d90d5fb5ce21d0889b27fd0a592aafa6121d19047bebd801710caf5cba6fb48a
3+
size 13685
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:2527472b08ece18c95175c0661ca838f90ac8b97406d0c1c77459e94df620fe7
3+
size 36980
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:abb10cc3c374742b481031050fd6ceb2af30b8a14bd5627d89f930a4df01708a
3+
size 12351
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:9302a80f392f30ae07b98d0048cb7ad85f2fd3fcb0a86dbe50def69ba5a6cafc
3+
size 28900

0 commit comments

Comments
 (0)