Beruflich Dokumente
Kultur Dokumente
Hua-Dong Yao
1 / 37
O UTLINE
Fluid solver
Structure solver
Coupling method
Post-processing
A tip
Questions
Hua-Dong Yao
2 / 37
Hua-Dong Yao
3 / 37
Fluid
Interaction
Structure
Hua-Dong Yao
4 / 37
?
Fluid
Structure
Hua-Dong Yao
5 / 37
E XPLICIT COUPLING
The explicit coupling method applies to the weak interaction.
OpenFOAM includes a weak-FSI solver.
However, the weak-FSI solver is not our concern due to its
simplicity.
Hua-Dong Yao
nF
Fn+1
nS
Sn+1
6 / 37
I MPLICIT COUPLING
The implicit coupling method is suitable for the strong interaction.
The focus in this lecture is the FSI of large structural deformations.
nF
nS
Hua-Dong Yao
Fn+1
Sn+1
7 / 37
Hua-Dong Yao
8 / 37
Hua-Dong Yao
9 / 37
makeSerialLinks
removeSerialLinks
solid
The folder, fluid, contains the files for the fluid computation.
The folder, solid, contains the files for the structure computation.
Running the files *Links will link the two computations on the
interfaces between the fluid and solid domains.
Hua-Dong Yao
10 / 37
F LOW SIMULATION
Fluid is incompressible.
The fluid solver utilizes the PISO algorithm.
Dynamic mesh is used due to the displacement of FSI interface.
The internal grids of the fluid mesh adjust their positions when the
FSI interface moves.
Settings for the dynamic mesh:
$ vi fluid/constant/dynamicMeshDict
dynamicFvMesh dynamicMotionSolverFvMesh;
solver velocityLaplacian;
Hua-Dong Yao
11 / 37
movingWallVelocity;
uniform (0 0 0);
}
The whole FSI simulation takes the settings of the IO and time
control that are specified in the fluid solver.
$ vi fluid/system/controlDict
Hua-Dong Yao
12 / 37
v
S
dVS
t
VS
nu (2 + ) u dSS =
SS
I
Z
nu q dSS +
SS
VS
f b
dVS
t
T
T
q = u
+ tr u I ( + ) u + u u
X
X
1
FST +
FST
+ u : u I +
2
S
Hua-Dong Yao
13 / 37
PS VPS
uN uP
+ (nfS fS ) u f
nfS u f = |fS |
|dfS |
The backward time discretization:
oo
3vPn 4vPo + vPoo
vP n
3 u P 4 u P + u P
n
vP =
=
2t
t
2t
Hua-Dong Yao
14 / 37
stressProperties
$ vi rheologyProperties
planeStress no;
// yes for 2D cases, no for 3D cases.
rheology
{
type linearElastic;
// The structure is of linear elasticity.
rho rho [1 -3 0 0 0 0 0] 1000;
// Density.
E E [1 -1 -2 0 0 0 0] 5.6e6;
// Youngs modulus.
nu nu [0 0 0 0 0 0 0] 0.4;
// Poissons ratio.
}
Hua-Dong Yao
15 / 37
Hua-Dong Yao
16 / 37
Hua-Dong Yao
17 / 37
}
Advantage: effectiveness for bad mesh quality.
snGradSchemes
Disadvantage: high computation cost.
{
default none;
snGrad(D) skewCorrected 1;
// corrected
}
18 / 37
$ cd myCase/solid/system/
$ vi fvSchemes
interpolationSchemes
{
default none;
interpolate(mu) linear;
interpolate(lambda) linear;
}
// leastSquares
// leastSquares
Hua-Dong Yao
19 / 37
Hua-Dong Yao
solvers
{
D
{
solver PCG;
preconditioner DIC;
tolerance 1e-09;
relTol 0.1;
}
DD
{
solver PCG;
preconditioner DIC;
tolerance 1e-09;
relTol 0.1;
}
}
20 / 37
$ cd myCase/solid/system/
$ vi fvSolution
Hua-Dong Yao
relaxationFactors
{
D 0.5;
DD 0.5;
}
21 / 37
Hua-Dong Yao
22 / 37
Hua-Dong Yao
23 / 37
p and t
Flow field
Structure field
u and v
Hua-Dong Yao
24 / 37
Fluid solver
pi , t i
Structure solver
u , v i
Compute Residual
Hua-Dong Yao
ri = u i u i 1 > SMALL
25 / 37
A ITKEN RELAXATION
The Aitken relaxation applies to accelerate the coupling process.
e F
e u i1
ui = S
ei u
ei1
ri = u
ei+1 u
ei
ri+1 = u
r i+1 ri i+1
i
0 = ri+1 + i
u
u ui1
ei u
ei1
u
ui+1 = ui ri+1 i+1 i = ui +
r r
ui1 , ri
ui , ri+1
ui1 , 0
:=
Hua-Dong Yao
i ri
i+1
i+1
ui1
ui ui1
ei+1 ui
u
ei+1 u
ei |
u i1 ui + u
{z
}
|
{z
}
i+1
ui
ri , ri+1 ri
= i
2
i+1
r ri
26 / 37
27 / 37
Hua-Dong Yao
28 / 37
29 / 37
Hua-Dong Yao
30 / 37
T UTORIALS
Hua-Dong Yao
beamInCrossFlow
HronTurekFsi3
31 / 37
H OW TO RUN A COMPUTATION ?
Hua-Dong Yao
32 / 37
P OST- PROCESSING
Hua-Dong Yao
33 / 37
A TIP
Hua-Dong Yao
34 / 37
A N E XERCISE
Hua-Dong Yao
35 / 37
Q UESTIONS
Hua-Dong Yao
36 / 37
Thanks
Hua-Dong Yao
37 / 37