Jafari, Vahid
Loading...
4 results
Now showing 1 - 4 of 4
- PublicationMetadata onlyAccuracy and performance evaluation of low density internal and external flow predictions using CFD and DSMC(Elsevier, 2024-06-18)
; ; ;Samanta, Amit K. ;Küpper, Jochen ;Amin, Muhamed; The Direct Simulation Monte Carlo (DSMC) method was widely used to simulate low density gas flows with large Knudsen numbers. However, DSMC encounters limitations in the regime of lower Knudsen numbers (Kn<0.05). In such cases, approaches from classical computational fluid dynamics (CFD) relying on the continuum assumption are preferred, offering accurate solutions at acceptable computational costs. In experiments aimed at imaging aerosolized nanoparticles in vacuo a wide range of Knudsen numbers occur, which motivated the present study on the analysis of the advantages and drawbacks of DSMC and CFD simulations of rarefied flows in terms of accuracy and computational effort. Furthermore, the potential of hybrid methods is evaluated. For this purpose, DSMC and CFD simulations of the flow inside a convergent–divergent nozzle (internal expanding flow) and the flow around a conical body (external shock generating flow) were carried out. CFD simulations utilize the software OpenFOAM and the DSMC solution is obtained using the software SPARTA. The results of these simulation techniques are evaluated by comparing them with experimental data (1), evaluating the time-to-solution (2) and the energy consumption (3), and assessing the feasibility of hybrid CFD-DSMC approaches (4). - PublicationMetadata only
- PublicationMetadata onlyMaMiCo 2.0: An enhanced open-source framework for high-performance molecular-continuum flow simulation(2022-12-01)
; ;Wittenberg, Helene; ; ;Maurer, Felix ;Wittmer, NiklasThe macro–micro-coupling tool (MaMiCo) is an open source C++ research software framework, designed to create molecular-continuum flow simulations in a modular way, i.e. with exchangeable solvers. It can be used to couple discrete particle dynamics codes with computational fluid dynamics solvers while retaining performance, especially for parallel execution on supercomputers. We present a new version of MaMiCo that extends its functionality by a multitude of new features, notably with dynamic handling of molecular dynamics simulation instances, automated error estimation, coupling interfaces to the community codes ls1 mardyn and OpenFOAM, a Python interface, support for machine learning modules and enhanced two-way coupling. These features of the new MaMiCo version impact several fields of computational science and can be employed to tackle open research questions in the future, such as efficient multiscale numerical simulation of multi-phase flows, or fault tolerance of coupled simulations on large-scale cluster systems. - PublicationMetadata onlyMassively Parallel Molecular-Continuum Flow Simulation with Error Control and Dynamic Ensemble Handling(2022-01)
; ;Wittmer, NiklasIn 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.