{'fraction_non_alphanumeric': 0.019461077844311378, 'fraction_numerical': 0.01122754491017964, 'mean_word_length': 5.685, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Hybrid Decomposition Parallel Algorithm for Multi-scale Simulation of Viscoelastic Fluids

The method of Brownian configuration fields (BCF) is a promising multi-scale approach for the simulationof viscoelastic fluids, however, it is a computationally expensive method, which restricts its application in complex scenarios. Therefore, it is of great importance to optimize the parallel implementation in order to improve computational efficiency. In this paper we propose a hybrid decomposition parallel algorithm named: MCDPar, whichenables the simulation problem to bedecomposed simultaneously over mesh cells andthe Brownian configuration fields. Compution processes are split into multiple groups and Brownian configuration fields are equally associated with these groups. Meanwhile, within each group the processes are concurrently executed based on the traditional mesh decomposition approach. Finally we implemented the MCDPar algorithm in a micro-macro numerical solver based on OpenFOAM. Experimental results show that the micro-macro simulation time of viscoelastic fluids issignificantly reduced with improved scalability and parallel efficiency. In the test case with Nf = 2000 and Ncell = 262144, the speedup of the MCDParis up to 9.23x with a 7.5x increase in number of cores compared to the original parallel algorithm.