PUFoam is an OpenFOAM solver to simulate expansion of polyurethane foams.
It includes Quadrature Method of Moments (QMOM) to solve a Population Balance Equation (PBE) determining the bubble size distribution inside PU foams.
Kinetics of the reactions including gelling, blowing and evaporation of the physical blowing agents (n-pentane and R11) are incorporated into the solver.
Finally, the kinetics and PBE have been coupled to describe the time evolution of the foaming/filling process.
In order to compile the solver and the required libraries execute the following:
user@machine> ./Allwmake
The common compilation errors and the solution are listed here:
Error:
fatal error: sys/cdefs.h: No such file or directory
Solution:
sudo apt-get install libc6-dev-i386
sudo apt-get install libc6-dev
Error:
cannot find crti.o: No such file or directory
Solution:
LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH
export LIBRARY_PATH
PUFoam
: a novel open-source CFD solver for the simulation of expanding and reacting polyurethane foams, Computer Physics Communications, Vol. 217, pp. 138--148, 2017.