Quick start


Assuming you have OpenFOAM version 2.1.x with environment variables set, here is all you need to download, compile, and run sofcFoam.

obtain the code
cd <myChosenParentDirectory>
git clone git://git.code.sf.net/p/openfuelcell/git openfuelcell
cd openfuelcell
compile the model
cd src
./Allwmake
cd .. 

generate meshes
cd run/<caseDirectory> #coFlow, counterFlow, crossFlow, ...
make mesh

run model from the command line with delivered settings
make srun

generate VTK files for final output time
make view