This repository has been archived by the owner on May 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpreCICE.xml
72 lines (57 loc) · 3.12 KB
/
preCICE.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0"?>
<precice-configuration>
<solver-interface dimensions="3">
<data:vector name="Stresses" />
<data:vector name="Displacements" />
<mesh name="Fluid_Nodes">
<use-data name="Displacements" />
</mesh>
<mesh name="Fluid_CellCenters">
<use-data name="Stresses" />
</mesh>
<mesh name="Structure_Nodes">
<use-data name="Displacements" />
</mesh>
<mesh name="Structure_CellCenters">
<use-data name="Stresses" />
</mesh>
<participant name="Fluid_Solver">
<use-mesh name="Fluid_Nodes" provide="yes" />
<use-mesh name="Fluid_CellCenters" provide="yes" />
<use-mesh name="Structure_Nodes" from="Structure_Solver" />
<write-data mesh="Fluid_CellCenters" name="Stresses" />
<read-data mesh="Fluid_Nodes" name="Displacements" />
<mapping:nearest-neighbor direction="read" from="Structure_Nodes" to="Fluid_Nodes" constraint="consistent" timing="initial"/>
<master:mpi-single />
</participant>
<participant name="Structure_Solver">
<use-mesh name="Structure_Nodes" provide="yes"/>
<use-mesh name="Structure_CellCenters" provide="yes"/>
<use-mesh name="Fluid_CellCenters" from="Fluid_Solver"/>
<write-data mesh="Structure_Nodes" name="Displacements" />
<read-data mesh="Structure_CellCenters" name="Stresses" />
<mapping:nearest-neighbor direction="read" from="Fluid_CellCenters" to="Structure_CellCenters" constraint="consistent" timing="initial"/>
<master:mpi-single />
</participant>
<m2n:sockets exchange-directory="../" from="Fluid_Solver" to="Structure_Solver" distribution-type="gather-scatter" />
<!-- OSX: <m2n:sockets network="lo0" exchange-directory="../" from="Fluid_Solver" to="Structure_Solver" />-->
<!-- supermuc: <m2n:sockets network="ib0" exchange-directory="../" from="Fluid_Solver" to="Structure_Solver" />-->
<coupling-scheme:serial-implicit>
<timestep-length value="1.0e-4" />
<max-timesteps value="100" />
<participants first="Fluid_Solver" second="Structure_Solver" />
<exchange data="Stresses" from="Fluid_Solver" mesh="Fluid_CellCenters" to="Structure_Solver" />
<exchange data="Displacements" from="Structure_Solver" mesh="Structure_Nodes" to="Fluid_Solver" initialize="yes"/>
<relative-convergence-measure limit="1.0e-3" data="Displacements" mesh="Structure_Nodes" suffices="0" />
<max-iterations value="200" />
<extrapolation-order value="2" />
<post-processing:IQN-ILS>
<data mesh="Structure_Nodes" name="Displacements" />
<initial-relaxation value="0.001" />
<max-used-iterations value="200" />
<timesteps-reused value="2" />
<filter type="QR1" limit="1e-8" />
</post-processing:IQN-ILS>
</coupling-scheme:serial-implicit>
</solver-interface>
</precice-configuration>