선정목록으로
A Particle-based Multiscale Solver for Compressible Liquid-Vapor Flow
간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.1804.01411
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1804.01411
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W6891842090
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- (6) PEM(고분자전해질막), (7) MEA(막전극접합체)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- liquid-vapor flow, multiscale solver, two-phase flow, particle-based model, interface dynamics
- 판단 근거
- 이 논문은 액체-기체 간의 상변화 및 계면 동역학을 다루는 멀티스케일 수치 해석 모델에 관한 연구입니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 분야에서 수분 제어(가습기) 및 막(Membrane) 내부의 수증기 투과 및 상변화 거동을 시뮬레이션하는 데 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- PEMFC용 중공사막(Hollow fiber membrane)이나 고분자 전해질막 내에서 발생하는 액체 물방울(Liquid water)의 거동 및 수증기 투과 메커니즘을 수치적으로 예측하고 설계하는 데 활용 가능합니다.
- 평가 입력
- 본문 33,481자 중 30,032자 발췌
초록
To describe complex flow systems accurately, it is in many cases important to account for the properties of fluid flows on a microscopic scale. In this work, we focus on the description of liquid-vapor flow with a sharp interface between the phases. The local phase dynamics at the interface can be interpreted as a Riemann problem for which we develop a multiscale solver in the spirit of the heterogeneous multiscale method, using a particle-based microscale model to augment the macroscopic two-phase flow system. The application of a microscale model makes it possible to use the intrinsic properties of the fluid at the microscale, instead of formulating (ad-hoc) constitutive relations.
본문 33,481자
본문 펼치기
Jim Magiera _·_ Christian Rohde
## A Particle-based Multiscale Solver for Compressible Liquid-Vapor Flow
April 2018
Jim Magiera, jim.magiera@mathematik.uni-stuttgart.de
Christian Rohde, crohde@mathematik.uni-stuttgart.de
University of Stuttgart, Institute for Applied Analysis and Numerical Simulation
Abstract To describe complex flow systems accurately, it is in many cases important to account
for the properties of fluid flows on a microscopic scale. In this work, we focus on the description of
liquid-vapor flow with a sharp interface between the phases. The local phase dynamics at the interface
can be interpreted as a Riemann problem for which we develop a multiscale solver in the spirit of the
heterogeneous multiscale method (HMM) [7], using a particle-based microscale model to augment the
macroscopic two-phase flow system. The application of a microscale model makes it possible to use the
intrinsic properties of the fluid at the microscale, instead of formulating (ad-hoc) constitutive relations.
Keywords Multiscale modeling, heterogeneous multiscale method, conservation laws, compressible
two-phase flow, liquid-vapor flow, sharp interface resolution, Riemann problem, particle chain model,
model reduction, machine learning.
2 Jim Magiera, Christian Rohde
1 Introduction
For many problems in science and engineering microscopic properties can heavily influence the macroscopic behavior. Therefore it is important to consider microscopic effects in the mathematical model
development. The obvious possibility to account for such small-scale effects is to solve the microscopic
model everywhere. However, despite advances in computing power over the last decades, it is usually
still not feasible. This scenario applies to the case of compressible fluid flows with liquid-vapor phase
transition. Most applications require a computational domain on a laboratory scale, which is many
orders of magnitude apart from a truly microscopic model that considers effects on the molecular level.
One approach to this problem is to perform multiscale domain-decomposition of micro- and macroscale
models, where in a part of the domain a microscale particle model is solved instead of the macroscale
model, and both models are coupled via suitable boundary conditions. This coupling approach has
been investigated for example in [13] for the incompressible Navier–Stokes equations on the macroscale
and a Lennard–Jones particle model as the microscale model. In [11] multiscale domain-decomposition
is applied for crack propagation in brittle materials, where a set of conservation laws is used in the
continuum domain and near the crack a microscale particle model is applied. Furthermore, the phase
change of a liquid on a hot plate has been examined in [5].
In this work however, we propose a multiscale model for the description of single liquid droplets, based
on the heterogeneous multiscale method (HMM) [6, 7], which is a general framework for developing multiscale models. The main idea behind it is to compute solutions of a microscopic model for
some given macroscopic constraints, and propagate hereby obtained parameters to the macroscopic
model. Consequently, instead of performing multiscale domain-decomposition coupling of the scales, a
data-based approach is promoted.
2 The Macroscale Model: Compressible, Isothermal Euler Equations
On the macroscopic scale we consider the behavior of a single liquid droplet in a vapor atmosphere.
For such two-phase flows it is possible to consider either a diffuse interface approach [2], where the
phase-boundary has a finite thickness, or a sharp interface approach, as in [14, 19], where a discontinuous
transition between the phases is present. In this work, we follow the second approach and assume that
the interface between the phases is represented as a discontinuous shock wave.
Furthermore, we assume that the fluid flow is compressible, inviscid and isothermal at reference
temperature _T_ ref, such that the dynamics are described by the isothermal Euler equations
_∂tρ_ + _∇·_ ( _ρv_ ) = 0 _,_
(1)
_∂t_ ( _ρv_ ) + _∇·_ ( _ρv ⊗_ _v_ ) + _∇p_ ( _ρ_ ) = 0 _,_
for the density _ρ_ and velocity _v_ in the space-time domain _Ω_ _×_ (0 _, T_ ), with _T_ _>_ 0 and _Ω_ _⊂_ R <sup>_d_</sup> an open
set.
To describe the two separate phases, we distinguish at each point of time _t ∈_ [0 _, T_ ], between the two
distinct bulk phases _Ω_ vap( _t_ ) and _Ω_ liq( _t_ ) with common boundary/interface _Γ_ ( _t_ ), such that _Ω_ vap( _t_ ) _∪_
_Ω_ liq( _t_ ) _∪_ _Γ_ ( _t_ ) = _Ω_ . Figure 1 shows a sketch of this setting. To close the system (1), the pressure _p_
has to be specified. For describing a generic two-phase system we consider the van der Waals pressure
function, in terms of the specific volume _τ_ = _ρ_ <sup><u>1</u></sup> <sup>,</sup> <sup>as</sup> <sup>in</sup> <sup>[14],</sup>
_p_ ( _τ_ ) = <sup>_<u>RT</u>_</sup> _τ_ _−_ <sup><u>ref</u></sup> _b_
<sup>_<u>RT</u>_</sup> _τ_ _−_ <sup><u>ref</u></sup> _b_ <sup>_−_</sup> _τ_ <sup><u>1</u></sup>
(2)
_τ_ <sup><u>12</u></sup> <sup>_,_</sup>
with some constants _R, b, a_ _>_ 0. If the temperature _T_ ref is greater than the critical temperature
_T_ c = 278 _Rba_ <sup>the</sup> <sup>van</sup> <sup>der</sup> <sup>Waals</sup> <sup>pressure</sup> <sup>function</sup> <sup>is</sup> <sup>monotone</sup> <sup>and</sup> <sup>the</sup> <sup>system</sup> <sup>(1)</sup> <sup>is</sup> <sup>hyperbolic.</sup> <sup>However,</sup>
if _T_ ref _< T_ c, the pressure is non-monotone, and the system becomes elliptic for _τ_ _∈_ ( _τ_ liq <sup>max</sup> <sup>_, τ_</sup> vap <sup>min)</sup> <sup>which</sup>
liq <sup>max</sup> <sup>_, τ_</sup> vap <sup>min</sup>
if _T_ ref _< T_ c, the pressure is non-monotone, and the system becomes elliptic for _τ_ _∈_ ( _τ_ liq <sup>max</sup> <sup>_, τ_</sup> vap <sup>min)</sup> <sup>which</sup>
is called spinodal region. Thus, we define the admissible set of densities as _A_ vdw := ( _b, ∞_ ) _\_ ( _τ_ liq <sup>max</sup> <sup>_, τ_</sup> vap <sup>min)</sup>
liq <sup>max</sup> <sup>_, τ_</sup> vap <sup>min</sup>
is called spinodal region. Thus, we define the admissible set of densities as _A_ vdw := ( _b, ∞_ ) _\_ ( _τ_ liq <sup>max</sup> <sup>_, τ_</sup> vap <sup>min)</sup>
and distinguish between the liquid phase for _τ_ _∈_ ( _b, τ_ liq <sup>max)</sup> <sup>and</sup> <sup>the</sup> <sup>vapor</sup> <sup>phase</sup> <sup>for</sup> <sup>_τ_</sup> <sup>_∈_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>min</sup> vap <sup>_, ∞_</sup> <sup>).</sup>
In order to complete the two-phase model, we have to formulate, besides initial and boundary
conditions, some additional coupling conditions at the interface _Γ_ ( _t_ ). Therefore, let _ξ_ _∈_ _Γ_ ( _t_ ) and
_t ∈_ [0 _, T_ ) be fixed. The speed of the interface _Γ_ ( _t_ ) in normal direction _ν_ ( _ξ, t_ ) _∈_ S <sup>_d−_</sup> <sup>1</sup> (always pointing
liq <sup>max)</sup> <sup>and</sup> <sup>the</sup> <sup>vapor</sup> <sup>phase</sup> <sup>for</sup> <sup>_τ_</sup> <sup>_∈_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>min</sup> vap
A Particle-based Multiscale Solver for Compressible Liquid-Vapor Flow 3
Fig. 1 Sketch of the two-phase flow domains.
Fig. 2 The van der Waals pressure function for _T_ ref _< T_ c.
into the vapor phase) is denoted by _s_ ( _ξ, t_ ) _∈_ R. Then the mass and momentum balance at the interface,
neglecting surface tension, take the following form
[[ _ρ_ ( _v ·_ _ν_ _−_ _s_ )]] = 0 _,_
[[ _ρ_ ( _v ·_ _ν_ _−_ _s_ ) _v ·_ _ν_ + _p_ ( _ρ_ )]] = 0 _,_
[[ _v ·_ t ]] = 0 _,_ _∀_ t _⊥_ _ν_ _,_
(3)
where [[ _·_ ]] denotes the difference between liquid and vapor phase values. The well-posedness of the free
boundary value problem requires still another coupling condition. For the relevant subsonic case one
assumes that this condition can be written down as an algebraic equation, called kinetic relation. It
describes the entropy dissipation at the interface [16].
For given initial Riemann data _u_ L = ( _ρ, ρv_ )L for _x ≤_ 0, and _u_ R = ( _ρ, ρv_ )R for _x >_ 0, the solution of
the initial value problem (1) evolves (in contrast to the one-phase case) as a 3-wave pattern - a sketch
of such a wave pattern is depicted in Figure 3.
Fig. 3 Sketch of a wave pattern for two-phase flow. The dashed line indicates the phase transition, which is sharp as an additional discontinuous
wave.
Two-phase models with kinetic relations have been investigated in detail, see for example [1, 3, 12].
However, it can be seen that for certain settings, the wrong choice of the kinetic relation can lead to
a behavior of the model that is not observed by physical experiments, see e.g. [19]. For that reason,
4 Jim Magiera, Christian Rohde
Fig. 4 Sketch of the particle chain model.
we want to return to a more elementary notion of the physical properties and regard the flow at the
interface on a molecular level. This has the advantage that no kinetic relation is needed. Furthermore,
most physical parameters on the molecular level can be determined accurately by experiments. These
advantages become even more apparent if one considers non-isothermal multiphase flow and mixtures,
where the physically correct choice of the kinetic relation is usually not clear.
3 The Microscale Model: Particle Chain Model
For the description of the liquid-vapor interaction of droplets on a microscopic scale, we apply an
atomistic one-dimensional particle chain model, which has been investigated for example in [8]. More
precisely that means that we consider a one-dimensional system of _N_ particles with position _xi_ = _xi_ ( _t_ ),
velocity _vi_ = _vi_ ( _t_ ) and mass _mi_, for _i_ = 1 _, . . ., N_ . The distance between the _i_ -th and ( _i_ + 1)-th particle
is given by _ri,i_ +1 = _|xi_ +1 _−_ _xi|_, see Figure 4. The particles are assumed to interact only with direct
neighbors via a potential _φ_ : R <sup>+</sup> _→_ R : _r_ _�→_ _φ_ ( _r_ ), where _r_ denotes the distance between the particles.
The _i_ -th particle is subject to the forces _fi−_ 1 _,i_, _fi,i_ +1 originating from the potentials of the neighboring
particles, the resulting force _fi_ is therefore given by
_fi_ = _fi−_ 1 _,i_ + _fi,i_ +1 = _φ_ <sup>_′_</sup> ( _|xi−_ 1 _−_ _xi|_ ) _−_ _φ_ <sup>_′_</sup> ( _|xi_ +1 _−_ _xi|_ ) _._
Consequently, the acceleration _ai_ = _ai_ ( _t_ ) of the _i_ -th particle is given by _ai_ = _fi/mi_ . For the boundary
conditions we assume that _f_ 0 and _fN_ are zero. This gives us the following ordinary initial value problem
for the particle motion
dd _t_ <sup>22</sup> <sup>_xi_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> _m_ <u>1</u> _i_ <sup>_fi_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> _xi_ (0) = _x_ <sup>0</sup> _i_
<sup>0</sup> _i_ <sup>_,_</sup> _vi_ (0) = _vi_ <sup>0</sup>
_i_ <sup>0</sup> <sup>_,_</sup> (4)
with initial positions _x_ <sup>0</sup> _i_
<sup>0</sup> _i_ <sup>and</sup> <sup>velocities</sup> <sup>_v_</sup> _i_ <sup>0</sup>
_i_ <sup>0</sup> <sup>for</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_, . . ., N_</sup> <sup>.</sup>
3.1 Micro-/Macroscale Conversion: Irving–Kirkwood Formulas
To design a multiscale scheme that accounts for microscopic properties it is essential to convert the key
quantities from the macroscopic to the microscopic scale and vice versa. In case of a particle model this
can be achieved via the Irving–Kirkwood formulas [9]. The microscopic instantaneous density _ρ_ ( _x, t_ )
and momentum ( _ρv_ )( _x, t_ ) distributions are realized by
_N_
_i_ =1
_mi vi_ ( _t_ ) _δ_ ( _x −_ _xi_ ( _t_ )) _,_ (5)
_ρ_ �( _x, t_ ) =
_N_
_i_ =1
_mi δ_ ( _x −_ _xi_ ( _t_ )) _,_ ( _ρ_ - _v_ �)( _x, t_ ) =
where _mi_, _xi_, _vi_ are the mass, position and velocity of the _i_ -th particle and _δ_ denotes the Dirac
distribution. The instantaneous pressure distribution _p_ �( _x, t_ ) is given by
_p_ �( _x, t_ ) = _d_ <sup><u>1</u></sup>
- _N_
_i_ =1
( _fij_ _· rij_ ) _λij_ ( _x, t_ ) _,_
( _mivi ·_ _<u>vi</u>_ ) _δ_ ( _x −_ _xi_ ( _t_ )) +
_i_ =1 _,...,N_
_j<i_
Here, _<u>vi</u>_ denotes the relative velocity with respect to a local mean value, _rij_ ( _t_ ) := ( _xi_ ( _t_ ) _−_ _xj_ ( _t_ )), and
_λij_ ( _x, t_ ) is defined as
_λij_ ( _x, t_ ) :=
- 1
_δ_
0
- _x −_ ( _xj_ ( _t_ ) + _λ_ ( _xi_ ( _t_ ) _−_ _xj_ ( _t_ )))�d _λ._
A Particle-based Multiscale Solver for Compressible Liquid-Vapor Flow 5
Fig. 5 Schematic representation of Riemann data
at the microscopic scale.
To get averaged quantities that can be passed to the macroscopic model, we have to average the
distributions _ρ_ �, _v_ - and _p_ - over a sampling domain. Consequently we obtain the spatially averaged,
microscopic quantities _ρ_, _v_, and _p_ . In the following we will only consider these averaged quantities.
For a homogeneous particle chain with constant particle masses _m_ = _mi_, the averaged microscopic
pressure is given by _p_ ( _τ_ ) = _−φ_ <sup>_′_</sup> ( _τ_ ), as a function of the specific volume _τ_ = _m/ρ_, if the local microscopic
temperature is zero, which is the case in our setting, as the particles are initialized without any random
fluctuations. Using this relation, the macroscopic pressure function can be determined directly from
the microscale model. This means that for the consistency of both models we have to set _φ_ ( _τ_ ) = _ψ_ ( _τ_ ),
where _ψ_ denotes the specific Helmholtz free energy of the macroscopic system, satisfying _p_ ( _τ_ ) = _−ψ_ <sup>_′_</sup> ( _τ_ ).
In the following, we consider the potential
_φ_ ( _r_ ) = _−_ <sup>_<u>a</u>_</sup>
_r_
<sup>_<u>a</u>_</sup> _φ_ <sup>_′_</sup> ( _r_ ) = <sup>_<u>a</u>_</sup>
_r_ <sup>_−_</sup> <sup>_Rθ_</sup> <sup>ln(</sup> <sup>_b −_</sup> <sup>_r_</sup> <sup>)</sup> <sup>_,_</sup> _r_ <sup>2</sup>
_r_ <sup>_<u>a</u>_</sup> <sup>2</sup> <sup>+</sup> _b −_ <sup>_<u>Rθ</u>_</sup>
(6)
_b −_ <sup>_<u>Rθ</u>_</sup> _r_ <sup>_,_</sup>
which is consistent with the van der Waals pressure (2). However, we stress that the choice of the
potential is arbitrary and implies the macroscopic pressure, not the other way round. Here, the explicit
choice of _φ_ is done to compare the multiscale scheme with already existing solvers for van der Waals
fluids.
3.2 The Microscopic Riemann Problem
Our main goal is to describe the dynamics of the fluid at the liquid-vapor interface, which we interpret
as a Riemann problem. To incorporate microscopic properties, we define a Riemann problem on the
microscopic scale and solve it in order to extract the wave pattern, which will be used to compute the
fluxes at the interface on the macroscopic scale.
Therefore we have to convert the macroscopic quantities to the microscale quantities and vice versa
using the Irving–Kirkwood formulas (5). To be more precise, for macroscopic Riemann problem data
_u_ L = ( _ρ, ρv_ )L and _u_ R = ( _ρ, ρv_ )R we set the initial particle configuration uniformly, such that for both
_α_ = L and _α_ = R
<sup>0</sup> _i_ <sup>_−_</sup> <sup>_x_</sup> _i_ <sup>0</sup>
_ρα_
_,_ _vi_ <sup>0</sup> <sup>=</sup> <sup>_vα,_</sup> for all _i ∈_ _Iα,_
_x_ <sup>0</sup> _i_
_i_ <sup>0</sup> _−_ 1 <sup>=</sup> <sup>_<u>mi</u>_</sup>
_,_ _vi_ <sup>0</sup>
holds, where _I_ L = _{i_ _|_ _i_ = 1 _, . . ., N_ with _xi_ _≤_ 0 _}_, _I_ R = _{i_ _|_ _i_ = 1 _, . . ., N_ with _xi_ _>_ 0 _}_ are the index
sets for the left/right hand particles. A schematic depiction of such a configuration can be seen in
Figure 5. This gives us the microscopic Riemann problem for
( _ρ, ρv_ )( _x,_ _t_ = 0) =
( _ρ, ρv_ )L : _x ≤_ 0 _,_
(7)
( _ρ, ρv_ )R : _x >_ 0 _,_
with a left state ( _ρ, ρv_ )L and a right state ( _ρ, ρv_ )R, defined by local averages of (5), with the jump at
zero.
After running the microscale simulation, the evolving wave pattern has to be transferred to the
macroscopic model. For that we perform some local averaging over the particles states using the
Irving–Kirkwood formulas (5). The interface speed is obtained by tracking the interface position on the
microscopic scale.
_3.2.1_ _Extracting_ _Key_ _Quantities_
For a given solution to the microscopic Riemann problem, it is still the question how we extract the
key quantities from the microscopic solution.
6 Jim Magiera, Christian Rohde
Fig. 6 Example of a solution of the microscopic particle model with van der
Waals potential (6) for the initial values
( _ρ, ρv_ )L = (1 _._ 9 _,_ 0) and ( _ρ, ρv_ )R = (0 _._ 3 _,_ 0)
for 16000 particles at _t_ = 2500. The
phase boundary is located at the density
jump near the origin.
In Figure 6 an example of a solution of the particle model is depicted. It can be seen that, similar
to wave patterns in the continuum case, a 3-wave pattern evolves - see Figure 3. We apply this analogy
to construct a numerical flux for the interface dynamics. To this end, similar to the numerical flux in
[4], we need to extract the states adjacent to the interface from the wave pattern, and also the interface
propagation speed. To obtain these values, the interface is tracked by considering the biggest local
change in density and then the neighboring states can be computed easily by local averaging left and
right of the interface.
3.3 Discretization of the Particle System
For the time-discretization of the particle system we apply the velocity Verlet algorithm [17]. It is an
explicit scheme with microscale time step _∆t >_ 0 of the following form:
_x_ ( _t_ + _∆t_ ) = _x_ ( _t_ ) + _∆t v_ ( _t_ ) + <sup><u>1</u></sup> 2 <sup>_∆t_</sup> <sup>2</sup> <sup>_a_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup>
_v_ ( _t_ + _∆t_ ) = _v_ ( _t_ ) + <sup><u>1</u></sup> 2
- _,_
<sup><u>1</u></sup> 2 <sup>_∆t_</sup> - _a_ ( _t_ ) + _a_ ( _t_ + _∆t_ )
(8)
where _v_ = <sup><u>d</u></sup> d <sup>_<u>x</u>_</sup> _t_
<sup><u>d</u></sup> d <sup>_<u>x</u>_</sup> _t_ <sup>is</sup> <sup>the</sup> <sup>particle</sup> <sup>velocity,</sup> <sup>and</sup> <sup>_a_</sup> <sup>=</sup> <sup><u>d</u></sup> d <sup>_<u>v</u>_</sup> _t_
where _v_ = <sup><u>d</u></sup> d <sup>_<u>x</u>_</sup> _t_ <sup>is</sup> <sup>the</sup> <sup>particle</sup> <sup>velocity,</sup> <sup>and</sup> <sup>_a_</sup> <sup>=</sup> <sup><u>d</u></sup> d <sup>_<u>v</u>_</sup> _t_ <sup>the</sup> <sup>particle</sup> <sup>acceleration,</sup> <sup>computed</sup> <sup>from</sup> <sup>the</sup> <sup>forces</sup>
between the particles at each time step. It is of second order and has the advantage that no intermediate
values of _x_, _v_, or _a_ have to be stored. Furthermore, we see that all steps can be run in parallel. This
enables us to run the particle simulations on a graphics processing unit (GPU) which gives a major
speedup, as opposed to conventional hardware.
4 The Multiscale Model
To design the multiscale model, we consider the continuum model (1) with the interface conditions (3)
as our macroscopic model. The bulk phases of the continuum model are solved by a standard finite
volume scheme, and we focus on the description of the interface dynamics. We refrain from formulating a
kinetic relation, and instead include data from the microscopic Riemann solutions of the particle model
presented in Section 3.2. Hereby, the communication between the macroscale continuum model and
microscale particle model is solely data driven. Only the macroscopic constraints ( _ρ, ρv_ )L and ( _ρ, ρv_ )R
are needed for setting up the microscale Riemann problem, and in return, for the computation of the
macroscale interface flux just the response values ( _s, u_ <sup>_∗_</sup> L <sup>_, u∗_</sup> R <sup>)</sup> <sup>from</sup> <sup>the</sup> <sup>wave</sup> <sup>pattern</sup> <sup>are</sup> <sup>needed,</sup> <sup>see</sup>
Section 4.2. Consequently, for the continuum model only the input-output relation ( _u_ L _, u_ R) _�→_ ( _s, u_ <sup>_∗_</sup> L <sup>_, u∗_</sup> R <sup>)</sup>
from the microscopic Riemann problem is important.
<sup>_∗_</sup> L <sup>_, u∗_</sup> R
<sup>_∗_</sup> L <sup>_, u∗_</sup> R
A Particle-based Multiscale Solver for Compressible Liquid-Vapor Flow 7
4.1 Model Reduction Algorithm
The evaluation of the microscale model is computationally relatively expensive, and if it is evaluated at
each interface edge and time step of the continuum model, the coupled micro- macroscale model becomes
computationally unfeasible - see Section 5 for a more details. To counter this problem we exploit the fact
that the coupling is solely data-driven, and apply a reduced, kernel-based surrogate model for the particle
model input-response relation _f_ micro : ( _u_ L _, u_ R) _�→_ ( _s, u_ <sup>_∗_</sup> L <sup>_, u∗_</sup> R <sup>),</sup> <sup>where</sup> <sup>_u_</sup> <sup>:= (</sup> <sup>_ρ, ρv_</sup> <sup>).</sup> <sup>More</sup> <sup>abstractly,</sup> <sup>we</sup>
<sup>_∗_</sup> L <sup>_, u∗_</sup> R
model input-response relation _f_ micro : ( _u_ L _, u_ R) _�→_ ( _s, u_ <sup>_∗_</sup> L <sup>_, u∗_</sup> R <sup>),</sup> <sup>where</sup> <sup>_u_</sup> <sup>:= (</sup> <sup>_ρ, ρv_</sup> <sup>).</sup> <sup>More</sup> <sup>abstractly,</sup> <sup>we</sup>
apply the microscale model as a black box and put the reduced model into the framework of machine
learning. For that _x ∈_ R <sup>_d_</sup> <sup>1</sup> denotes the _d_ 1-dimensional input data, which is in our case _x_ = ( _u_ L _, u_ R),
and _y_ _∈_ R <sup>_d_</sup> <sup>2</sup> is the _d_ 2-dimensional response of our model, in our case the measured data ( _s, u_ <sup>_∗_</sup> L <sup>_, u∗_</sup> R <sup>). The</sup>
aim is now, to train a regression function from samples a set _Dn_ = _{_ ( _xi, yi_ ) : _i_ = 1 _, . . ., n}_, obtained
from observations _yi_ = _f_ micro( _xi_ ) + _ε_ s that describes _f_ micro in an optimal sense. Here _ε_ s accounts for
possible normal distributed measurement noise. To get the regression function from the sample set
_Dn_ we apply a support vector regression scheme, see e.g. [15]. Therefore we have to train the reduced
model function
<sup>_∗_</sup> L <sup>_, u∗_</sup> R
_f_ ( _x_ ) =
_n_
_i_ =1
_αi kγ_ ( _xi, x_ ) _,_
on the trainings data set _Dn_, where _kγ_ is the radial basis kernel function _kγ_ ( _xi, x_ ) = exp( _−γ∥x −_ _xi∥_ <sup>2</sup> )
In this context, that means that we have to determine the coefficients _αi_ _∈_ R such that _f_ describes
_f_ micro optimally under the observations in _Dn_ . Consequently, an optimization problem has to be solved
each time the reduced model is trained.
More details on kernel-based surrogate modeling can be found in e.g. [10, 18].
_4.1.1_ _Dynamic_ _Sampling_ _Scheme_
In our case, the input values that are needed cannot be prescribed a priori. Therefore we apply a
dynamic sampling strategy, which is described in this section.
The sampling set _Dn_ is updated dynamically at each time step of the continuum model. To this end,
we assign each input value _x ∈_ R <sup>_d_</sup> <sup>1</sup> a score _γ_ ( _x_ ; _Dn_ ) that describes the quality of the surrogate model
at the point _x_ . This score is computed at each evaluation of the surrogate model. If the score is below
a certain threshold _ε_ model _>_ 0, we simply evaluate the point _x_ by the surrogate model. On the other
hand, if it is above the threshold, we draw a new sample by evaluating the microscale model and add it
to the training set _Dn_ +1 = _Dn ∪{_ ( _xn_ +1 _, yn_ +1) _}_ . A sketch of the complete model reduction scheme is
shown in Figure 7.
In the following we use the distance from an input value _x_ to the nearest point of the sample data set
_Dn_, i.e. _γ_ ( _x_ ; _Dn_ ) = min _i≤n ∥x −_ _xi∥_ . One drawback of this simple choice is, that we only consider the
input values and ignore the output values, which could give an indication whether the (local) variance
of the underlying model equation is higher or lower in certain areas of the input space.
Fig. 7 Sketch of the model reduction scheme with dynamic sampling.
8 Jim Magiera, Christian Rohde
Fig. 8 One-dimensional solution of the
multiscale model and the particle model
for the Riemann problem, where the
phase boundary is located at the density
jump near _x/t_ = 0 _._ 2.
4.2 Numerical Discretization of the Multiscale Model
To discretize the macroscale model, we apply the time-explicit front tracking finite volume scheme
for systems from [4]. It has the advantage that the sharp interface is resolved within the mesh, i.e.
the discretized phase boundary always coincides with a (moving) mesh edge. At the interface we
have to solve a special Riemann problem including the phase dynamics. From its solution we have
to extract the interface propagation speed _s_ and the adjacent fluid states _u_ <sup>_∗_</sup> R <sup>and</sup> <sup>_u_</sup> L <sup>_∗_</sup> <sup>,</sup> <sup>see</sup> <sup>Figure</sup> <sup>3.</sup>
However, instead of solving the microscale Riemann problem each time, we insert the model reduction
scheme from Section 4.1. The wave pattern values are inserted in the numerical flux at the interface
_g_ ( _u_ L _, u_ R) = <sup><u>1</u></sup> 2 <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_u_</sup> L <sup>_∗_</sup> <sup>) +</sup> <sup>_f_</sup> <sup>(</sup> <sup>_u∗_</sup> R <sup>)</sup> <sup>_−_</sup> <sup>_s_</sup> <sup>(</sup> <sup>_u∗_</sup> L <sup>+</sup> <sup>_u_</sup> R <sup>_∗_</sup> <sup>)).</sup> <sup>In</sup> <sup>the</sup> <sup>bulk</sup> <sup>phases</sup> <sup>we</sup> <sup>apply</sup> <sup>a</sup> <sup>standard</sup> <sup>Lax–Friedrichs</sup>
flux scheme.
<sup>_∗_</sup> R <sup>and</sup> <sup>_u_</sup> L <sup>_∗_</sup>
<sup><u>1</u></sup> 2 <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_u_</sup> L <sup>_∗_</sup> <sup>) +</sup> <sup>_f_</sup> <sup>(</sup> <sup>_u∗_</sup> R
<sup>_∗_</sup> R <sup>)</sup> <sup>_−_</sup> <sup>_s_</sup> <sup>(</sup> <sup>_u∗_</sup> L
<sup>_∗_</sup> L <sup>+</sup> <sup>_u_</sup> R <sup>_∗_</sup>
5 Numerical Simulations
In this section we present some numerical simulation results to show that the multiscale scheme is
viable and applicable to (two-dimensional) droplet dynamics.
A Multiscale Simulation of the Riemann Problem: The first simulation results show the consistency between the particle model and the multiscale model in one spatial dimension. Therefore, we
run both, the particle model and the multiscale model for the same set of Riemann data and compare
the averaged particle solution with the multiscale solution. For the initial conditions we have _ρ_ L = 2 _._ 0,
_v_ L = 0 for _x <_ 0 in the liquid phase, and on the right side the vapor-phase Maxwell equilibrium state
_ρ_ R _≈_ 0 _._ 317, _v_ R = 0. In Figure 8 both solutions are superimposed and we can see that they fit well, and
in particular the wave speeds of the phase boundary coincide.
Multiscale Simulations of a Droplet in 2D: Next, we solve the multiscale model on the continuum
scale in two spatial dimensions.
_Droplet_ _transport:_ In the first simulation we present the performance of the front tracking scheme in
two spatial dimensions. The initial conditions for the density are the Maxwell equilibrium states, which
are _ρ_ liq _≈_ 1 _._ 804 for the liquid phase and _ρ_ vap _≈_ 0 _._ 317 for the vapor phase. The initial velocity in the
domain and on the boundary is set to _v_ = (0 _._ 2 _,_ 0) <sup>_⊤_</sup> . In Figure 9 we see that the droplet is transported
through the domain and mostly keeps its shape. Furthermore it remains in equilibrium, the increased
density at th interface in the vapor on the left side and the small oscillations are due to the local
averaging if the triangulation is restructured.
_Oscillating_ _droplet:_ In the next simulation we consider a droplet that is perturbed from the liquid
phase equilibrium, i.e. _ρ_ liq = 1 _._ 85, and measure the effect of the model tolerance _ε_ model on the
computational time. The simulation results for _ε_ model = 0 _._ 5 are presented in Figure 10. We consider
reflecting boundary conditions and thus, the droplet oscillates slightly. The computational time <sup>1</sup> for this
1All simulations were performed on a single workstation equipped with an Intel _⃝_ R i7-6700 CPU at 3.4 GHz,
16GB RAM, and a Nvidia _⃝_ R GTX980 Ti GPU.
A Particle-based Multiscale Solver for Compressible Liquid-Vapor Flow 9
Fig. 9 Multiscale simulation of a moving droplet at _t_ = 0, _t_ = 1 _._ 25 and _t_ = 2 _._ 5 (from left to right).
Fig. 10 Multiscale simulation of an oscillating droplet at _t_ = 0 _,_ 0 _._ 25 _,_ 0 _._ 5 _,_ 0 _._ 75 (from left to right).
Fig. 11 Computational time in seconds with respect to the model tolerance _ε_ model. The dashed line
indicates the number of samples that are drawn from the microscale model.
simulation is depicted in Figure 11. It can be seen that the time for computing new samples is of the
same order of the finite volume computations, which underlines the performance of the model reduction
scheme. If we would not apply model reduction, we would have to run microscale simulation (around
20 seconds per sample) for all 8000 time steps at each of the _∼_ 160 interface edges. This would lead to a
computational time that amounts to roughly one year. Compared to that the runtime with the model
the model reduction scheme takes only several minutes. This gives us huge speedups (with/without
model reduction) as shown in Table 1.
_ε_ model speedup
1.0 222112
0.5 47000
0.25 10836
Table 1 Speedup, with/without model reduction.
10 Jim Magiera, Christian Rohde
6 Conclusions
In this work, we have presented a multiscale model for the description of two-phase flows with a sharp
interface, that incorporates microscale features originating from an atomistic particle model. We have
exploited the fact that the coupling of the micro- and macroscale model is solely data-based and
developed a model reduction scheme that dynamically draws new data points from the microscale model
and makes the whole multiscale scheme computationally feasible. Numerical simulation results are
presented, that not only showing the consistency of the multiscale scheme, but also that the applicability
in more complex situations without prescribing some (ad-hoc) kinetic relations.
Acknowledgements The work was supported by the German Research Foundation (DFG) through SFB
TRR 75 “Droplet dynamics under extreme ambient conditions”.
References
[1] Rohan Abeyaratne and James K. Knowles. Kinetic relations and the propagation of phase
boundaries in solids. _Archive_ _for_ _Rational_ _Mechanics_ _and_ _Analysis_, 114(2), 1991.
[2] D. M. Anderson, G. B. McFadden, and A. A. Wheeler. Diffuse-interface methods in fluid mechanics.
_Annual_ _Review_ _of_ _Fluid_ _Mechanics_, 30(1), 1998.
[3] N. Bedjaoui, C. Chalons, F. Coquel, and P. G. Lefloch. Non-monotonic traveling waves in van der
waals fluids. _Analysis_ _and_ _Applications_, 03(04), 2005.
[4] Christophe Chalons, Christian Rohde, and Maria Wiebe. A finite volume method for undercompres
sive shock waves in two space dimensions. _ESAIM_ _Math._ _Model._ _Numer._ _Anal._, 51(5):1987–2015,
2017.
[5] Ian A. Cosden. _A_ _hybrid_ _atomistic-continuum_ _model_ _for_ _liquid-vapor_ _phase_ _change_ . PhD thesis,
University of Pennsylvania, 2013.
[6] Weinan E. _Principles_ _of_ _multiscale_ _modeling_ . Cambridge University Press, 2011.
[7] Weinan E, Bj¨orn Engquist, Xiantao Li, Weiqing Ren, and Eric Vanden-Eijnden. Heterogeneous
multiscale methods: A review. _Communications_ _in_ _Computational_ _Physics_, 2(3), 2007.
[8] Michael Herrmann and Jens D. M. Rademacher. Riemann solvers and undercompressive shocks of
convex FPU chains. _Nonlinearity_, 23(2), 2010.
[9] J. H. Irving and John G. Kirkwood. The statistical mechanical theory of transport processes. IV.
The equations of hydrodynamics. _The_ _Journal_ _of_ _Chemical_ _Physics_, 18(6), 1950.
[10] Frederike Kissling and Christian Rohde. The computation of nonclassical shock waves in porous
media with a heterogeneous multiscale method: The multidimensional case. _Multiscale_ _Modeling_
_&_ _Simulation_, 13(4), 2015.
[11] Xiantao Li, Jerry Z. Yang, and Weinan E. A multiscale coupling method for the modeling of
dynamics of solids with application to brittle cracks. _Journal_ _of_ _Computational_ _Physics_, 229(10),
2010.
[12] Christian Merkle and Christian Rohde. The sharp-interface approach for fluids with phase change:
Riemann problems and ghost fluid techniques. _ESAIM:_ _M2AN_, 41(6), 2007.
[13] Weiqing Ren. Analytical and numerical study of coupled atomistic-continuum methods for fluids.
_Journal_ _of_ _Computational_ _Physics_, 227(2), 2007.
[14] Christian Rohde and Christoph Zeiler. A relaxation Riemann solver for compressible two-phase
flow with phase transition and surface tension. _Applied_ _Numerical_ _Mathematics_, 95, 2015.
[15] Ingo Steinwart and Andreas Christmann. _Support_ _vector_ _machines_ . Springer, 2008.
[16] L. Truskinovsky. Kinks versus shocks. In _Shock_ _induced_ _transitions_ _and_ _phase_ _structures_ _in_ _general_
_media_, volume 52 of _IMA_ _Vol._ _Math._ _Appl._ Springer, New York, 1993.
[17] Loup Verlet. Computer ”experiments” on classical fluids. I. Thermodynamical properties of
Lennard–Jones molecules. _Phys._ _Rev._, 159:98–103, 1967.
[18] D. Wirtz, N. Karajan, and B. Haasdonk. Surrogate modeling of multiscale models using kernel
methods. _International_ _Journal_ _for_ _Numerical_ _Methods_ _in_ _Engineering_, 101(1), 2015.
[19] Christoph Zeiler. _Liquid_ _Vapor_ _Phase_ _Transitions:_ _Modeling,_ _Riemann_ _Solvers_ _and_ _Computation_ .
PhD thesis, Universit¨at Stuttgart, 2015.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.