arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.12754cond-mat.softcond-mat.mtrl-sciphysics.comp-ph
收藏

PyMembrane:用于高效模拟弹性膜与液体膜的灵活框架

PyMembrane: A flexible framework for efficient simulations of elastic and liquid membranes

D. A. Matoz-Fernandez, Siyu Li, Monica Olvera de la Cruz, Rastko Sknepnek

AI总结:

本研究提出PyMembrane软件框架,采用C++结合Python接口、模块化设计与非结构化网格优化数据结构,可高效实现弹性膜与液体膜模拟,支持自定义扩展,兼具易用性与可维护性。

摘要:

PyMembrane是一款用于模拟液体膜与弹性膜的软件包,它采用嵌入三维空间的非结构化二维三角网格,对连续介质描述进行离散化。该软件包以C++编写,配有灵活直观的Python接口,可快速完成复杂模拟的设置、执行与分析。PyMembrane遵循现代软件工程原则,采用模块化设计,既能轻松实现自定义扩展,又能保证一致性并降低维护成本。该设计的一大标志性特点是使用标准化C++接口,可简化新功能的添加流程。此外,PyMembrane采用针对非结构化网格优化的数据结构,可确保高效的网格操作与力计算。通过提供多种典型模拟模板并辅以详尽文档,用户可顺畅设置并运行科研级模拟,还能扩展软件包以集成更多功能,凸显了PyMembrane以用户为中心的设计理念。

英文摘要:

PyMembrane is a software package for simulating liquid and elastic membranes using a discretisation of the continuum description based on unstructured triangulated two-dimensional meshes embedded in three-dimensional space. The package is written in C++, with a flexible and intuitive Python interface, allowing for a quick setup, execution and analysis of complex simulations. PyMembrane follows modern software engineering principles and features a modular design that allows for straightforward implementation of custom extensions while ensuring consistency and enabling inexpensive maintenance. A hallmark feature of this design is the use of a standardized C++ interface which streamlines adding new functionalities. Furthermore, PyMembrane uses data structures optimised for unstructured meshes, ensuring efficient mesh operations and force calculations. By providing several templates for typical simulations supplemented by extensive documentation, the users can seamlessly set up and run research-level simulations and extend the package to integrate additional features, underscoring PyMembrane's commitment to user-centric design.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑