Professional Documents
Culture Documents
Research Proposal On Multiscale Modelling For TCS-RSP
Research Proposal On Multiscale Modelling For TCS-RSP
interfacial evolutions
Avik Saha
Abstract
Majority of the natural or industrial processes are multiscale in nature. But often the smaller
scale features are computed empirically in practical world, which hinders our basic
understanding of the process or phenomena. In spite of their small existence in spatial and
temporal scale, they often provide utmost influence over the scientific understanding of the
phenomena. Due to high runtime and cost, micro scale simulations over domain of engineering
is not practical with present computational advancement. For that reason, we need to go for
multiscale simulations where microscale simulations will run for limited spatial and temporal
scale and provide required inputs to the macroscale simulations. In present study we have
proposed similar multiscale simulation of thin film for some elemental grey processes like
microlayer dynamics in nucleate boiling, contact line motion during drop spreading and
breaking and making of interfaces during merging of bubbles. For these simulations a coupling
between molecular simulation in LAMMPS and finite volume based solver in OpenFOAM has
been proposed with the help of a indigenously coupler library, which will facilitate the
communication between the solvers and ensure that the solvers run in unison. A flow chart of
the computational steps and the communication has also been provided.
The majority of engineering applications are focused on bulk behavior of the system which
can be grossly predicted by employing macroscopic analysis, obeying homogeneous physics
over a continuous domain. But every physical phenomenon percolates from elemental scale
dynamics involving multiscale transfer processes. Practice of unimodal discretization of
continuum fails in cases, requiring an understanding of physics spanning widely varying scales
and their mutual exchange. Macroscale predictions largely depend on transfer functions which
mimics smaller scale features through empirical knowledge. The majority of the times, these
constitutive equations are not reliable when extrapolated to adjoint domain and makes
researchers handicapped for not going towards elemental discretization in macroscale. On
the other hand, microscale simulations of engineering issues are very costly in terms of
computational cost. Even with the rapid advancement of computational resources, it is
practically impossible to simulate the engineering domain with microscale discretization. For
these reasons, researchers came up with a new style of modeling, which is known as
multiscale modeling.
MUI consist of only header files written in C++, but CPL library is written in Fortran. These
organises the massage passing between the solvers using some Message Passing Interface
(MPI) eg. OpenMPI, MPICH.
Wall molecules
Water molecules Liquid
Microfilm
Finite volume domain
Nucleation
Molecular dynamics domain Site
Contact line
Two phase interface
Overlapping region
Liquid
Drop
Contact line
(c) (b)
Another special type of multiscale strategy has been first proposed by Kevrekidis et al. [10]
where modeling where the macroscale solver hardly exists. This multiscale simulation strategy
is commonly known as Equation Free Method (EFM), which totally depends on the microscale
solvers. As performing microscopic simulation over the full domain is computationally to much
expensive, in this method microscopic simulation is performed over distributed patches of
space as well as time. Simulations are done for very small amount of time at a coarser time
interval. This is more formally known as time burst. Here the macroscopic solver does not
have any closed form of equation. It just does the interpolation, extrapolation, and integration
of these microscopic solvers to give the complete solution. Once the simulations of a time step
are completed, the macroscale solver after aggregating all the microscale simulation
extrapolates the data to generate the information about the next time step via extrapolation.
This can be done with the help of forward Euler’s scheme or any other higher-order scheme,
in case to case basis. After the extrapolation, this information is supplied to the microscale
solver to generate new configurations based on them.
EFM can help us to find the flaws in the macroscale governing equation, and guide us to make
the macroscale solver more efficient. This type of methodology is really helpful for the
comparatively newer domain of research, where stable macroscale solver is yet to be
established. But for that we need to know the type, order of unavailable governing equation
and also the parameters based on which the governing equation can be formed. This
information can be obtained from the experiments and the basic understanding of the
phenomena.
Figure 5: Schematic of Equation Free Method proposed by Kevrekidis et al. [10]
Ongoing Work
Works has already been started to establish a platform for multiscale simulation of two phase
system. To start with initially a 1D heat conduction problem has been taken. At the center of
the domain a small SPH (Spherical Particle Hydrodynamics) domain has been taken and rest
domain has been simulated with Finite Difference Method. Domain length has been taken as
15 units. For data transfer a small overlapping region has also been kept at the two ends of
the SPH domain as shown in the figure 6.
Figure 6: Domain description and Algorithm for 1D FDM-SPH coupled heat conduction
problem.
FDM domain has been discretised in 7+7 nodes and the SPH domain has been discretised in
25 particles. For the 4 end particles (2 from each end) of SPH temperature data has been
taken from the FDM as boundary condition. Similarly, for the Last node of FDM at temperature
boundary condition is taken from SPH simulation. At the extreme end of the domain periodic
boundary condition is applied. Computation steps of both the solver are shown in the figure 6.
Both the solver codes are written in C++ language. For information exchange here Multiscale
Universal Interface has been used.
In figure 7 temperature profile for the whole domain has been shown combining the results of
FDM and SPH simulation. Initially the left part of the FDM was kept at 0 temperature and right
part was kept at temperature 1. Different particles of the assigned with different temperatures
ranging from 0 to 1.5. After few simulation steps the temperature profile took a smooth profile
as shown in the figure 7. This result confirms proper coupling and information exchange
between the solvers.
For the simulation of proposed problem statement also both micro and macro scale
simulations are required. For micro scale simulation at present most popular open source
software is LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator) and on the
other hand OpenFOAM is one of the most common CFD solver package. For this reason,
LAMMPS-OpenFOAM has been selected to be coupled for the multiscale simulations with the
help of a coupler library.
Figure 8: Flow chart of Coupled Macro-Micro Simulation steps
Figure 9: Equations of FVM and MD simulations
In figure 9 major equations for both the solvers are enlisted. These equations from the different
solvers are dependent on each other in case of multiscale simulation. Hence the solver codes
need to be modified to enable communication among them and ensure proper data transfer
for smooth running of the multiscale simulation. A flow chart (Figure 9) has been prepared to
show which data need to be transferred to and from the coupling library. This also shows the
whole sequence of the computational steps of both the solvers and at which step the data
transfer should occur.
References
[1] Wei, X.R., Wang, G.X., Massarotto, P., Golding, S.D. and Rudolph, V., 2007. Numerical
simulation of multicomponent gas diffusion and flow in coals for CO2 enhanced coalbed methane
recovery. Chemical engineering science, 62(16), pp.4193-4203.
[2] Groen, D., Zasada, S.J. and Coveney, P.V., 2013. Survey of multiscale and multiphysics
applications and communities. Computing in Science & Engineering, 16(2), pp.34-43.
[3] Tang, Y.H., Kudo, S., Bian, X., Li, Z. and Karniadakis, G.E., 2015. Multiscale universal interface:
a concurrent framework for coupling heterogeneous solvers. Journal of Computational
Physics, 297, pp.13-31.
[5] Cooper, M.G. and Lloyd, A.J.P., 1969. The microlayer in nucleate pool boiling. International
Journal of Heat and Mass Transfer, 12(8), pp.895-913.
[6] Koffman, L.D. and Plesset, M.S., 1983. Experimental observations of the microlayer in vapor
bubble growth on a heated solid.
[7] Cox, R.G., 1986. The dynamics of the spreading of liquids on a solid surface. Part 2.
Surfactants. Journal of Fluid mechanics, 168, pp.195-220.
[8] O’connell, S.T. and Thompson, P.A., 1995. Molecular dynamics–continuum hybrid computations:
a tool for studying complex fluid flows. Physical Review E, 52(6), p.R5792.
[9] Borg, M.K. and Reese, J.M., 2017. Multiscale simulation of enhanced water flow in
nanotubes. MRS Bulletin, 42(4), pp.294-299.
[10] Kevrekidis, I.G., Gear, C.W., Hyman, J.M., Kevrekidid, P.G., Runborg, O. and Theodoropoulos,
C., 2003. Equation-free, coarse-grained multiscale computation: Enabling mocroscopic simulators
to perform system-level analysis. Communications in Mathematical Sciences, 1(4), pp.715-762.