{"title":"EllipsoidalFiberFoam, a novel Eulerian-Lagrangian solver for resolving translational and rotational motion dynamics of ellipsoidal fibers","authors":"Kazem Reza-Asl, Ebrahim Goshtasbi Rad, Omid Abouali","doi":"10.1016/j.cpc.2024.109481","DOIUrl":null,"url":null,"abstract":"<div><div>A novel Eulerian-Lagrangian MPI parallelized solver is developed to resolve the dynamics of ellipsoidal fibers in the OpenFOAM platform. Due to the nonspherical shape of the ellipsoidal fibers and the dependence of the drag force on the orientation of the fiber, the solver solves the full conservation of linear and angular momentum equations, in addition to the time evolution equation for Euler's parameters, quaternions. To this end, a new parcel type is introduced to represent ellipsoidal fibers with several new properties, including Euler's parameters, angular velocity, and torque class. Finally, new member functions are defined to solve angular momentum and Euler's parameters time evolution equations. The solver is the first publicly available, robust and reliable computational framework for the numerical analysis of ellipsoidal fibers motion. It promotes the capability of the standard Lagrangian OpenFOAM solvers and libraries to capture the orientation and rotational dynamics of nonspherical particles. As validation cases, the solver was applied to four benchmarks: three-dimensional rotation of an ellipsoid in linear shear flow, two-dimensional rotation of a magnetic ellipsoid in linear shear flow subjected to a uniform magnetic field, motion of an ellipsoid in pipe flow, and ellipsoids deposition in three-dimensional bifurcation flow. Comparison of the results with analytical solutions, experimental data and in-silico results indicates close agreements and high accuracy of the developed numerical model for single- and multi-physics test cases.</div></div><div><h3>Program summary</h3><div><em>Program title:</em> EllipsoidalFiberFoam</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/nf35zjvmr2.1</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GNU General Public License Version 3</div><div><em>Programming language:</em> C++</div><div><em>Nature of problem:</em> The developed Eulerian-Lagrangian solver introduces the Euler's parameters, angular velocity and hydrodynamic and magnetic torques of ellipsoidal fibers and it solves the equations of conservation of angular momentum and Euler's parameters time evolution to describe the fiber orientation fully. The orientation-dependent drag force and the fiber trajectory are calculated afterward by solving the equations of conservation of linear momentum.</div><div><em>Solution method:</em> Fluid phase velocity and pressure are obtained through the PIMPLE algorithm. For the particulate phase, a new parcel type owning Euler's parameters and angular velocity accompanied by new classes for hydrodynamic and magnetic torques and orientation-based drag force represents an ellipsoidal fiber, and the Lagrangian cloud of the parcel is evolved through the integration of the equations of translational and rotational motion.</div><div><em>Additional comments, including restrictions and unusual features:</em> The current version of the solver is based on creeping flow conditions and one-way interaction regime. These limitations will be relaxed in the near future by incorporating two- and four-way interaction regimes.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"309 ","pages":"Article 109481"},"PeriodicalIF":7.2000,"publicationDate":"2024-12-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524004041","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
A novel Eulerian-Lagrangian MPI parallelized solver is developed to resolve the dynamics of ellipsoidal fibers in the OpenFOAM platform. Due to the nonspherical shape of the ellipsoidal fibers and the dependence of the drag force on the orientation of the fiber, the solver solves the full conservation of linear and angular momentum equations, in addition to the time evolution equation for Euler's parameters, quaternions. To this end, a new parcel type is introduced to represent ellipsoidal fibers with several new properties, including Euler's parameters, angular velocity, and torque class. Finally, new member functions are defined to solve angular momentum and Euler's parameters time evolution equations. The solver is the first publicly available, robust and reliable computational framework for the numerical analysis of ellipsoidal fibers motion. It promotes the capability of the standard Lagrangian OpenFOAM solvers and libraries to capture the orientation and rotational dynamics of nonspherical particles. As validation cases, the solver was applied to four benchmarks: three-dimensional rotation of an ellipsoid in linear shear flow, two-dimensional rotation of a magnetic ellipsoid in linear shear flow subjected to a uniform magnetic field, motion of an ellipsoid in pipe flow, and ellipsoids deposition in three-dimensional bifurcation flow. Comparison of the results with analytical solutions, experimental data and in-silico results indicates close agreements and high accuracy of the developed numerical model for single- and multi-physics test cases.
Program summary
Program title: EllipsoidalFiberFoam
CPC Library link to program files:https://doi.org/10.17632/nf35zjvmr2.1
Licensing provisions: GNU General Public License Version 3
Programming language: C++
Nature of problem: The developed Eulerian-Lagrangian solver introduces the Euler's parameters, angular velocity and hydrodynamic and magnetic torques of ellipsoidal fibers and it solves the equations of conservation of angular momentum and Euler's parameters time evolution to describe the fiber orientation fully. The orientation-dependent drag force and the fiber trajectory are calculated afterward by solving the equations of conservation of linear momentum.
Solution method: Fluid phase velocity and pressure are obtained through the PIMPLE algorithm. For the particulate phase, a new parcel type owning Euler's parameters and angular velocity accompanied by new classes for hydrodynamic and magnetic torques and orientation-based drag force represents an ellipsoidal fiber, and the Lagrangian cloud of the parcel is evolved through the integration of the equations of translational and rotational motion.
Additional comments, including restrictions and unusual features: The current version of the solver is based on creeping flow conditions and one-way interaction regime. These limitations will be relaxed in the near future by incorporating two- and four-way interaction regimes.
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.