GNU General Public License v3.0

项目介绍

PhasicFlow/PhasicFlowPlus 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 GNU General Public License v3.0 许可证,目前获得 81 个 Star、20 次 Fork。

仓库全名
PhasicFlow/PhasicFlowPlus
开源许可证
GNU General Public License v3.0
Star 数
81
Fork 数
20
未关闭 Issue
6

README 摘要

. PhasicFlowPlus is a software package for simulating fluid-particle flows. It is a combination of computational fluid dynamics (CFD) and discrete element method (DEM). The fluid is assumed to be continuum phase and the particles as discrete bodies. Here, DEM calculations are handled using features of PhasicFlow. It is a parallel DEM package that can be run on multi-core CPUs or GPUs. The equations for the fluid…

完整内容见 GitHub 原始 README 或本页 。

常见问题

PhasicFlowPlus 用什么语言开发?

主要使用 C++ 编写,采用 GNU General Public License v3.0 许可证,目前有 81 个 Star。

PhasicFlowPlus 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 PhasicFlowPlus 的源码?

可以直接克隆仓库:git clone https://github.com/PhasicFlow/PhasicFlowPlus.git,默认分支为 main;安装与运行步骤见仓库 README。

PhasicFlowPlus 最近还在维护吗?

仓库最近一次更新为 9月27日,当前有 6 个未关闭 Issue;Star 数为 81,可作为社区活跃度的参考。

关于

Fluid-particle coupling for multiphase flow based on PhasicFlow and OpenFOAM

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
129
价值分
55
活跃状态
活跃

语言占比

C
C++
Shell

Release

README

.

PhasicFlowPlus is a software package for simulating fluid-particle flows. It is a combination of computational fluid dynamics (CFD) and discrete element method (DEM). The fluid is assumed to be continuum phase and the particles as discrete bodies.

Here, DEM calculations are handled using features of PhasicFlow. It is a parallel DEM package that can be run on multi-core CPUs or GPUs. The equations for the fluid phase are discretized based on finite volume (FV) and solved using OpenFOAM. OpenFOAM is parallelized based on MPI for running on on multicore CPUs. The fluid-particle coupling (PhasicFlowPlus) uses both parallelization methods, shared-memory and MPI, to leverage the maximum computational resoureces.

Based on the above configuration, PhasicFlowPlus can use the computational resources of a multi-core CPU or use the computational resource of both CPU and GPU.

What is under development?

The following parts are being developed at the moment:

  • Coarse-graining for CFD-DEM
  • Resolved solver for CFD-DEM
  • Modifying some parts for better functionality and performance

How to build PhasicFlowPlus

Version-1.0

Version-1.0 is compatible with PhasicFlow-v-1.0 and OpenFOAM-v24. You need to install phasicFlow-v-1.0 and then install OpenFOAM-v24 or OpenFOAM-v25 on your computer. After that, follow the following steps to install PhasicFlowPlus.

  • Step 1: copy the source code into ~/PhasicFlow folder:

    cd ~/PhasicFlow
    wget -qO- https://github.com/PhasicFlow/PhasicFlowPlus/archive/refs/tags/v-1.0.tar.gz | tar -xvz
    # Note:
    #   Instead of using wget, you could directly clone it in director ~/PhasicFlow
    #   use the command: git clone https://github.com/PhasicFlow/PhasicFlowPlus.git  
    
  • Step 2: build the software:

    # Note:
    #   make sure that the phasicFlow is correctly installed with checkPhasicFlow
    #   First activate OpenFOAM-v2412 (choose the command that matches your installation)
    #   1- pre-built: source /usr/lib/openfoam/openfoam2412/etc/bashrc
    #   2- source pack : source $HOME/OpenFOAM-v2412/OpenFOAM-v2412/etc/bashrc
    cd ~/PhasicFlow/PhasicFlowPlus-v-1.0
    ./Allwmake
    

Version-0.1

First, you need to install PhasicFlow-v0.1 and OpenFoam-v9 (For now, it is only tested with OpenFOAM-v9) on your computer. After that, copy PhasicFlowPlus-v0.1 on your computer. The PhasicFlowPlus folder should be located beside phasicFlow folder on your computer (in ~/PhasicFlow/ folder). Navigate to the root directory of the code and enter the following commands to install the code.

# Note:
#   make sure that the phasicFlow is correctly installed with checkPhasicFlow
#   First activate OpenFOAM-v9 (choose the command that matches your installation)
#   1- pre-built: source /opt/openfoam9/etc/bashrc
#   2- source pack : source $HOME/OpenFOAM/OpenFOAM-9/etc/bashrc
cd ~/PhasicFlow/PhasicFlowPlus/ 
./Allwmake

A note on OpenFOAM versions

PhasicFlowPlus is designed to be compatible with OpenFOAM distributions from ESI group (like v2406, v2412, v2506, and etc). It is not compatible with OpenFOAM distributions from OpenFOAM Foundation (like v9, v10, and etc). This is mainly due to some differences in the API and code structure of the two distributions. Since this may cause some difficulties in maintaining the code and providing stable solvers, we just develope and maintain the code for OpenFOAM distributions from ESI group.

Core Developers and Contributors

PhasicFlowPlus is developed and maintained by a dedicated team of researchers and engineers specializing in computational fluid dynamics (CFD) and discrete element method (DEM). The core developers include:

  • Hamidreza Norouzi
  • Bahram Haddadi

Contributions from the community are highly encouraged. Contributors can submit bug fixes, new features, or documentation improvements through pull requests on the GitHub repository. In the current version, we also had contributors from (the list will be updated):

  • Alireza Hosseini
  • Nima Joghataei

评论

暂无评论