-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
configPrecice.xml
62 lines (52 loc) · 2.55 KB
/
configPrecice.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
<?xml version="1.0"?>
<precice-configuration>
<solver-interface dimensions="2">
<data:vector name="Forces"/>
<data:vector name="Velocities"/>
<data:vector name="Displacements"/>
<mesh name="Comsol-Mesh">
<use-data name="Displacements"/>
<use-data name="Velocities"/>
<use-data name="Forces"/>
</mesh>
<mesh name="FluidSolver-Mesh">
<use-data name="Displacements"/>
<use-data name="Velocities"/>
<use-data name="Forces"/>
</mesh>
<participant name="FluidSolver">
<use-mesh name="Comsol-Mesh" from="Comsol"/>
<use-mesh name="FluidSolver-Mesh" provide="yes"/>
<write-data name="Forces" mesh="FluidSolver-Mesh"/>
<read-data name="Displacements" mesh="FluidSolver-Mesh"/>
<read-data name="Velocities" mesh="FluidSolver-Mesh"/>
<mapping:nearest-neighbor direction="write" from="FluidSolver-Mesh" to="Comsol-Mesh" constraint="conservative"/>
<mapping:nearest-neighbor direction="read" from="Comsol-Mesh" to="FluidSolver-Mesh" constraint="consistent"/>
</participant>
<participant name="Comsol">
<use-mesh name="Comsol-Mesh" provide="yes"/>
<write-data name="Displacements" mesh="Comsol-Mesh"/>
<write-data name="Velocities" mesh="Comsol-Mesh"/>
<read-data name="Forces" mesh="Comsol-Mesh"/>
</participant>
<m2n:sockets from="FluidSolver" to="Comsol"/>
<coupling-scheme:serial-implicit>
<participants first="FluidSolver" second="Comsol"/>
<max-time-windows value="1"/>
<time-window-size value="1e-2"/>
<exchange data="Forces" mesh="Comsol-Mesh" from="FluidSolver" to="Comsol"/>
<exchange data="Displacements" mesh="Comsol-Mesh" from="Comsol" to="FluidSolver"/>
<exchange data="Velocities" mesh="Comsol-Mesh" from="Comsol" to="FluidSolver"/>
<max-iterations value="100"/>
<relative-convergence-measure limit="1e-3" data="Displacements" mesh="Comsol-Mesh"/>
<relative-convergence-measure limit="1e-3" data="Forces" mesh="Comsol-Mesh"/>
<acceleration:IQN-ILS>
<data name="Displacements" mesh="Comsol-Mesh"/>
<filter type="QR1" limit="1e-6"/>
<initial-relaxation value="0.1"/>
<max-used-iterations value="80"/>
<time-windows-reused value="8"/>
</acceleration:IQN-ILS>
</coupling-scheme:parallel-implicit>
</solver-interface>
</precice-configuration>