Skip to content

Magnification lens solver published in Behrad Esgandari, Daniel Queteschiner, Stefan Pirker, and Simon Schneiderbauer. "Discrete magnification lens model: A new hybrid multi-scale modelling method for fluid-particle systems." Powder Technology 445 (2024).

License

Notifications You must be signed in to change notification settings

behradesg/pfmFOAM-magnificationLens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magnification lens solver

OpenFOAM based developments made by the Department of Particulate Flow Modelling at Johannes Kepler University in Linz, Austria.

License: GPL v3

Disclaimer

This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM® and OpenCFD® trade marks.

Features

This solver is capable of coupling Two-Fluid Model with CFD-DEM in a specified region. It is possible to choose between one-way coupling and two-way coupling between Two-Fluid Model and CFD-DEM. In case of using two-way coupling methodology user can choose between mass and momentum coupling or solely momentum coupling between Two-Fluid Model and CFD-DEM. The Two-Fluid Model solver is based on "twoPhaseEulerTurbFoam" and the CFD-DEM simulations are based on CFDEMcoupling and LIGGGHTS developed by Department of Particulate Flow Modelling at Johannes Kepler University in Linz, Austria.

How to cite

Behrad Esgandari, Daniel Queteschiner, Stefan Pirker, and Simon Schneiderbauer. "Discrete magnification lens model: A new hybrid multi-scale modelling method for fluid-particle systems." Powder Technology 445 (2024): 120094.

Installation

The OpenFOAM 6, CFDEMcoupling compatible with this solver (CFDEMcoupling-magnificationLens) and LIGGGHTS compatible with this solver (LIGGGHTS-magnificationLens) should already be compiled in your system. Then, download the solver or clone it using git clone. Change the cloned folder name to pfmFOAM. It is very important to load CFDEMcoupling bashrc in a terminal, direct first to inside the CFDEMcoupling folder then,

source etc/bashrc

Then compile turbulencemodels,

cd pfmFOAM/pfm/src/TurbulenceModels
./Allwmake

Then, direct to the pre-processing folder and wmake writeCellGlobalID, writeCellSetLocalIDs, and writePatchFaceGlobalIDsList,

cd pfmFOAM/pfm/applications/utilities/preProcessing/writeCellGlobalID
wmake
cd ..
cd pfmFOAM/pfm/applications/utilities/preProcessing/writeCellSetLocalIDs
wmake
cd ..
cd pfmFOAM/pfm/applications/utilities/preProcessing/writePatchFaceGlobalIDsList
wmake

After compiling the utilities necessary to run magnification solver cases, direct to magnification lens solver folder and compile the solver,

cd pfmFOAM/pfm/applications/solvers/multiphase/MagnificationLensSolver
./Allwmake 

In addition, it is also possible to compile twoPhaseEulerTurbFoam solver which can be used to simulation Two-Fluid Model cases with,

cd pfmFOAM/pfm/applications/solvers/multiphase/twoPhaseEulerTurbFoam
./Allwmake 

Tutorial

The tutorials related to the discrete magnification lens cases in Esgandari et al. (2024) can be found in pfmFOAM/pfm/tutorials/multiphase/MagnificationLensSolver and the Two-Fluid Model cases can be found in tutorials/multiphase/twoPhaseEulerTurbFoam/KT/DiscreteMagnificationLensPaperCases.

License

License: GPL v3

  • This software is distributed under the GNU General Public License.
  • Copyright © 2019- JKU Linz
  • Some parts of this code are based on OpenFOAM® and Copyright on these parts is held by the OpenFOAM® Foundation (www.openfoam.org) and potentially other parties.

About

Magnification lens solver published in Behrad Esgandari, Daniel Queteschiner, Stefan Pirker, and Simon Schneiderbauer. "Discrete magnification lens model: A new hybrid multi-scale modelling method for fluid-particle systems." Powder Technology 445 (2024).

Resources

License

Stars

Watchers

Forks

Packages

No packages published