-
Notifications
You must be signed in to change notification settings - Fork 0
/
precice-config.xml
67 lines (60 loc) · 2.25 KB
/
precice-config.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
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
format="---[precice] %ColorizedSeverity% %Message%"
enabled="true" />
</log>
<solver-interface dimensions="3">
<data:scalar name="Pressure" />
<data:vector name="Velocity" />
<mesh name="Fluid1D-Mesh">
<use-data name="Pressure" />
<use-data name="Velocity" />
</mesh>
<mesh name="Fluid3D-Mesh">
<use-data name="Pressure" />
<use-data name="Velocity" />
</mesh>
<participant name="Fluid1D">
<use-mesh name="Fluid1D-Mesh" provide="yes" />
<use-mesh name="Fluid3D-Mesh" from="Fluid3D" />
<write-data name="Velocity" mesh="Fluid1D-Mesh" />
<read-data name="Pressure" mesh="Fluid1D-Mesh" />
<mapping:nearest-neighbor
direction="read"
from="Fluid3D-Mesh"
to="Fluid1D-Mesh"
constraint="consistent" />
</participant>
<participant name="Fluid3D">
<use-mesh name="Fluid3D-Mesh" provide="yes" />
<use-mesh name="Fluid1D-Mesh" from="Fluid1D" />
<read-data name="Velocity" mesh="Fluid3D-Mesh" />
<write-data name="Pressure" mesh="Fluid3D-Mesh" />
<mapping:nearest-neighbor
direction="read"
from="Fluid1D-Mesh"
to="Fluid3D-Mesh"
constraint="consistent" />
</participant>
<m2n:sockets from="Fluid1D" to="Fluid3D" exchange-directory=".." />
<coupling-scheme:serial-implicit>
<time-window-size value="0.01" />
<max-time value="1.0" />
<participants first="Fluid1D" second="Fluid3D" />
<exchange data="Velocity" mesh="Fluid1D-Mesh" from="Fluid1D" to="Fluid3D" />
<exchange data="Pressure" mesh="Fluid3D-Mesh" from="Fluid3D" to="Fluid1D" />
<max-iterations value="100" />
<relative-convergence-measure limit="1.0e-6" data="Pressure" mesh="Fluid3D-Mesh" />
<acceleration:IQN-ILS>
<data mesh="Fluid3D-Mesh" name="Pressure" />
<initial-relaxation value="0.01" />
<max-used-iterations value="80" />
<time-windows-reused value="10" />
<filter type="QR1" limit="1e-8" />
</acceleration:IQN-ILS>
</coupling-scheme:serial-implicit>
</solver-interface>
</precice-configuration>