File size: 5,491 Bytes
727a8f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?xml version="1.0" encoding="utf-8"?>
<!--  -->
<configuration>
   <domain>
      <nodeSize> 0.2 e-5 </nodeSize>
      <nodeRatio> 16 ,16 , 1 </nodeRatio>
      <centeredAlignment> False, False, False </centeredAlignment>
      <boundaryConditions>
         <material>
            <west> Symmetry </west>
            <east> ZeroGradient </east>
            <south> Symmetry </south>
            <north> ZeroGradient </north>
            <bottom> ZeroGradient </bottom>
            <top> ZeroGradient </top>
         </material>
      </boundaryConditions>

      <initialConditions>
         <treeInitializationType> LevelBased </treeInitializationType>
         <topologyInitializationType> BottomUp </topologyInitializationType>

         <material1>
            // air
            if ((x &lt; 0.35e-6) and (sqrt(x^2+y^2) &lt; 1e-5)) {
               density := 998.2;
               velocityX := 0.0;
               velocityY := 0.0;
               velocityZ := 0.0;
               pressure := 10e9;
            } else {
               density := 0.74;
               velocityX := 0.0;
               velocityY := 0.0;
               velocityZ := 0.0;
               pressure := 1e5;
            }
         </material1>

         <material2>
            // water
            density := 998.2;
            velocityX := 0.0;
            velocityY := 0.0;
            velocityZ := 0.0;
            pressure := 1e5;
         </material2>

         <interface1>
            <levelset>
               <type> precompiled </type>
               <operator> or </operator>
               <!-- <data>
                  <function> Sphere </function>
                  <center> 0.0, 0.0, 0.0 </center>
                  <centerSign> -1 </centerSign>
                  <innerRadius> 0.0 </innerRadius>
                  <outerRadius> 1e-5 </outerRadius>
               </data> -->
               <data>
                  <function> Cylinder </function>
                  <center> 0.0, 0.0, 0.0 </center>
                  <centerSign> 1 </centerSign>
                  <rotation> 1.570796326794897, 0, 0 </rotation>
                  <innerRadius> 0.0 </innerRadius>
                  <outerRadius> 0.2e-6 </outerRadius>
                  <height> 4e-5 </height>
               </data>
               <data>
                  <function> Ellipsoid </function>
                  <center> 0.0, 0.0, 0.0 </center>
                  <centerSign> -1 </centerSign>
                  <rotation> 0.0, 0.0, 0.0 </rotation>
                  <semiAxis> 1.5e-5, 1e-5, 1e-5 </semiAxis>
               </data>
            </levelset>
         </interface1>
      </initialConditions>
   </domain>

   <materials>
      <numberOfMaterials> 2 </numberOfMaterials>
      <numberOfPositiveMaterials> 2 </numberOfPositiveMaterials>
      <material1>
         <type> Fluid </type>
         <equationOfState>
            <type> StiffenedGas </type>
            <gamma> 1.33 </gamma>
            <backgroundPressure> 0.0 </backgroundPressure>
         </equationOfState>
         <properties>
            <specificHeatCapacity> 0.0 </specificHeatCapacity>
            <thermalConductivity> 0.0 </thermalConductivity>
            <shearViscosity> 0.0 </shearViscosity>
            <bulkViscosity> 0.0 </bulkViscosity>
         </properties>
      </material1>

      <material2>
         <type> Fluid </type>
         <equationOfState>
            <type> StiffenedGas </type>
            <gamma> 4.4 </gamma>
            <backgroundPressure> 6.0e8 </backgroundPressure>
         </equationOfState>1
         <properties>
            <specificHeatCapacity> 0.0 </specificHeatCapacity>
            <thermalConductivity> 0.0 </thermalConductivity>
            <shearViscosity> 0.0 </shearViscosity>
            <bulkViscosity> 0.0 </bulkViscosity>
         </properties>
      </material2>
   </materials>

   <materialPairings>
      <material1_2>
         <surfaceTensionCoefficient> 0.0 </surfaceTensionCoefficient>
      </material1_2>
   </materialPairings>

   <sourceTerms>
      <gravity> 0, 0, 0 </gravity>
   </sourceTerms>

   <multiResolution>
      <maximumLevel> 0 </maximumLevel>

      <refinementCriterion>
         <epsilonReference> 0.01 </epsilonReference>
         <levelOfEpsilonReference> 0 </levelOfEpsilonReference>
      </refinementCriterion>
   </multiResolution>

   <timeControl>
      <startTime> 0.0 </startTime>
      <endTime> 20e-9 </endTime>
      <CFLNumber> 0.35 </CFLNumber>
   </timeControl>

   <dimensionalization>
      <lengthReference> 1.0 </lengthReference>
      <velocityReference> 1.0 </velocityReference>
      <densityReference> 1.0 </densityReference>
      <temperatureReference> 1.0 </temperatureReference>
      <amountOfSubstanceReference> 1.0 </amountOfSubstanceReference>
   </dimensionalization>

   <restart>
      <restore>
         <mode> Off </mode>
         <fileName> ./Alpaca/ALPACA_WORKSHOP/build/droplet_RDEMIC/restart/restart_.h5 </fileName>
      </restore>
      <snapshots>
         <mode> Macro </mode>
         <type> Interval </type>
         <interval> 50e-9 </interval>
         <intervalsToKeep> 2 </intervalsToKeep>
         <stamps> </stamps>
      </snapshots>
   </restart>

   <output>
      <timeNamingFactor> 1.0e6 </timeNamingFactor>
      <standard>
         <type> Interval </type>
         <interval> 1e-10 </interval>
         <stamps> </stamps>
         <minimalLevel> 0 </minimalLevel>
      </standard>
   </output>

</configuration>