Git Product home page Git Product logo

mamico_hybrid_ml's Introduction

ICCS 2023: Convolutional Recurrent Autoencoder for Molecular-Continuum Coupling

Piet Jarmatz, Sebastian Lerdo, Philipp Neumann

ML data set generation for molecular-continuum simulations with MaMiCo.

Abstract

Molecular-continuum coupled flow simulations are used in many applications to build a bridge across spatial or temporal scales. Hence, they allow to investigate effects beyond flow scenarios modeled by any single-scale method alone, such as a discrete particle system or a partial differential equation solver. On the particle side of the coupling, often molecular dynamics (MD) is used to obtain trajectories based on pairwise molecule interaction potentials. However, since MD is computationally expensive and macroscopic flow quantities sampled from MD systems often highly fluctuate due to thermal noise, the applicability of molecular-continuum methods is limited. If machine learning (ML) methods can learn and predict MD based flow data, then this can be used as a noise filter or even to replace MD computations โ€“ both generates potential for tremendous speed-up of molecular-continuum simulations, aiming to enable new applications emerging on the horizon.

In this paper, we develop an advanced hybrid ML model for MD data in the context of coupled molecular-continuum flow simulations. Our model is based on recent know-how from computer vision and speech recognition, applied to a computational fluid dynamics context: A convolutional autoencoder (ConvAE) deals with the spatial extent of the flow data, while a recurrent neural network (RNN) is used to capture its temporal correlation. We use the open source coupling tool MaMiCo to generate MD datasets for ML training and implement the hybrid model as a PyTorch-based filtering module for MaMiCo.

The ML models are trained with real MD data from different flow scenarios including a Couette flow validation setup and a three-dimensional vortex street test case. Our results show that the convolutional recurrent hybrid model is able to learn and predict smooth flow quantities, even for very noisy MD input data. We furthermore demonstrate that also the more complex vortex street continuum flow data can accurately be reproduced by the ML module, without access to any corresponding continuum flow information.

Overview

0_Data_Generation

This subdirectory contains a file structure of configurations in order to generate the MD datasets. In this paper, we use the macro-micro coupling tool (MaMiCo) to generate datasets based on Couette and Karman-Vortex-Street scenarios for molecular-continuum coupled flow simulations.

1_Single_Model_Couette

This subdirectory contains the single model approach as used for the Couette based datasets.

alt text

2_Triple_Model_KVS

This subdirectory contains the triple model approach as used for the KVS based datasets.

3_Figures

This subdirectory contains our figures.

X_Graveyard

This subdirectory is a code graveyard.

mamico_hybrid_ml's People

Contributors

lerdoseb avatar thinkpiet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.