Numerical-model for Membrane-spacer Assemblies and Configurations in OpenFOAM
- The solver is now compatible with openfoam version 6 - see https://github.com/OpenFOAM/OpenFOAM-dev/tree/version-6 and will be upgraded to the latest openfoam soon.
- source openfoam's bashrc - source /etc/bashrc
- go to solver folder (cd NMACFoam) and do $wmake
To cite NMACFoam, please use this journal article
@article{sitaraman2022impact,
title={Impact of large-scale effects on mass transfer and concentration
polarization in Reverse Osmosis membrane systems},
author={Sitaraman, Hariswaran and Battiato, Ilenia},
journal={Separation and Purification Technology},
volume={303},
pages={122121},
year={2022},
publisher={Elsevier}
}
Go to each of the following test cases and use the Allrun script which essentially creates a mesh and runs the solver You can run in parallel as well after decomposition using decomposePar and using mpirun -n nprocs NMACFoam -parallel
-
flow through channel with one boundary being a membrane (follows the paper by A. Subramani et al. Journal of Membrane Science 277 (2006) 7–17)

-
flow through channel with spacers (follows the paper by Guillan and Hoek, Chemical Engineering Journal 149 (2009) 221–231)
verification case for pressure drop for flow through channel with porous walls



