• No results found

New density diffusion term

N/A
N/A
Protected

Academic year: 2021

Share "New density diffusion term"

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

New density diffusion term

RENATO VACONDIO

UNIVERSITY OF PARMA

(2)

Motivation

Improve the stability of

the scheme

Long duration wave

generation and

propagation

Costal engineering

Numerical design of wave

energy devices (WECs)

(3)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1 3

d 𝐯𝐯

𝑎𝑎

d 𝑡𝑡 = − �

𝑏𝑏

𝑚𝑚

𝑏𝑏

𝑃𝑃

𝑏𝑏

+ 𝑃𝑃

𝑎𝑎

𝜌𝜌

𝑎𝑎

𝜌𝜌

𝑏𝑏

+ Π

𝑎𝑎𝑏𝑏

𝑎𝑎

𝑊𝑊

𝑎𝑎𝑏𝑏

+ 𝐠𝐠

d 𝜌𝜌

𝑎𝑎

d 𝑡𝑡 = 𝜌𝜌

𝑎𝑎

𝑏𝑏

𝐯𝐯

𝑎𝑎

− 𝐯𝐯

𝑏𝑏

⋅ ∇𝑊𝑊

𝑎𝑎𝑏𝑏

𝑉𝑉

𝑏𝑏

d 𝐱𝐱

𝑎𝑎

d 𝑡𝑡 = 𝐯𝐯

𝑎𝑎

Standard Weakly – Compressible Formulation

Correct kinematic, but noisy pressure field!

Main sources of noise on the pressure field:

- Lagrangian character: particle position rearragement

- physical model: acoustic waves

- numerical scheme: centred + collocated + explicit in time

(4)

d 𝐯𝐯

𝑎𝑎

d 𝑡𝑡 = − �

𝑏𝑏

𝑚𝑚

𝑏𝑏

𝑃𝑃

𝑏𝑏

+ 𝑃𝑃

𝑎𝑎

𝜌𝜌

𝑎𝑎

𝜌𝜌

𝑏𝑏

+ Π

𝑎𝑎𝑏𝑏

𝑎𝑎

𝑊𝑊

𝑎𝑎𝑏𝑏

+ 𝐠𝐠

d 𝜌𝜌

𝑎𝑎

d 𝑡𝑡 = 𝜌𝜌

𝑎𝑎

𝑏𝑏

𝐯𝐯

𝑎𝑎

− 𝐯𝐯

𝑏𝑏

⋅ ∇𝑊𝑊

𝑎𝑎𝑏𝑏

𝑉𝑉

𝑏𝑏

+

ℎ𝑐𝑐

0

𝒟𝒟

𝑎𝑎

d 𝐱𝐱

𝑎𝑎

d 𝑡𝑡 = 𝐯𝐯

𝑎𝑎

𝒟𝒟

𝑎𝑎

= 2 �

𝑏𝑏

𝜓𝜓

𝑎𝑎𝑏𝑏

⋅ ∇𝑊𝑊

𝑎𝑎𝑏𝑏

𝑉𝑉

𝑏𝑏

𝑉𝑉

𝑏𝑏

=

𝑚𝑚

𝑏𝑏

𝜌𝜌

𝑏𝑏

𝜓𝜓

𝑎𝑎𝑏𝑏

depends on the specific diffusive scheme adopted (see later)

(5)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1

2-D jet impinging an orthogonal

plate (Molteni and Colagrossi 2009)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p

𝜓𝜓

𝑎𝑎𝑏𝑏

= 𝛿𝛿 𝜌𝜌

𝑏𝑏

− 𝜌𝜌

𝑎𝑎

𝐱𝐱

𝐱𝐱

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

2

Molteni and Colagrossi 2009

• δ is a dimensionless

parameter (usually assumed

equal to 0.1)

• Effective in improving the

pressure field

• Almost no additional

computational cost

• non – consistent close to the

free surface

2-D still water (Antuono et

al. 2010)

(6)

𝜓𝜓

𝑎𝑎𝑏𝑏

= 𝛿𝛿 𝜌𝜌

𝑏𝑏

− 𝜌𝜌

𝑎𝑎

1

2 ∇𝜌𝜌

𝑏𝑏

𝐿𝐿

+ ∇𝜌𝜌

𝑎𝑎

𝐿𝐿

⋅ 𝐱𝐱

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

𝐱𝐱

𝐱𝐱

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

2

Antuono et al. (2010 - 2012)

• consistent close to the free

surface

• Effective in reducing the pressure

spurious oscillations

• Remarkable additional

computational cost (2 – 3 times)

∇𝜌𝜌

𝑎𝑎

𝐿𝐿

= �

𝑏𝑏

𝜌𝜌

𝑎𝑎

− 𝜌𝜌

𝑏𝑏

𝕃𝕃

𝑎𝑎

∇𝑊𝑊

𝑎𝑎𝑏𝑏

𝑉𝑉

𝑏𝑏

𝕃𝕃

𝑎𝑎

= �

𝑏𝑏

𝒙𝒙

𝑏𝑏

− 𝒙𝒙

𝑎𝑎

⊗ 𝑊𝑊

𝑎𝑎𝑏𝑏

𝑉𝑉

𝑏𝑏

−1

(7)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1

Ferrari et al., 2009: Based on Rusanov flux, not consistent close to the free surface

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p

Other density diffusion terms

𝜓𝜓

𝑎𝑎𝑏𝑏

=

𝜌𝜌

𝑏𝑏

2ℎ

− 𝜌𝜌

𝑎𝑎

𝐱𝐱

𝐱𝐱

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

𝜓𝜓

𝑎𝑎𝑏𝑏

= 𝐵𝐵

𝑎𝑎𝑏𝑏

𝜌𝜌

𝑏𝑏

− 𝜌𝜌

𝑎𝑎

1

2 𝜉𝜉

𝑏𝑏𝑎𝑎

∇𝜌𝜌

𝑏𝑏

𝐿𝐿

+ 𝜉𝜉

𝑎𝑎𝑏𝑏

∇𝜌𝜌

𝑎𝑎

𝐿𝐿

⋅ 𝐱𝐱

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

Green et al., 2019: Parameter-free diffusion based on Riemann solvers

cheap and no parameters, but

no free-surface consistency

no parameters, free-surface consistency, but as

expensive as Antuono et al. (2010)

(8)

Efficient + consistent for free-surface

New density diffusion terms (Fourtakas et al. 2019)

𝑑𝑑𝜌𝜌

𝑎𝑎

𝑑𝑑𝑡𝑡 = 𝜌𝜌

𝑎𝑎

𝑏𝑏

𝐯𝐯

𝑎𝑎𝑏𝑏

⋅ ∇𝑊𝑊

𝑎𝑎𝑏𝑏

𝑉𝑉

𝑏𝑏

+ 2ℎ𝑐𝑐

𝑎𝑎

𝑏𝑏

𝑁𝑁

𝜓𝜓

𝑎𝑎𝑏𝑏

⋅ ∇𝑊𝑊

𝑎𝑎𝑏𝑏

𝑉𝑉

𝑏𝑏

𝜌𝜌

𝐷𝐷

is the dynamic density

𝜓𝜓

𝑎𝑎𝑏𝑏

= 𝛿𝛿 𝜌𝜌

𝑎𝑎𝐷𝐷

− 𝜌𝜌

𝑏𝑏𝐷𝐷

𝐱𝐱

𝐱𝐱

𝑏𝑏

− 𝐱𝐱

𝑎𝑎

𝑏𝑏

− 𝐱𝐱

𝑎𝑎 2

𝜌𝜌

𝑎𝑎

= 𝜌𝜌

𝑎𝑎𝐻𝐻

+ 𝜌𝜌

𝑎𝑎𝐷𝐷

𝜌𝜌

𝐻𝐻

is the hydrostatic density

𝜓𝜓

𝑎𝑎𝑏𝑏

= 2 𝜌𝜌

𝑎𝑎𝑏𝑏

𝜌𝜌

𝑎𝑎𝑏𝑏𝐻𝐻

𝐱𝐱

𝐱𝐱

𝑎𝑎𝑏𝑏

𝑎𝑎𝑏𝑏 2

𝜌𝜌

𝑎𝑎𝑏𝑏Η

= 𝜌𝜌

0 𝛾𝛾

𝑃𝑃

𝑎𝑎𝑏𝑏Η

𝐶𝐶

+ 1

𝐵𝐵

− 1

If Tait’s EoS is adopted:

𝑃𝑃

𝑎𝑎𝑏𝑏Η

= 𝜌𝜌

0

𝑔𝑔𝑧𝑧

𝑎𝑎𝑏𝑏

(9)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1

What’s available in DualSPHYSICS?

<parameter key="DensityDT" value="2" comment="0:None, 1:Molteni, 2:Fourtakas,

3:Fourtakas(full) />

<parameter key="DensityDTvalue" value="0.1" comment="DDT value (default=0.1)" />

DensityDT

description

0

No density diffusion term

1

Molteni & Colagrossi 2009, only fluid – fluid interaction

2

Fourtakas et al. 2019, only fluid – fluid interaction

3

Fourtakas et al. 2019 also for Fluid – Boundary interaction

Doubts?

DSPH forum

email George Fourtakas!

(10)

Normalised pressure field at t = 300 sec for a) Molteni and

Colagrossi DDT scheme and b) Fourtakas et al. DDT scheme.

Normalised velocity field at t = 300 sec for a) Molteni and Colagrossi

DDT scheme and b) Fourtakas et al. DDT scheme.

t =300 s

Δx/H = 0.01

H = 1 m

α

π

= 0.05

δ = 0.1

Hydrostatic test case

(11)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1

Hydrostatic test case

(12)

Wave characteristics:

depth = 0.66 m

height = 0.15 m

period = 2 s

length = 4.523

Velocity field at 150 periods using the Fourtakas et al. DDT scheme (300 sec).

SPH model

Δx/H = 0.133

α

π

= 0.05

δ = 0.1

(13)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1 5 t h D u a l s p h y s i c s U s e r s W o r k s h o p

Wave propagation for 150 periods

(14)

Comparison of the velocity profile at location (x, y)

= (6, 0.4) m with the analytical results using

Fourtakas et al. DDT scheme

Normalised free-surface elevation profile

using Fourtakas et al. DDT scheme at x = 6 m

u(

m

/s)

(15)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1 5 t h D u a l s p h y s i c s U s e r s W o r k s h o p

Long-duration simulation of a sloshing tank

Normalised pressure field (t = 60 sec).

Molteni and Colagrossi DDT scheme

Fourtakas et al. DDT scheme

(16)

Long-duration simulation of a sloshing tank

Normalised pressure field (t = 60 sec).

Molteni and Colagrossi DDT scheme

Fourtakas et al. DDT scheme

(17)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1

Normalised pressure at t = 60 sec

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p

Long-duration simulation of a sloshing tank

(18)

No

rm

alis

ed k

ine

tic

e

ne

rg

y

(19)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1

• Long duration wave generation and propagation

• Stable and accurate free surface flows and wave-structure interaction

• Density diffusion term

• Applicable to DBC and mDBC

• Hydrostatic pressure is calculated locally

• Dependence on gravity (applicable to gravity driven flows)

• Negligible computational cost

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p

Conclusions

(20)

Acknowledgements

Ben Rogers, George Fourtakas, Peter K. Stansby, Paolo Mignosa, Mashy Green, Jose

M. Domínguez, M. Gómez-Gesteira, A J. Crespo

(21)

5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1 21

Thank you

[email protected]

Kingfisher, Massimo Zanotti, Ghedi (BS)

(22)

• EPSRC, UK grant number EP/L014890/1

• Royal Academy of Engineering and Leverhulme Trust Senior Research Fellowship

(LTSRF1718\14\37)

• Ministry of Education, Universities and Research (Italian government) under the

Scientific Independence of young Researchers project, grant number RBSI14R1GP

• Xunta de Galicia (Spain) under project ED431C 2017/64-GRC, WELCOME

ENE2016-75074-C2-1-R and project IJCI- 2017-32592 "Ayudas Juan de la Cierva-incorporación

2017”

• The University of Manchester SPH group

(23)

Proposed density diffusion term

Pressure field WCSPH

• Density diffusion term – Fourtakas et al., 2019:

With,

𝑑𝑑𝜌𝜌

𝑖𝑖

𝑑𝑑𝑡𝑡 = �

𝑗𝑗 𝑁𝑁

𝑚𝑚

𝑗𝑗

𝐮𝐮

𝑖𝑖𝑗𝑗

⋅ ∇𝑊𝑊

𝑖𝑖𝑗𝑗

+ 𝛿𝛿ℎ𝑐𝑐

𝑖𝑖

𝑗𝑗 𝑁𝑁

𝜓𝜓

𝑖𝑖𝑗𝑗

⋅ ∇𝑊𝑊

𝑖𝑖𝑗𝑗

𝑉𝑉

𝑗𝑗

𝑑𝑑𝐮𝐮

𝑖𝑖

𝑑𝑑𝑡𝑡 = − �

𝑗𝑗=1 𝑁𝑁

𝑚𝑚

𝑗𝑗

𝑃𝑃

𝑖𝑖

𝜌𝜌

+ 𝑃𝑃

𝑗𝑗 𝑖𝑖

𝜌𝜌

𝑗𝑗

+ Π

𝑖𝑖𝑗𝑗

∇𝑊𝑊

𝑖𝑖𝑗𝑗

+ 𝐠𝐠

𝑖𝑖 Π𝑖𝑖𝑗𝑗 = � −𝛼𝛼𝜋𝜋𝑐𝑐𝑖𝑖𝑗𝑗 𝜌𝜌𝑖𝑖𝑗𝑗 ℎ𝐮𝐮𝑖𝑖𝑗𝑗⋅ 𝐱𝐱𝑖𝑖𝑗𝑗 𝐱𝐱𝑖𝑖𝑗𝑗2 𝐮𝐮𝑖𝑖𝑗𝑗⋅ 𝐱𝐱𝑖𝑖𝑗𝑗< 0 0 𝐮𝐮𝑖𝑖𝑗𝑗⋅ 𝐱𝐱𝑖𝑖𝑗𝑗 ≥ 0 5 t h D u a l s p h y s i c s U s e r s W o r k s h o p 1 5 t h – 1 7 t h M a r c h 2 0 2 1

0

ij

ij

P

Η

=

ρ

gz

24

(24)

Proposed density diffusion term

Pressure field WCSPH

• Density diffusion term – Fourtakas et al., 2019:

• Hydrostatic pressure is calculated locally

• Dependence on gravity (applicable to gravity driven flows)

• No costly gradient correction

• Applicable to BCs with severe kernel truncation

𝜌𝜌

𝑖𝑖𝑗𝑗Η

= 𝜌𝜌

0

𝛾𝛾

𝑃𝑃

𝑖𝑖𝑗𝑗Η

+ 1

𝐶𝐶

𝐵𝐵

− 1

P

ij

ρ

0

gz

ij

(25)

Proposed density diffusion term

• Density diffusion term – Fourtakas et al., 2019

• DualSPHysics (

https://dual.sphysics.org

)

• CPU and

• GPU implementation

• Release v 5.0

Beta version: 5th DualSPHysics Users Workshop

Universitat Politecnica de Catalunya - BarcelonaTech (UPC)

(26)
(27)
(28)
(29)

References

Related documents

In other words, whether the association between parental socioeconomic status and a young adult’s disability retirement is due to genetic factors, childhood environment,

A signal applied to this input blocks the local station protection functions (BFP, EFP, OCDT and PDF), “External Trip”, tripping by the busbar protection and intertripping of

McCormick, “Confronting German History: Melodrama, Distantiation, and Women’s Discourse in Germany, Pale Mother,” in Sandra Frieden (ed.), Gender and German Cinema:

● Capturing the inter-annual variability in ecosystem services capacity and flow; ● Discerning between the importance of human input and semi-/natural ecosystems in ecosystem

The scale of elements thus remains consistent as objects move back into space.. The result is more abstract &amp;

Among 1,718 AAs and Whites (58% AA; 54% female; 59% above poverty; ages 30-64 years) living Baltimore, Maryland who completed the first wave of the Healthy Aging

We have already started inviting the creation of Learning Projects and collaboration between u3as across the UK with an Open Learning meeting in November 2020; this will be followed

27 Organizations described on line 12: a For amounts included in lines 15, 16, and 17 that were received from a 'disqualified person.' prepare a list for your records to show