A solver for OpenFOAM for the simulation of fiber reinforced injection molding. It is a modification of the interFoam solver distributed with OpenFOAM. The solver is not validated and generally not suitable for industrial use.
The code was developed using OpenFOAM-2.3.x. It might or might not work with newer versions of OpenFOAM (please test and let me know).
- download source
git clone https://github.com/fospald/injectionMoldingFoam.git
- run Allwmake, which uses the wmake tool of OpenFOAM
sh Allwmake
The demo consists of two joint boxes with two injection points. The injection parameters may be specified
cd demo
sh Allrun
This should run the solver, convert the results (20 snapshots) to VTK and open them in ParaView.
You should add a clip filter on the scalar alpha.phase1
with value 0.5
in order to visualize the injected material.
Then use the time controls to step forward in time.
Felix Ospald gratefully acknowledges financial support by the German Research Foundation (DFG), Federal Cluster of Excellence EXC 1075 "MERGE Technologies for Multifunctional Lightweight Structures". Many thanks to Matti Schneider for his helpful introduction to FFT-based homogenization and ideas regarding the ACG distribution.