|
1 | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | | -<precice-configuration experimental="true"> |
| 2 | +<precice-configuration experimental="True"> |
3 | 3 | <log> |
4 | 4 | <sink |
5 | | - filter="%Severity% > debug and %Rank% = 0" |
| 5 | + type="stream" |
| 6 | + output="stdout" |
6 | 7 | format="---[precice] %ColorizedSeverity% %Message%" |
7 | | - enabled="true" /> |
| 8 | + filter="(%Severity% > debug) and not ((%Rank% != 0))" /> |
8 | 9 | </log> |
9 | 10 |
|
10 | | - <profiling mode="fundamental" synchronize="false" /> |
| 11 | + <profiling mode="off" /> |
11 | 12 |
|
12 | | - <data:vector name="Velocity" /> |
| 13 | + <data:scalar name="Alpha" waveform-degree="2" /> |
| 14 | + <data:vector name="ExplicitMomentum" waveform-degree="2" /> |
| 15 | + <data:scalar name="ImplicitMomentum" waveform-degree="2" /> |
| 16 | + <data:vector name="Velocity" waveform-degree="0" /> |
| 17 | + <data:vector name="PressureGradientFull" waveform-degree="0" /> |
13 | 18 |
|
14 | | - <mesh name="Fluid-Mesh" dimensions="2"> |
| 19 | + <mesh name="Fluid-Mesh" dimensions="3"> |
15 | 20 | <use-data name="Velocity" /> |
| 21 | + <use-data name="PressureGradientFull" /> |
| 22 | + <use-data name="Alpha" /> |
| 23 | + <use-data name="ExplicitMomentum" /> |
| 24 | + <use-data name="ImplicitMomentum" /> |
16 | 25 | </mesh> |
17 | 26 |
|
18 | 27 | <participant name="Fluid"> |
19 | 28 | <provide-mesh name="Fluid-Mesh" /> |
20 | 29 | <write-data name="Velocity" mesh="Fluid-Mesh" /> |
| 30 | + <write-data name="PressureGradientFull" mesh="Fluid-Mesh" /> |
| 31 | + <read-data name="Alpha" mesh="Fluid-Mesh" /> |
| 32 | + <read-data name="ExplicitMomentum" mesh="Fluid-Mesh" /> |
| 33 | + <read-data name="ImplicitMomentum" mesh="Fluid-Mesh" /> |
21 | 34 | </participant> |
22 | 35 |
|
23 | 36 | <participant name="Particles"> |
24 | | - <receive-mesh name="Fluid-Mesh" from="Fluid" api-access="true" /> |
| 37 | + <receive-mesh name="Fluid-Mesh" from="Fluid" safety-factor="0.5" api-access="true" /> |
25 | 38 | <read-data name="Velocity" mesh="Fluid-Mesh" /> |
| 39 | + <read-data name="PressureGradientFull" mesh="Fluid-Mesh" /> |
| 40 | + <write-data name="Alpha" mesh="Fluid-Mesh" /> |
| 41 | + <write-data name="ExplicitMomentum" mesh="Fluid-Mesh" /> |
| 42 | + <write-data name="ImplicitMomentum" mesh="Fluid-Mesh" /> |
26 | 43 | <mapping:rbf-pum-direct |
27 | 44 | direction="read" |
28 | 45 | from="Fluid-Mesh" |
29 | 46 | constraint="consistent" |
30 | 47 | vertices-per-cluster="30"> |
31 | | - <basis-function:compact-polynomial-c4 support-radius="1.5" /> |
| 48 | + <basis-function:compact-polynomial-c4 support-radius="0.5" /> |
32 | 49 | </mapping:rbf-pum-direct> |
| 50 | + <mapping:coarse-graining |
| 51 | + direction="write" |
| 52 | + to="Fluid-Mesh" |
| 53 | + constraint="conservative" |
| 54 | + radius="0.05" /> |
33 | 55 | </participant> |
34 | 56 |
|
35 | 57 | <m2n:sockets acceptor="Fluid" connector="Particles" exchange-directory=".." /> |
36 | 58 |
|
37 | | - <coupling-scheme:parallel-explicit> |
| 59 | + <coupling-scheme:serial-explicit> |
| 60 | + <participants second="Fluid" first="Particles" /> |
38 | 61 | <time-window-size value="0.005" /> |
39 | 62 | <max-time value="0.25" /> |
40 | | - <participants first="Fluid" second="Particles" /> |
41 | | - <exchange data="Velocity" mesh="Fluid-Mesh" from="Fluid" to="Particles" /> |
42 | | - </coupling-scheme:parallel-explicit> |
| 63 | + <exchange data="Velocity" mesh="Fluid-Mesh" from="Fluid" to="Particles" substeps="false" /> |
| 64 | + <exchange |
| 65 | + data="PressureGradientFull" |
| 66 | + mesh="Fluid-Mesh" |
| 67 | + from="Fluid" |
| 68 | + to="Particles" |
| 69 | + substeps="false" /> |
| 70 | + <exchange data="Alpha" mesh="Fluid-Mesh" from="Particles" to="Fluid" substeps="true" /> |
| 71 | + <exchange |
| 72 | + data="ExplicitMomentum" |
| 73 | + mesh="Fluid-Mesh" |
| 74 | + from="Particles" |
| 75 | + to="Fluid" |
| 76 | + substeps="true" /> |
| 77 | + <exchange |
| 78 | + data="ImplicitMomentum" |
| 79 | + mesh="Fluid-Mesh" |
| 80 | + from="Particles" |
| 81 | + to="Fluid" |
| 82 | + substeps="true" /> |
| 83 | + </coupling-scheme:serial-explicit> |
43 | 84 | </precice-configuration> |
0 commit comments