OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
This is the main page of the OpenFCST (open source Fuel Cell Simulation Toolbox) class documentation.
The Open Fuel Cell Simulation Toolbox (OpenFCST) is an open-source mathematical modelling package for polymer electrolyte fuel cells. FCST builds on top of the open-source finite element libraries deal.II, therefore many of its requirements in terms of operating systems and such are the same as for deal.II. OpenFCST is distributed under the MIT License. OpenFCST has been developed as a modular toolbox from which you can develop your own applications. It contains a database of physical phenomena equations, fuel cell layers and materials, and kinetics mathematical models. In addition, it already contains several applications that allow you to simulate different fuel cell components. For example, you can simulate a cathode electrode (using either a macrohomogeneous or an ionomer-filled agglomerate model), an anode electrode or a complete membrane electrode assembly. The applications already provided in FCST and they have been validated with respect to experimental data in the literature as well as numerical results from another model implemented in a commercial package.
OpenFCST is being developed at the Energy Systems Design Laboratory at the University of Alberta in collaboration with the Automotive Fuel Cell Cooperation Corp. that, together with the Natural Science and Engineering Research Council of Canada has provided the majority of the funding required to developer this code. The goal of OpenFCST is that research groups in academia and in industry use the current toolbox to better understand fuel cells and to develop new physics and material databases that can then be integrated in the current library.
This code can also be used for fuel cell optimization using analytical sensitivities. For examples of problems solved using this code and a description of the numerical method used see:
Here is a snapshot of the oxygen mole fraction in the cathode obtained using one of my applications (AppCathodeAgglomerate): The figure shows Contour lines at the catalyst layer for the base electrode design at for (a) oxygen molar fraction [-], (b) potential in the solid phase [V], (c) potential in the electrolyte [V], (d) volumetric current density [ ] and (e) final adaptive grid in the catalyst layer. (Note: output generated using Tecplot)
OpenFCST can be either downloaded from the OpenFCST website, i.e., http://www.openfcst.org or copied from the developer GIT repository. If you are a user, the easiest way to get the code is via the website. Go to Downloads and download a .tar file with the source code. You are then ready to install.
If you are using Git please follow the step in the BitBucket site for checking out a copy.
OpenFCST is developed on a Linux operating system using the GNU GCC compiler. It uses our own CMake scripts and the contributing libraries CMake scripts, such as the deal.II (www.dealii.org) script, to configure and compile the library. It supports at least the following platform:
The following software needs to also be installed on your computer in order for FCST to compile (make sure to have the development versions as well):
OpenFCST comes with all required libraries except:
You can either download them yourself and install them yourself, place tar files in the appropriate folder (specified below) following OpenFCST naming convention (specified below) or allow OpenFCST to download them for you if you have an internet connection.
To help with configuring OpenFCST with CMake we have provided a configure script, i.e., openFCST_install. For a typical installation, go to the openfcst/ folder, and enter the following:
where the variable –cores allows you to compile the program using multiple CPUs and –install-dir allows you to specify the installation directory where openFCST will be installed. By default, openFCST will create a Build and Install folder in the same directory as the src folder; i.e. Inside the openfcst/ folder, two new folders will appear
If you are using any of your own pre-installed packages please consult the src/README for more information on any necessary changes that need to be made as is the case for Metis deal.ii and Dakota. For more options and information about the installation script type:
See user guide. To launch a sample cathode simulation, go to the install folder Install source the environment script. Then go to examples/cathode/analysis and execute the 2D fcst binary::
This will run a cathode simulation with the simulation data parameters specified in data_app_cathode_analysis.prm.
Please see the file src/LICENSE or doc/LICENSE for details
Visit the OpenFCST website: http://www.openfcst.org/