Now showing 1 - 7 of 7
  • Publication
    Metadata only
  • Publication
    Metadata only
    Massively Parallel Molecular-Continuum Flow Simulation with Error Control and Dynamic Ensemble Handling
    (2022-01) ;
    Wittmer, Niklas
    ;
    In coupled molecular-continuum flow simulations, molecular dynamics (MD) simulations exhibit thermal fluctuations. Finding a way to minimize the impact of these fluctuations on the CFD solver, e.g. in terms of stability, and to control the corresponding statistical error plays a key role in order to obtain reliable results. In this paper, statistical error analysis is employed for MD simulations to determine the statistical error in flow velocities and the number of MD data samples to bound this error. The corresponding error estimator is augmented by a dynamic ensemble handling approach, which allows to couple a variable number of MD simulation instances to a single CFD solver. The ensemble members can be simulated independently from each other over separate coupling time intervals, enabling a high level of (MPI-based) parallelism. Adding or removing MD simulations to/from the ensemble allows to regulate the error and keep it under a prescribed threshold. All functionality is implemented in the massively parallel macro-micro-coupling tool (MaMiCo). We validate our approach by coupled molecular-continuum Couette flow simulation for liquid argon and provide scalability tests on up to 131.072 cores. The computational overhead for handling the dynamic MD ensemble is found to be rather negligible.
  • Publication
    Metadata only
    Open boundary modeling in molecular dynamics with machine learning
    (2020) ;
    Wittmer, Niklas
    Molecular-continuum flow simulations combine molecular dynamics (MD) and computational fluid dynamics for multiscale considerations. A specific challenge in these simulations arises due to the “open MD boundaries” at the molecular-continuum interface: particles close to these boundaries do not feel any forces from outside which results in unphysical behavior and incorrect thermodynamic pressures. In this contribution, we apply neural networks to generate approximate boundary forces that reduce these artefacts. We train our neural network with force-distance pair values from periodic MD simulations and use this network to later predict boundary force contributions in non-periodic MD systems. We study different training strategies in terms of MD sampling and training for various thermodynamic state points and report on accuracy of the arising MD system. We further discuss computational efficiency of our approach in comparison to existing boundary force models.
  • Publication
    Metadata only
    MaMiCo: Parallel Noise Reduction for Multi-instance Molecular-Continuum Flow Simulation
    Transient molecular-continuum coupled flow simulations often suffer from high thermal noise, created by fluctuating hydrodynamics within the molecular dynamics (MD) simulation. Multi-instance MD computations are an approach to extract smooth flow field quantities on rather short time scales, but they require a huge amount of computational resources. Filtering particle data using signal processing methods to reduce numerical noise can significantly reduce the number of instances necessary. This leads to improved stability and reduced computational cost in the molecular-continuum setting. We extend the Macro-Micro-Coupling tool (MaMiCo) – a software to couple arbitrary continuum and MD solvers – by a new parallel interface for universal MD data analytics and post-processing, especially for noise reduction. It is designed modularly and compatible with multi-instance sampling. We present a Proper Orthogonal Decomposition (POD) implementation of the interface, capable of massively parallel noise filtering. The resulting coupled simulation is validated using a three-dimensional Couette flow scenario. We quantify the denoising, conduct performance benchmarks and scaling tests on a supercomputing platform. We thus demonstrate that the new interface enables massively parallel data analytics and post-processing in conjunction with any MD solver coupled to MaMiCo.