Now showing 1 - 2 of 2
  • 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
    Transient two-way molecular-continuum coupling with openfoam and mamico: A sensitivity study
    (MDPI, 2021-12-01)
    Wittenberg, Helene
    ;
    Molecular-continuum methods, as considered in this work, decompose the computational domain into continuum and molecular dynamics (MD) sub-domains. Compared to plain MD simulations, they greatly reduce computational effort. However, the quality of a fully two-way coupled simulation result strongly depends on a variety of system-specific parameters, and the corresponding sensitivity is only rarely addressed in the literature. Using a state-flux molecular-continuum coupling algorithm, we investigated the influences of various parameters, such as the size of the overlapping region, the coupling time step and the quality of ensemble-based sampling of flow velocities, in a Couette flow scenario. In particular, we considered a big setup in terms of domain size and number of time steps, which allowed us to investigate the long-term behavior of the coupling algorithm close to the incompressible regime. While mostly good agreement was reached on short time scales, it was the long-term behavior which differed even with slightly differently parametrized simulations. We demonstrated our findings by measuring the error in velocity, and we summarize our main observations with a few lessons learned.