Hostname: page-component-6766d58669-bp2c4 Total loading time: 0 Render date: 2026-05-16T13:30:34.220Z Has data issue: false hasContentIssue false

A hybrid molecular–continuum method for unsteady compressible multiscale flows

Published online by Cambridge University Press:  10 March 2015

Matthew K. Borg*
Affiliation:
Department of Mechanical and Aerospace Engineering, University of Strathclyde, Glasgow G1 1XJ, UK
Duncan A. Lockerby
Affiliation:
School of Engineering, University of Warwick, Coventry CV4 7AL, UK
Jason M. Reese
Affiliation:
School of Engineering, University of Edinburgh, Edinburgh EH9 3JL, UK
*
Email address for correspondence: matthew.borg@strath.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

We present an internal-flow multiscale method (‘unsteady-IMM’) for compressible, time-varying/unsteady flow problems in nano-confined high-aspect-ratio geometries. The IMM is a hybrid molecular–continuum method that provides accurate flow predictions at macroscopic scales because local microscopic corrections to the continuum-fluid formulation are generated by spatially and temporally distributed molecular simulations. Exploiting separation in both time and length scales enables orders of magnitude computational savings, far greater than seen in other hybrid methods. We apply the unsteady-IMM to a converging–diverging channel flow problem with various time- and length-scale separations. Comparisons are made with a full molecular simulation wherever possible; the level of accuracy of the hybrid solution is excellent in most cases. We demonstrate that the sensitivity of the accuracy of a solution to the macro–micro time-stepping, as well as the computational speed-up over a full molecular simulation, is dependent on the degree of scale separation that exists in a problem. For the largest channel lengths considered in this paper, a speed-up of six orders of magnitude has been obtained, compared with a notional full molecular simulation.

Information

Type
Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/3.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© 2015 Cambridge University Press
Figure 0

Figure 1. Schematic of the IMM treatment of an arbitrary channel with high aspect ratio in the streamwise direction $s$: a macro model is used to solve the full domain, and micro refinement is applied at nodes of the macro grid using parallel-wall MD simulations with periodic boundary conditions.

Figure 1

Figure 2. The CAI time-stepping scheme (Lockerby et al.2013). Horizontal arrows indicate the incremental time-stepping of the macro (top) and micro (bottom) solver, while arrows indicate the direction of information exchange.

Figure 2

Figure 3. Converging–diverging channel case: (a) the full-MD simulation, (b) the length-scale separation $S_{L}(s)$ taken from (2.1) and (c) schematic of the unsteady-IMM approach.

Figure 3

Figure 4. Gravity force varying with time for various time-scale-separated channel flow cases: (a) case A, startup flow, (b) case B, oscillating force with small scale separation $S_{T}=2$, (c) case C, oscillating force with large scale separation $S_{T}=100$ and (d) case D, oscillating force with mixed scale separation $S_{T}=2\rightarrow 100$.

Figure 4

Figure 5. Full-MD and hybrid predictions of mass flow rates ${\dot{m}}(s,t)$ along the streamwise direction $(s)$ for various instantaneous times $(t)$ in the start-up problem (Case A).

Figure 5

Figure 6. Transient results for the start-up flow (Case A) at each micro subdomain location: (a) mass flow rate, (b) mass density and (c) average velocity are recorded from each MD subdomain location and compared with the result extracted from a corresponding bin of width 2.9 nm in the full-MD simulation.

Figure 6

Table 1. The micro gearing $g_{T}$ and the scale-separation sensitivity parameter $K_{g}$ for the oscillatory-forcing cases considered.

Figure 7

Figure 7. Predicted mass flow rate (${\dot{m}}$) varying with time ($t$) at the inlet of the converging–diverging channel ($s=0$) for all oscillatory-forcing cases: (a) Case B, (b) Case C and (c) Case D.

Figure 8

Figure 8. Percentage error in the peak mass flow rate values for the oscillating flow Cases B and C when our hybrid results are compared with the full-MD solutions. Sensitivity of this error to the gearing is clearly shown by the dotted lines (curve fits to the data) for the two time-scale-separated cases.

Figure 9

Figure 9. Transient results for the high-frequency oscillating unsteady flow (Case B) at each micro subdomain location: (a) mass flow rate, (b) mass density and (c) average velocity are recorded from each MD subdomain location and compared with the result extracted from a corresponding bin of width 2.9 nm in the full-MD simulation.

Figure 10

Figure 10. Transient results for the low-frequency oscillating unsteady flow (Case C) at each micro subdomain location: (a) mass flow rate, (b) mass density and (c) average velocity are recorded from each MD subdomain location and compared with the result extracted from a corresponding bin of width 2.9 nm in the full-MD simulation. The density profiles have been smoothed using block-averaging to minimise the short time-scale artefacts in the plots.

Figure 11

Figure 11. (a) Time micro gearing $(g_{T})$ and (b) macro time step (${\rm\Delta}t$) varying with time ($t$), for the variable frequency oscillating flow problem in Case D. The gearing is an indication of the computational savings over a fully coupled case. Note that the discontinuity in plot (a) occurs because $N$ in (2.7) is an integer, and the nearest integer is calculated.

Figure 12

Figure 12. Transient results for the mixed frequency oscillating unsteady flow (Case D) at each micro subdomain location: (a) mass flow rate, (b) mass density and (c) average velocity are recorded from each MD subdomain location and compared with the result extracted from a corresponding bin of width 2.9 nm in the full-MD simulation. The density profiles have been smoothed using block-averaging to minimise the short time-scale artefacts in the plots.

Figure 13

Figure 13. Frequency of secondary oscillations varying with micro gearing. The secondary frequencies are taken from fast Fourier transforms of the mass flow rate measurements in the first micro subdomain, for Cases A and C. Comparisons are made with the frequency prediction from (4.8). Vertical lines indicate the range of density fluctuations observed in the hybrid simulations, which affect the speed of sound $c$ in (4.8).

Figure 14

Figure 14. Computational speed-up varying with micro gearing (in time) for all four Cases A–D relative to the full-MD simulation. Symbols denote exact speed-up measurements taken from processor clock times, while dashed lines are an estimate of the speed-up given by $g_{L}\times g_{T}$. Note, Case D has a varying gearing, so for this plot we select the largest gearing.

Figure 15

Table 2. Computational speed-up estimates given by $g=g_{L}\times g_{T}$ for the two long channels.

Figure 16

Figure 15. Pressure $p$ (MPa) varying with time $t$ (ns) in each micro subdomain for the three different lengths of the converging–diverging channel.

Figure 17

Table 3. Least-squares fit coefficients, $a_{j}$, $(j=0,1,2,3,4)$ for each micro subdomain, required by (3.13). Values are presented in SI units.