Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/Application/edf/navier-stokes.xml
3204 views
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE edf>
3
<edf version="1.0" >
4
<PDE Name="Navier-Stokes" >
5
<Name>Navier-Stokes</Name>
6
<Solver>
7
<Parameter Widget="Edit" >
8
<Name> Procedure </Name>
9
<DefaultValue> "FlowSolve" "FlowSolver" </DefaultValue>
10
</Parameter>
11
<Parameter Widget="Edit" Enabled="False">
12
<Name> Variable </Name>
13
<DefaultValue> Flow Solution[Velocity:cdim Pressure:1] </DefaultValue>
14
</Parameter>
15
<Parameter Widget="Label"> <Name> Additional Variables</Name> </Parameter>
16
<Parameter Widget="Edit">
17
<Name> Exported Variable 1 </Name>
18
<Activate> /Navier-Stokes/Solver/Exported Variable 2</Activate>
19
</Parameter>
20
<Parameter Widget="Edit" Enabled="False" Visible="False">
21
<Name> Exported Variable 2 </Name>
22
<Activate> /Navier-Stokes/Solver/Exported Variable 3</Activate>
23
</Parameter>
24
<Parameter Widget="Edit" Enabled="False" Visible="False">
25
<Name> Exported Variable 3 </Name>
26
<Activate> /Navier-Stokes/Solver/Exported Variable 4</Activate>
27
</Parameter>
28
<Parameter Widget="Edit" Enabled="False" Visible="False">
29
<Name> Exported Variable 4 </Name>
30
<Activate> /Navier-Stokes/Solver/Exported Variable 5</Activate>
31
</Parameter>
32
<Parameter Widget="Edit" Enabled="False" Visible="False">
33
<Name> Exported Variable 5 </Name>
34
</Parameter>
35
36
<Parameter Widget="Label"> <Name> Miscellaneous options</Name> </Parameter>
37
<Parameter Widget="CheckBox">
38
<Name> Calculate Loads </Name>
39
<Whatis> If checked compute boundary reaction forces. </Whatis>
40
</Parameter>
41
42
<Parameter Widget="Label">
43
<Name> Free text input </Name>
44
</Parameter>
45
46
<Parameter Widget="TextEdit" Enabled="True">
47
<Name> Free text </Name>
48
<Type> String </Type>
49
<Whatis> Free text is copied into the Solver-block of the SIF as such. </Whatis>
50
<StatusTip> Free text is copied into the Solver-block of the SIF as such. </StatusTip>
51
</Parameter>
52
</Solver>
53
54
<InitialCondition>
55
<Parameter Widget="Label"> <Name> Variables </Name> </Parameter>
56
57
<Parameter Widget="Edit">
58
<Name> Velocity 1 </Name>
59
<Whatis> Initial condition for the velocity in coordinate direction 1. </Whatis>
60
</Parameter>
61
62
<Parameter Widget="Edit">
63
<Name> Velocity 2 </Name>
64
<Whatis> Initial condition for the velocity in coordinate direction 2. </Whatis>
65
</Parameter>
66
67
<Parameter Widget="Edit">
68
<Name> Velocity 3 </Name>
69
<Whatis> Initial condition for the velocity in coordinate direction 3. </Whatis>
70
</Parameter>
71
72
<Parameter Widget="Edit">
73
<Name> Pressure </Name>
74
<Whatis> Initial condition for the pressure. </Whatis>
75
</Parameter>
76
77
<Parameter Widget="Label">
78
<Name> Free text input </Name>
79
</Parameter>
80
81
<Parameter Widget="TextEdit" Enabled="True">
82
<Name> Free text </Name>
83
<Type> String </Type>
84
<Whatis> Free text is copied into the Initial Condition-block of the SIF as such. </Whatis>
85
<StatusTip> Free text is copied into the Initial Condition-block of the SIF as such. </StatusTip>
86
</Parameter>
87
</InitialCondition>
88
89
<Equation>
90
<Parameter Widget="Label"> <Name> Options </Name> </Parameter>
91
92
<Parameter Widget="CheckBox">
93
<Name> Convect </Name>
94
<SifName> NS Convect </SifName>
95
<DefaultValue> True </DefaultValue>
96
<Whatis> If checked, solve Navier-Stokes equations with convection. </Whatis>
97
</Parameter>
98
<Parameter Widget="Label" > <Name> This and that </Name> </Parameter>
99
<Parameter Widget="Edit">
100
<Name> Element Codes </Name>
101
<SifName> Element </SifName>
102
<Whatis> Define element degrees of freedom (p:n d:n n:n e:n f:n b:n d:n). "p" is the p-element degree, "e" number of edge DOFs, "f" number of face DOFs, "b" number of bubble DOFs, and "d" the Discontinuous Galerkin DOFs (0 = element number of nodes). "p" and "b" may be entered together, "d" on its own, and the rest together. </Whatis>
103
</Parameter>
104
105
<Parameter Widget="Label">
106
<Name> Free text input </Name>
107
</Parameter>
108
109
<Parameter Widget="TextEdit" Enabled="True">
110
<Name> Free text </Name>
111
<Type> String </Type>
112
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
113
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
114
</Parameter>
115
</Equation>
116
117
<BodyForce>
118
<Parameter Widget="Label"> <Name> Volume forces </Name> </Parameter>
119
<Parameter Widget="Edit">
120
<Name> Force 1 </Name>
121
<SifName> Flow Bodyforce 1 </SifName>
122
<Whatis> Volume force in coordinate direction 1. </Whatis>
123
</Parameter>
124
<Parameter Widget="Edit">
125
<Name> Force 2 </Name>
126
<SifName> Flow Bodyforce 2 </SifName>
127
<Whatis> Volume force in coordinate direction 2. </Whatis>
128
</Parameter>
129
<Parameter Widget="Edit">
130
<Name> Force 3 </Name>
131
<SifName> Flow Bodyforce 3 </SifName>
132
<Whatis> Volume force in coordinate direction 3. </Whatis>
133
</Parameter>
134
135
<Parameter Widget="Label"> <Name> ...other options </Name> </Parameter>
136
<Parameter Widget="CheckBox">
137
<Name> Boussinesq</Name>
138
<Whatis> Use Boussinesq body force for incompressible flow. </Whatis>
139
</Parameter>
140
141
<Parameter Widget="CheckBox">
142
<Name> Hydrostatic pressure </Name>
143
<Whatis> If the Boussinesq model is on compute hydrostatic pressure field instead of the default deviation from the hydrostatic field. Otherwise also add the gravity force. </Whatis>
144
</Parameter>
145
146
<Parameter Widget="CheckBox">
147
<Name> Potential Force </Name>
148
<Whatis> If checked, the force used for the electricstatic coupling is activated. </Whatis>
149
<Activate> /Navier-Stokes/BodyForce/Potential Field </Activate>
150
<Activate> /Navier-Stokes/BodyForce/Potential Coefficient </Activate>
151
</Parameter>
152
153
<Parameter Widget="Edit" Enabled="False">
154
<Name> Potential Field </Name>
155
<Whatis> The field to which gradient the external force is proportional to. For example the electrostatic field. </Whatis>
156
</Parameter>
157
158
<Parameter Widget="Edit" Enabled="False">
159
<Name> Potential Coefficient </Name>
160
<Whatis> The coefficient that multiplies the gradient term. For example, the charge density.</Whatis>
161
</Parameter>
162
163
<Parameter Widget="Label"> <Name> Bodywise Dirichlet Conditions </Name> </Parameter>
164
<Parameter Widget="Edit">
165
<Name> Velocity 1 </Name>
166
<Activate> /Navier-Stokes/BodyForce/Velocity 1 Condition </Activate>
167
<Whatis> Dirichlet condition for the velocity in coordinate direction 1. </Whatis>
168
</Parameter>
169
<Parameter Widget="Edit">
170
<Name> Velocity 2 </Name>
171
<Activate> /Navier-Stokes/BodyForce/Velocity 2 Condition </Activate>
172
<Whatis> Dirichlet condition for the velocity in coordinate direction 2. </Whatis>
173
</Parameter>
174
<Parameter Widget="Edit">
175
<Name> Velocity 3 </Name>
176
<Activate> /Navier-Stokes/BodyForce/Velocity 3 Condition </Activate>
177
<Whatis> Dirichlet condition for the velocity in coordinate direction 3. </Whatis>
178
</Parameter>
179
<Parameter Widget="Edit" Enabled="False">
180
<Name> Velocity 1 Condition </Name>
181
<Whatis> If the given value is less than zero, don't set the Dirichlet condition. To be generally useful space and/or time varying values may be given. </Whatis>
182
</Parameter>
183
<Parameter Widget="Edit" Enabled="False">
184
<Name> Velocity 2 Condition </Name>
185
<Whatis> If the given value is less than zero, don't set the Dirichlet condition. To be generally useful space and/or time varying values may be given. </Whatis>
186
</Parameter>
187
<Parameter Widget="Edit" Enabled="False">
188
<Name> Velocity 3 Condition </Name>
189
<Whatis> If the given value is less than zero, don't set the Dirichlet condition. To be generally useful space and/or time varying values may be given. </Whatis>
190
</Parameter>
191
192
<Parameter Widget="Label">
193
<Name> Free text input </Name>
194
</Parameter>
195
196
<Parameter Widget="TextEdit" Enabled="True">
197
<Name> Free text </Name>
198
<Type> String </Type>
199
<Whatis> Free text is copied into the Body Force-block of the SIF as such. </Whatis>
200
<StatusTip> Free text is copied into the Body Force-block of the SIF as such. </StatusTip>
201
</Parameter>
202
</BodyForce>
203
204
<Material>
205
<Parameter Widget="Label" > <Name> Visocity Settings </Name> </Parameter>
206
207
<Parameter Widget="Edit">
208
<Name>Viscosity</Name>
209
<Whatis> The molecular viscosity of the material. </Whatis>
210
</Parameter>
211
212
213
<Parameter Widget="Combo">
214
<Name>Viscosity Model</Name>
215
<Type>String </Type>
216
<Whatis> The non-newtionian and turbulent viscosity models. </Whatis>
217
<Item> <Name> None </Name> </Item>
218
<Item> <Name>Power law </Name>
219
<Activate> /Navier-Stokes/Material/Viscosity Exponent</Activate>
220
<Activate> /Navier-Stokes/Material/Critical Shear Rate</Activate>
221
</Item>
222
<Item> <Name>Power law too </Name>
223
<Activate> /Navier-Stokes/Material/Viscosity Exponent </Activate>
224
</Item>
225
<Item> <Name>Carreau </Name>
226
<Activate> /Navier-Stokes/Material/Viscosity Difference </Activate>
227
<Activate> /Navier-Stokes/Material/Viscosity Exponent </Activate>
228
<Activate> /Navier-Stokes/Material/Viscosity Transition </Activate>
229
<Activate> /Navier-Stokes/Material/Yasuda Coefficient </Activate>
230
</Item>
231
<Item> <Name>Cross </Name>
232
<Activate> /Navier-Stokes/Material/Viscosity Difference </Activate>
233
<Activate> /Navier-Stokes/Material/Viscosity Exponent </Activate>
234
<Activate> /Navier-Stokes/Material/Viscosity Transition </Activate>
235
</Item>
236
<Item> <Name>Powell Eyring </Name>
237
<Activate> /Navier-Stokes/Material/Viscosity Difference </Activate>
238
<Activate> /Navier-Stokes/Material/Viscosity Transition </Activate>
239
</Item>
240
<Item> <Name>Thermal Carreau </Name>
241
<Activate> /Navier-Stokes/Material/Viscosity Difference </Activate>
242
<Activate> /Navier-Stokes/Material/Viscosity Exponent </Activate>
243
<Activate> /Navier-Stokes/Material/Viscosity Transition </Activate>
244
<Activate> /Navier-Stokes/Material/Yasuda Coefficient </Activate>
245
<Activate> /Navier-Stokes/Material/Viscosity Temp Exp </Activate>
246
<Activate> /Navier-Stokes/Material/Viscosity Temp Ref </Activate>
247
</Item>
248
<Item> <Name>Smagorinsky </Name>
249
<Activate> /Navier-Stokes/Material/Smagorinsky Constant </Activate>
250
</Item>
251
<Item> <Name>K-Epsilon </Name>
252
</Item>
253
<Item> <Name>RNG K-Epsilon </Name>
254
</Item>
255
<Item> <Name>Spalart-Allmaras </Name>
256
</Item>
257
<Item> <Name>K-Omega </Name>
258
</Item>
259
<Item> <Name>SST K-Omega </Name>
260
</Item>
261
<Item> <Name>Levelset </Name>
262
<Activate> /Navier-Stokes/Material/Viscosity Difference </Activate>
263
<Activate> /Navier-Stokes/Material/Levelset Bandwidth </Activate>
264
</Item>
265
<Item> <Name>User Function </Name>
266
</Item>
267
</Parameter>
268
269
<Parameter Widget="Edit" Enabled="False" Visible="False">
270
<Name> Viscosity Exponent </Name>
271
</Parameter>
272
<Parameter Widget="Edit" Enabled="False" Visible="False">
273
<Name> Critical Shear Rate </Name>
274
</Parameter>
275
<Parameter Widget="Edit" Enabled="False" Visible="False">
276
<Name> Viscosity Difference </Name>
277
</Parameter>
278
<Parameter Widget="Edit" Enabled="False" Visible="False">
279
<Name> Viscosity Transition </Name>
280
</Parameter>
281
<Parameter Widget="Edit" Enabled="False" Visible="False">
282
<Name> Yasuda Coefficient </Name>
283
<DefaultValue> 2 </DefaultValue>
284
</Parameter>
285
<Parameter Widget="Edit" Enabled="False" Visible="False">
286
<Name> Viscosity Temp Ref </Name>
287
</Parameter>
288
<Parameter Widget="Edit" Enabled="False" Visible="False">
289
<Name> Viscosity Temp Exp </Name>
290
</Parameter>
291
<Parameter Widget="Edit" Enabled="False" Visible="False">
292
<Name> Smagorinsky Constant </Name>
293
</Parameter>
294
<Parameter Widget="Edit" Enabled="False" Visible="False">
295
<Name> Levelset Bandwidth </Name>
296
</Parameter>
297
298
<Parameter Widget="Label" > <Name> Compressibility models </Name> </Parameter>
299
300
<Parameter Widget="Combo" >
301
<Name>Compressibility Model</Name>
302
<Type> String </Type>
303
<Item> <Name> None </Name> </Item>
304
<Item> <Name> Incompressible </Name> </Item>
305
<Item> <Name> Thermal </Name> </Item>
306
<Item> <Name> Perfect Gas </Name> </Item>
307
<Item> <Name> User Defined </Name> </Item>
308
<Item> <Name> Artificial Compressible </Name>
309
<Activate> /Navier-Stokes/Material/Artificial Pressure </Activate>
310
<Activate> /Navier-Stokes/Material/Artificial Compressibility </Activate>
311
</Item>
312
<Whatis> Compressibility model for the flow computations. </Whatis>
313
</Parameter>
314
315
<Parameter Widget="Edit" Enabled="False" Visible="False">
316
<Name> Artificial Pressure </Name>
317
</Parameter>
318
<Parameter Widget="Edit" Enabled="False" Visible="False">
319
<Name> Artificial Compressibility </Name>
320
</Parameter>
321
322
<Parameter Widget="Label"> <Name> Porous media settings </Name> </Parameter>
323
324
<Parameter Widget="CheckBox">
325
<Name> Porous Media </Name>
326
<Activate> /Navier-Stokes/Material/Porous Resistivity </Activate>
327
<Whatis> If checked, the porous model will be active in the material. </Whatis>
328
</Parameter>
329
330
<Parameter Widget="Edit" Enabled="False">
331
<Name> Porous Resistivity </Name>
332
<Whatis> This keyword may give a constant resistivity or also a orthotropic resistance where the resistance of each velocity component is given separately. </Whatis>
333
</Parameter>
334
335
<Parameter Widget="Label">
336
<Name> Free text input </Name>
337
</Parameter>
338
339
<Parameter Widget="TextEdit" Enabled="True">
340
<Name> Free text </Name>
341
<Type> String </Type>
342
<Whatis> Free text is copied into the Material-block of the SIF as such. </Whatis>
343
<StatusTip> Free text is copied into the Material-block of the SIF as such. </StatusTip>
344
</Parameter>
345
</Material>
346
347
<BoundaryCondition>
348
<Parameter Widget="Label"> <Name> Normal-Tangential Coordinate System</Name> </Parameter>
349
<Parameter Widget="CheckBox">
350
<Name> Use normal-tangential coordinate system </Name>
351
<SifName> Normal-Tangential Velocity </SifName>
352
<Activate> /Navier-Stokes/BoundaryCondition/Change of variables</Activate>
353
<Whatis> The Dirichlet conditions for the vector variables may be given in normal-tangential coordinate system instead of the coordinate axis directed system. The first component will in this case be the normal component and the components 2, 3 two orthogonal tangent directions. </Whatis>
354
</Parameter>
355
356
<Parameter Widget="CheckBox" Enabled="False">
357
<Name> Change of variables </Name>
358
<DefaultValue> True </DefaultValue>
359
<SifName> Normal-Tangential Velocity Rotate </SifName>
360
<Whatis> If checked, do change of variables from x,y,z -> n,t1,t2. This change of variables is only needed if Dirichlet conditions are present. </Whatis>
361
</Parameter>
362
363
<Parameter Widget="Label"> <Name> Dirichlet Conditions </Name> </Parameter>
364
<Parameter Widget="CheckBox">
365
<Name> Noslip wall BC </Name>
366
<Deactivate> /Navier-Stokes/BoundaryCondition/Velocity 1 </Deactivate>
367
<Deactivate> /Navier-Stokes/BoundaryCondition/Velocity 2 </Deactivate>
368
<Deactivate> /Navier-Stokes/BoundaryCondition/Velocity 3 </Deactivate>
369
<Whatis> Noslip condition for velocities + turbulence variables. </Whatis>
370
</Parameter>
371
372
<Parameter Widget="Edit">
373
<Name> Velocity 1 </Name>
374
<Activate> /Navier-Stokes/BoundaryCondition/Velocity 1 Condition </Activate>
375
<Whatis> Dirichlet condition for the velocity in coordinate direction 1. </Whatis>
376
</Parameter>
377
<Parameter Widget="Edit">
378
<Name> Velocity 2 </Name>
379
<Activate> /Navier-Stokes/BoundaryCondition/Velocity 2 Condition </Activate>
380
<Whatis> Dirichlet condition for the velocity in coordinate direction 2. </Whatis>
381
</Parameter>
382
<Parameter Widget="Edit">
383
<Name> Velocity 3 </Name>
384
<Activate> /Navier-Stokes/BoundaryCondition/Velocity 3 Condition </Activate>
385
<Whatis> Dirichlet condition for the velocity in coordinate direction 3. </Whatis>
386
</Parameter>
387
<Parameter Widget="Edit" Enabled="False">
388
<Name> Velocity 1 Condition </Name>
389
<Whatis> If the given value is less than zero, don't set the Dirichlet condition. To be generally useful space and/or time varying values may be given. </Whatis>
390
</Parameter>
391
<Parameter Widget="Edit" Enabled="False">
392
<Name> Velocity 2 Condition </Name>
393
<Whatis> If the given value is less than zero, don't set the Dirichlet condition. To be generally useful space and/or time varying values may be given. </Whatis>
394
</Parameter>
395
<Parameter Widget="Edit" Enabled="False">
396
<Name> Velocity 3 Condition </Name>
397
<Whatis> If the given value is less than zero, don't set the Dirichlet condition. To be generally useful space and/or time varying values may be given. </Whatis>
398
</Parameter>
399
400
<Parameter Widget="Label"> <Name> Traction boundary conditions </Name> </Parameter>
401
402
<Parameter Widget="Edit">
403
<Name> External Pressure </Name>
404
<Whatis> A pressure boundary condition directed normal to the surface. </Whatis>
405
</Parameter>
406
407
<Parameter Widget="Edit">
408
<Name> Pressure 1 </Name>
409
<Whatis> A pressure force in the coordinate direction 1. </Whatis>
410
</Parameter>
411
<Parameter Widget="Edit">
412
<Name> Pressure 2 </Name>
413
<Whatis> A pressure force in the coordinate direction 2. </Whatis>
414
</Parameter>
415
<Parameter Widget="Edit">
416
<Name> Pressure 3 </Name>
417
<Whatis> A pressure force in the coordinate direction 3. </Whatis>
418
</Parameter>
419
420
<Parameter Widget="Edit">
421
<Name> Surface Tension Coefficient </Name>
422
<Whatis> Tangential derivative of this coefficient is used as (tangential) force. </Whatis>
423
</Parameter>
424
425
<Parameter Widget="Edit">
426
<Name> Surface Tension Expansion Coefficient </Name>
427
<Whatis> Triggers a tangential stress boundary condition to be used. If the keyword Surface Tension Expansion Coefficient is given, a linear dependence of the surface tension coefficient on the temperature is assumed. Note that this boundary condition is the tangential derivative of the surface tension coefficient. </Whatis>
428
</Parameter>
429
<Parameter Widget="Edit">
430
<Name> Slip Coefficient 1 </Name>
431
<Whatis> Apply friction type of boundary condition: slip_i*u_i - (tau,n)_i = f_i." </Whatis>
432
</Parameter>
433
<Parameter Widget="Edit">
434
<Name> Slip Coefficient 2 </Name>
435
<Whatis> Apply friction type of boundary condition: slip_i*u_i - (tau,n)_i = f_i." </Whatis>
436
</Parameter>
437
<Parameter Widget="Edit">
438
<Name> Slip Coefficient 3 </Name>
439
<Whatis> Apply friction type of boundary condition: slip_i*u_i - (tau,n)_i = f_i." </Whatis>
440
</Parameter>
441
442
<Parameter Widget="Label"> <Name> Periodic BCs </Name> </Parameter>
443
<Parameter Widget="CheckBox" Enabled="False">
444
<Name> Velocity 1 periodic </Name>
445
<SifName> Periodic BC Velocity 1 </SifName>
446
<Whatis> If checked treat velocity component 1 as a periodic. </Whatis>
447
</Parameter>
448
<Parameter Widget="CheckBox" Enabled="False">
449
<Name> Velocity 2 periodic </Name>
450
<SifName> Periodic BC Velocity 2 </SifName>
451
<Whatis> If checked treat velocity component 2 as a periodic. </Whatis>
452
</Parameter>
453
<Parameter Widget="CheckBox" Enabled="False">
454
<Name> Velocity 3 periodic </Name>
455
<SifName> Periodic BC Velocity 3 </SifName>
456
<Whatis> If checked, treat velocity component 3 as a periodic. </Whatis>
457
</Parameter>
458
<Parameter Widget="CheckBox" Enabled="False">
459
<Name> Pressure periodic </Name>
460
<SifName> Periodic BC Pressure </SifName>
461
<Whatis> If checked, treat pressure as a periodic. </Whatis>
462
</Parameter>
463
464
<Parameter Widget="Label">
465
<Name> Free text input </Name>
466
</Parameter>
467
468
<Parameter Widget="TextEdit" Enabled="True">
469
<Name> Free text </Name>
470
<Type> String </Type>
471
<Whatis> Free text is copied into the Boundary Condition-block of the SIF as such. </Whatis>
472
<StatusTip> Free text is copied into the Boundary Condition-block of the SIF as such. </StatusTip>
473
</Parameter>
474
</BoundaryCondition>
475
</PDE>
476
</edf>
477
478