-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy patheulerflow.lyx
More file actions
4499 lines (3432 loc) · 95.3 KB
/
Copy patheulerflow.lyx
File metadata and controls
4499 lines (3432 loc) · 95.3 KB
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman palatino
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder true
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 2cm
\topmargin 2cm
\rightmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Title
Flow simulation for fluid--structure interaction in the vibration problem
of a travelling panel
\end_layout
\begin_layout Author
Juha Jeronen
\end_layout
\begin_layout Standard
\align center
TECHNICAL NOTE
\end_layout
\begin_layout Section
Introduction
\end_layout
\begin_layout Itemize
This research is related to paper making, specifically, open draws in paper
machines.
Important fundamental physics for moving materials: questions of stability.
\end_layout
\begin_layout Itemize
Previously investigated: small transverse vibrations of a travelling panel
subjected to an axial potential flow, in 2D [refs here]
\end_layout
\begin_layout Itemize
Current aim: small transverse vibrations of a travelling panel subjected
to an axial Euler flow, in 2D
\end_layout
\begin_layout Itemize
Why Euler? Air has small viscosity, may be able to ignore it.
Also, Euler flow is the next logical step in systematic model building
for this system.
Comparison with earlier (potential flow) results will isolate the effect
that the advective nonlinearity of the fluid component has on the vibration
characteristics of the structure component.
\end_layout
\begin_layout Itemize
Euler flow = inviscid, but (in the general case) not irrotational; may be
compressible or incompressible.
Compare potential flow = inviscid, irrotational, incompressible.
\end_layout
\begin_layout Itemize
Advection-dominated problem, nonlinear first-order PDEs.
\end_layout
\begin_layout Itemize
Generally speaking, meshless methods are promising for fluid--structure
interaction (FSI) problems due to being free from restrictions on mesh
topology.
The points may easily move in an arbitrary manner without the need for
remeshing.
\end_layout
\begin_layout Itemize
A Lagrangean (material) formulation is very tempting, because it gets rid
of one of the principal difficulties in fluid flow equations: the advection
term.
However, even with meshless methods, Lagrangean approaches need periodic
resetting due to issues in point cloud density.
As is known from MAC (marker-and-cell) methods in computer graphics (used
e.g.
in realtime treatment of free-surface flows), the point cloud tends to
form clusters and voids as the points move along the flow.
\end_layout
\begin_layout Itemize
Thus, to keep things simple, an Eulerian formulation will be considered,
using a stationary set of points (which may be arbitrarily distributed).
This is sufficient for small vibrations of structures, where the geometry
can be approximated as flat.
This approach is especially applicable to stability analysis, where the
local amplification characteristics of small disturbances are the main
object of interest.
\end_layout
\begin_layout Itemize
In this approach, the vibration of the structure is seen by the flow only
via a velocity boundary condition (the no-penetration condition) along
the geometrically flat boundary.
The non-flatness of the actual surface is accounted for when determining
the local orientation of the surface for the boundary condition.
The same approach was used in our earlier studies; thus the results will
be directly comparable.
\end_layout
\begin_layout Itemize
Because Euler flow is inviscid (just like potential flow), it cannot push
things (that would be a viscous phenomenon)! It may only cause structures
to be displaced by differences in dynamic pressure (e.g.
as in the classical explanation of how wings work).
The flow is seen by the structure only as a local difference in pressure
across the upper/lower surfaces.
\end_layout
\begin_layout Itemize
Numerical method: for simplicity, we choose the classical moving least squares
meshless method (MLS).
\end_layout
\begin_layout Itemize
MLS is a local Taylor series optimization scheme to explicitly compute spatial
derivatives (usually, up to 2nd order) of fields defined by their values
on a set of points.
Scalar, vector and tensor fields of any rank can be treated by MLS.
\end_layout
\begin_layout Itemize
MLS belongs to the family of collocation methods (sometimes called finite
point methods).
MLS is similar in spirit to finite differences, but generalized to arbitrary
geometries.
MLS is just one approach to perform this generalization, two others being
interpolation functions on a background mesh (so that classical difference
stencils can be used as-is), and developing new difference formulas to
account for non-equal distances in the stencil.
\end_layout
\begin_layout Itemize
MLS has the advantage that it guarantees the least-squares optimal (i.e.
in a sense the best possible) local Taylor series representation of the
unknown function.
In the category of optimization-based methods, MLS is also reasonably efficient
; taking advantage of the quadratic form of the optimization problem, it
is reduced to solving a linear equation system.
For different points in the point cloud, these systems are local and independen
t, enabling parallelization.
\end_layout
\begin_layout Itemize
If MLS is used, an explicit approach is preferable for time integration,
because MLS does not easily lead itself to implicit equations, or to steady-sta
te problems such as elliptic equations.
\end_layout
\begin_layout Itemize
In incompressible flow, the pressure term acts as an instantaneous correction
to keep the velocity field divergence-free [refs here].
The often used predictor-corrector approach requires solving a Poisson
equation for the pressure.
This equation appears via the Helmholtz projection trick, where (formally)
the pressure field is chosen at each timestep such that the pressure gradient
eliminates the divergence of the predicted velocity field.
(This projects the predicted velocity field into divergence-free space.)
\end_layout
\begin_layout Itemize
Hence, for MLS, compressible flow is preferable, because fully explicit
formulations are possible.
\end_layout
\begin_layout Itemize
Our problem has only Dirichlet boundary conditions.
The velocity has a given inflow, and at the surfaces of obstacles, its
normal component is zero.
All the unknowns are transported by the velocity field, and there is no
diffusion in any of the equations.
Hence, considering information flow, if the velocity field does not penetrate
obstacles, these other fields will not either.
The scalar quantities, density and internal energy, have only given values
at inflow.
\end_layout
\begin_layout Itemize
Of course, when computing derivatives, the point clouds (used in the Taylor
series optimization) must be chosen such that the surface is treated as
an obstacle, so that the discontinuities are preserved correctly.
For example, points in the flow simulation near the upper surface of the
panel must use only points from the upper side; the points below the lower
surface of the panel are not visible to them.
\end_layout
\begin_layout Itemize
To treat the obstance boundary conditions, we write the equations in the
local (tangent, normal) coordinates, solve the tangential component, set
the normal component to zero, and then transform the result to global (x,
y) coordinates by rotating the coordinate system.
This requires only minor modifications to the solution procedure.
This is more robust and arguably simpler than solving for the x (or y)
component as a function of the other component.
\end_layout
\begin_layout Itemize
To specify the link between pressure and density, closing the equation system,
we treat the air as an ideal gas.
\end_layout
\begin_layout Section
Governing equations
\end_layout
\begin_layout Standard
For obtaining local balance laws as partial differential equations in continuum
form, it is convenient to start from elementary physical considerations
in integral form over a control volume, apply the Reynolds transport theorem,
and finally extract the pointwise behavior by noting the arbitrariness
of the control volume.
For such a general treatment of conservation laws, see e.g.
[ref AllenHerreraPinder, CSCVirtauslaskenta].
The final results, which provide our starting point, are as follows; we
will give them with some comments relevant to our present study.
\end_layout
\begin_layout Standard
In the Eulerian (laboratory) frame, local dynamic mass balance is given
by
\begin_inset Formula
\begin{equation}
\frac{\partial\rho}{\partial t}+\nabla\cdot(\rho\mathbf{u})=0\;.\label{eq:mass-balance}
\end{equation}
\end_inset
Here
\begin_inset Formula $\rho$
\end_inset
(SI unit:
\begin_inset Formula $\mathrm{kg/m^{3}}$
\end_inset
) is the density of the fluid and
\begin_inset Formula $\mathbf{u}$
\end_inset
(
\begin_inset Formula $\mathrm{m}/\mathrm{s}$
\end_inset
) is the velocity field.
The divergence in
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:mass-balance"
\end_inset
can be expanded, yielding
\begin_inset Formula
\begin{equation}
\frac{\partial\rho}{\partial t}+\mathbf{u}\cdot\nabla\rho+\rho\nabla\cdot\mathbf{u}=0\;.\label{eq:mass-balance-expanded}
\end{equation}
\end_inset
Moving one of the terms yields a form that lends itself to an intuitive
physical interpretation of
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:mass-balance"
\end_inset
:
\begin_inset Formula
\[
\frac{\partial\rho}{\partial t}+\mathbf{u}\cdot\nabla\rho=-\rho\nabla\cdot\mathbf{u}\;.
\]
\end_inset
This is a scalar first-order transport equation with a source term.
The density field
\begin_inset Formula $\rho$
\end_inset
undergoes advection by the velocity field
\begin_inset Formula $\mathbf{u}$
\end_inset
, and in addition experiences a source of strength
\begin_inset Formula $-\rho\nabla\cdot\mathbf{u}$
\end_inset
(i.e.
a sink of strength
\begin_inset Formula $\rho\nabla\cdot\mathbf{u}$
\end_inset
).
That is, at points where
\begin_inset Formula $\nabla\cdot\mathbf{u}>0$
\end_inset
, i.e.
where fluid flows outward from the point, the density decreases proportional
to the existing density (and similarly, increases in the case of inflow
toward the point).
\end_layout
\begin_layout Standard
The equation commonly known as
\emph on
Euler's equation for fluid flow
\emph default
describes the dynamic balance of linear momentum in an Euler (i.e.
general inviscid) flow, written in an Eulerian (laboratory) frame:
\begin_inset Formula
\begin{equation}
\frac{\partial\mathbf{u}}{\partial t}+\mathbf{u}\cdot\nabla\mathbf{u}+\frac{\nabla p}{\rho}=\mathbf{g}\;.\label{eq:linear-momentum-balance}
\end{equation}
\end_inset
We have written
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:linear-momentum-balance"
\end_inset
in terms of accelerations (
\begin_inset Formula $\mathrm{m}/\mathrm{s}^{2}$
\end_inset
) in the standard manner.
\begin_inset Foot
status open
\begin_layout Plain Layout
For an alternative viewpoint emphasizing the momentum density
\begin_inset Formula $\rho\mathbf{u}$
\end_inset
, see
\begin_inset Newline newline
\end_inset
\family sans
\begin_inset CommandInset href
LatexCommand href
target "https://www.av8n.com/physics/euler-flow.pdf"
\end_inset
\end_layout
\end_inset
The new quantities that have appeared in
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:linear-momentum-balance"
\end_inset
are the pressure
\begin_inset Formula $p$
\end_inset
(
\begin_inset Formula $\mathrm{Pa}$
\end_inset
) and the acceleration of body forces
\begin_inset Formula $\mathbf{g}$
\end_inset
(
\begin_inset Formula $\mathrm{m}/\mathrm{s}^{2}$
\end_inset
).
The latter can be used to represent e.g.
gravity.
\end_layout
\begin_layout Standard
For the gradient, in this document we use the
\begin_inset Quotes eld
\end_inset
transpose Jacobian
\begin_inset Quotes erd
\end_inset
convention
\begin_inset Formula
\begin{equation}
(\nabla\mathbf{a})_{ij}:=\partial_{i}a_{j}\;,\label{eq:transpose-jacobian}
\end{equation}
\end_inset
which is based on the natural reading order of the index notation.
As the name suggests, this is the transpose of the standard Jacobian
\begin_inset Formula
\begin{equation}
\left(J(\mathbf{a})\right)_{ij}:=\frac{\partial a_{i}}{\partial x_{j}}\equiv\partial_{j}a_{i}\;,\label{eq:standard-jacobian}
\end{equation}
\end_inset
where the ordering is based on the natural reading order of the classical
partial derivative notation.
\end_layout
\begin_layout Standard
We have chosen to use the transpose Jacobian convention
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:transpose-jacobian"
\end_inset
for convenience, as it makes some things simpler.
In a Cartesian (i.e.
orthonormal) tensor setting, it allows manipulating the symbol
\begin_inset Formula $\nabla$
\end_inset
using the exact same rules as vectors, simplifying manipulation of equations
and thus reducing the chance of mistakes.
The directional derivative operator is written as
\begin_inset Formula $\mathbf{a}\cdot\nabla$
\end_inset
, as usual, but now the notation can be interpreted literally,
\begin_inset Formula $\mathbf{a}\cdot\nabla=a_{i}\partial_{i}$
\end_inset
.
For directional derivatives of vector fields, we just translate the symbols
literally from left to right,
\begin_inset Formula $(\mathbf{a}\cdot\nabla\mathbf{b})_{j}=a_{i}\partial_{i}b_{j}$
\end_inset
.
The direction vector naturally belongs to the left, avoiding any special-case
rules for nabla.
\begin_inset Foot
status open
\begin_layout Plain Layout
Even when using the
\begin_inset Quotes eld
\end_inset
standard Jacobian
\begin_inset Quotes erd
\end_inset
convention, many authors write the directional derivative of a vector field
as
\begin_inset Formula $\mathbf{a}\cdot\nabla\mathbf{b}$
\end_inset
, but one must then keep in mind to interpret it as special notation for
\begin_inset Formula $(\nabla\mathbf{b})\cdot\mathbf{a}=(\partial_{j}b_{i})a_{i}$
\end_inset
.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Equation
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:linear-momentum-balance"
\end_inset
follows from the general dynamic balance equation of linear momentum, which
is a fundamental law valid for both fluids and solids:
\begin_inset Formula
\begin{equation}
\rho\left(\frac{\partial\mathbf{u}}{\partial t}+\mathbf{u}\cdot\nabla\mathbf{u}\right)-\nabla\cdot\boldsymbol{\sigma}^{\mathrm{T}}=\mathbf{f}\;,\label{eq:general-linear-momentum-balance}
\end{equation}
\end_inset
where
\begin_inset Formula $\boldsymbol{\sigma}$
\end_inset
is the stress tensor and
\begin_inset Formula $(\cdot)^{\mathrm{T}}$
\end_inset
denotes the rank-2 transpose,
\begin_inset Formula $(A^{\mathrm{T}})_{ij}=A_{ji}$
\end_inset
.
We define
\begin_inset Formula $\mathbf{g}=\mathbf{f}/\rho$
\end_inset
, and choose
\begin_inset Formula $\boldsymbol{\sigma}$
\end_inset
as the stress tensor of an inviscid fluid,
\begin_inset Formula
\begin{equation}
\sigma_{ij}=-\delta_{ij}p\;,\label{eq:stress}
\end{equation}
\end_inset
where
\begin_inset Formula $\delta_{ij}$
\end_inset
is the Kronecker delta.
An inviscid fluid only resists compression isotropically; there is no shear
resistance.
Note that choosing
\begin_inset Quotes eld
\end_inset
inviscid fluid
\begin_inset Quotes erd
\end_inset
in
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:general-linear-momentum-balance"
\end_inset
is a constitutive modeling assumption, partially specifying the constitutive
model for the continuum being modelled.
Then
\begin_inset Formula
\begin{equation}
(\nabla\cdot\boldsymbol{\sigma}^{\mathrm{T}})_{j}=\partial_{i}\sigma_{ji}=-\partial_{i}(\delta_{ji}p)=-\partial_{j}p=-(\nabla p)_{j}\;,\label{eq:divsigmaT}
\end{equation}
\end_inset
yielding
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:linear-momentum-balance"
\end_inset
.
\end_layout
\begin_layout Standard
Dynamic balance of specific internal energy
\begin_inset Formula $e$
\end_inset
(
\begin_inset Formula $\mathrm{J}/\mathrm{kg}$
\end_inset
) requires
\begin_inset Formula
\begin{equation}
\frac{\partial e}{\partial t}+\mathbf{u}\cdot\nabla e+\frac{p}{\rho}\nabla\cdot\mathbf{u}=0\;.\label{eq:specific-internal-energy-balance}
\end{equation}
\end_inset
This is also a scalar transport equation with a source (sink) term.
\end_layout
\begin_layout Standard
The balance of the fourth and final conserved quantity in mechanics, angular
momentum, requires only that the stress tensor is symmetric.
\end_layout
\begin_layout Standard
At this point there are three equations and four unknowns:
\begin_inset Formula $\rho$
\end_inset
,
\begin_inset Formula $\mathbf{u}$
\end_inset
,
\begin_inset Formula $p$
\end_inset
and
\begin_inset Formula $e$
\end_inset
.
In order to close the system of equations, the constitutive model must
be completed.
In the following subsections, we will consider alternative constitutive
modeling assumptions that can be used for this.
\end_layout
\begin_layout Subsection
Incompressible flow
\end_layout
\begin_layout Standard
One of the simplest ways
\begin_inset Foot
status open
\begin_layout Plain Layout
See
\family sans
\begin_inset CommandInset href
LatexCommand href
target "https://astro.uni-bonn.de/~jonathan/misc/hydro_notes.pdf"
\end_inset
\end_layout
\end_inset
to complete the constitutive model is to take a barotropic equation of
state:
\begin_inset Formula $\rho=\rho(p)$
\end_inset
.
A special case of this is
\begin_inset Formula $\rho=\mathrm{const.}$
\end_inset
, reducing
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:mass-balance"
\end_inset
to
\begin_inset Formula $\nabla\cdot\mathbf{u}=0$
\end_inset
, which states that the flow is incompressible.
A typical case is any liquid.
\end_layout
\begin_layout Standard
If we instead begin by requiring incompressibility,
\begin_inset Formula $\nabla\cdot\mathbf{u}=0$
\end_inset
, equations
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:mass-balance"
\end_inset
and
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:specific-internal-energy-balance"
\end_inset
transform into
\begin_inset Formula
\begin{equation}
\frac{\mathrm{d}\rho}{\mathrm{d}t}=\frac{\partial\rho}{\partial t}+\mathbf{u}\cdot\nabla\rho=0\;,\label{eq:drho-dt-is-0}
\end{equation}
\end_inset
\begin_inset Formula
\begin{equation}
\frac{\mathrm{d}e}{\mathrm{d}t}=\frac{\partial e}{\partial t}+\mathbf{u}\cdot\nabla e=0\;,\label{eq:dedt-is-0}
\end{equation}
\end_inset
where
\begin_inset Formula $\mathrm{d}/\mathrm{d}t$
\end_inset
is the material derivative.
That is, in any incompressible flow, the density of each fluid parcel remains
constant in time, as does its internal energy.
The initial distributions of
\begin_inset Formula $\rho$
\end_inset
and
\begin_inset Formula $e$
\end_inset
are simply transported by the flow.
Physically, of course, in a single-phase flow of a liquid of a single type,
it is reasonable to then take
\begin_inset Formula $\rho=\mathrm{const.}$
\end_inset
, although this is not mathematically required by just the property of incompres
sibility.
\end_layout
\begin_layout Standard
In a constant-density flow, only equation
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:linear-momentum-balance"
\end_inset
, with the constraint
\begin_inset Formula $\nabla\cdot\mathbf{u}=0$
\end_inset
, is needed for the flow simulation.
\end_layout
\begin_layout Standard
For an incompressible flow, no additional constitutive equation is needed
to connect
\begin_inset Formula $p$
\end_inset
and
\begin_inset Formula $\rho$
\end_inset
.
This is because in the incompressible flow model, the pressure term acts
as a Lagrange multiplier for the incompressibility constraint.
The pressure field instantaneously adjusts itself such that the velocity
field remains divergence-free at all times.
Note that because this happens instantaneously across the whole domain,
the speed of sound in an incompressible fluid is infinite.
\end_layout
\begin_layout Standard
Remaining is the question of obtaining the pressure field in practice.
Some approaches will be summarized below.
\end_layout
\begin_layout Subsubsection
Explicit equation for pressure
\end_layout
\begin_layout Standard
An explicit equation for the pressure can be obtained by taking the divergence
of the linear momentum balance
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:linear-momentum-balance"
\end_inset
, and then simplifying the result using the incompressibility constraint
\begin_inset Formula $\nabla\cdot\mathbf{u}=0$
\end_inset
.
We have
\begin_inset Formula
\[
\nabla\cdot\left(\frac{\partial\mathbf{u}}{\partial t}+\mathbf{u}\cdot\nabla\mathbf{u}+\frac{\nabla p}{\rho}\right)=\nabla\cdot\mathbf{g}\;.
\]
\end_inset
This is easiest to work with by using Cartesian tensors in index notation.
Starting from
\begin_inset Formula
\[
\partial_{i}\left(\partial_{t}u_{i}+u_{j}\partial_{j}u_{i}+\frac{1}{\rho}\partial_{i}p\right)=\partial_{i}g_{i}\;,
\]
\end_inset
we first obtain
\begin_inset Formula
\[
\partial_{i}(\partial_{t}u_{i})+\partial_{i}(u_{j}\partial_{j}u_{i})+\partial_{i}(\frac{1}{\rho}\partial_{i}p)=\partial_{i}g_{i}\;.
\]
\end_inset
Expanding the second term, we have
\begin_inset Formula
\[
\partial_{i}(\partial_{t}u_{i})+(\partial_{i}u_{j})(\partial_{j}u_{i})+u_{j}(\partial_{i}\partial_{j}u_{i})+\partial_{i}(\frac{1}{\rho}\partial_{i}p)=\partial_{i}g_{i}\;.
\]
\end_inset
Assuming sufficient continuity so that we can reorder derivatives, we can
rewrite this as
\begin_inset Formula
\[
\partial_{t}(\partial_{i}u_{i})+(\partial_{i}u_{j})(\partial_{j}u_{i})+u_{j}\partial_{j}(\partial_{i}u_{i})+\partial_{i}(\frac{1}{\rho}\partial_{i}p)=\partial_{i}g_{i}\;.
\]
\end_inset
Now using
\begin_inset Formula $\partial_{i}u_{i}=0$
\end_inset
(incompressibility) and
\begin_inset Formula $\rho=\mathrm{const.}$
\end_inset
yields
\begin_inset Formula
\[
(\partial_{i}u_{j})(\partial_{j}u_{i})+\frac{1}{\rho}\partial_{i}\partial_{i}p=\partial_{i}g_{i}\;.
\]
\end_inset
Converting back to nabla notation, the equation for pressure in a constant-densi
ty incompressible flow is
\begin_inset Formula
\begin{equation}
\nabla\mathbf{u}:\nabla\mathbf{u}+\frac{1}{\rho}\triangle p=\nabla\cdot\mathbf{g}\;,\label{eq:p}
\end{equation}
\end_inset
where the double-dot product is
\begin_inset Formula $\mathbf{A}:\mathbf{B}=A_{ij}B_{ji}$
\end_inset
(note the ordering of the indices).
\end_layout
\begin_layout Standard
Some authors write the first term, equivalently, as
\begin_inset Formula
\begin{equation}
(\partial_{i}u_{j})(\partial_{j}u_{i})=\mathrm{tr}\left((\nabla\mathbf{u})^{2}\right)\;,\label{eq:tr}
\end{equation}
\end_inset
where
\begin_inset Formula $\mathrm{tr}\;(\mathbf{A})=A_{ii}$
\end_inset
is the trace and
\begin_inset Formula $\mathbf{A}^{2}=\mathbf{A}\cdot\mathbf{A}$
\end_inset
, i.e.
\begin_inset Formula $(\mathbf{A}^{2})_{ij}=A_{ik}A_{kj}$
\end_inset
.
\end_layout
\begin_layout Standard
Note that if
\begin_inset Formula $\mathbf{g}$
\end_inset
is, for example, a uniform gravitational field, the right-hand side of
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:p"
\end_inset
vanishes.
\end_layout
\begin_layout Standard
Solving the Poisson equation
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:p"
\end_inset
at each timestep, the pressure field is obtained.
As boundary conditions, known pressure (Dirichlet, essential) or the normal
derivative of pressure (Neumann, natural) can be used.
\begin_inset Note Note
status open
\begin_layout Plain Layout
Let us rewrite
\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:p"
\end_inset
as
\begin_inset Formula
\begin{equation}
\triangle p=-\rho\nabla\mathbf{u}:\nabla\mathbf{u}+\rho\nabla\cdot\mathbf{g}\;.\label{eq:p-2}