EDC (Eddy Dissipation Concept) for OpenFOAM based on the OpenSMOKE++ framework The edcSMOKE requires one of the following OpenFOAM versions:
- OpenFOAM-7
- OpenFOAM-4.x
- OpenFOAM-2.4
- OpenFOAM-2.3
- OpenFOAM-2.2
If you use edcSMOKE for your publications, we kindly ask you to cite the following two papers:
Parente, A., Malik, R.M., Contino, F., Cuoci, A., Dally, B., Extension of the Eddy Dissipation Concept for turbulence/chemistry interactions to MILD combustion (2016) Fuel, 163, pp. 98-111, DOI: 10.1016/j.fuel.2015.09.020
Cuoci, A., Frassoldati, A., Faravelli, T., Ranzi, E., OpenSMOKE++: An object-oriented framework for the numerical modeling of reactive systems with detailed kinetic mechanisms (2015) Computer Physics Communications, 192, pp. 237-264, DOI: 10.1016/j.cpc.2015.02.014
- OpenSMOKE++ (already included in edcSMOKE)
- Eigen (http://eigen.tuxfamily.org/index.php?title=Main_Page)
- RapidXML (http://rapidxml.sourceforge.net/)
- Boost C++ (http://www.boost.org/)
- Intel MKL (https://software.intel.com/en-us/intel-mkl)
- ODEPACK (http://computation.llnl.gov/casc/odepack/odepack_home.html)
- DVODE (http://computation.llnl.gov/casc/odepack/odepack_home.html)
- DASPK (http://www.engineering.ucsb.edu/~cse/software.html)
- Sundials (http://computation.llnl.gov/casc/sundials/main.html)
- MEBDF (http://wwwf.imperial.ac.uk/~jcash/IVP_software/readme.html)
- RADAU (http://www.unige.ch/~hairer/software.html)
Three different options are available to compile the code, according to the level of support for the solution of ODE systems
-
Minimalist: no external, optional libraries are required. Only the native OpenSMOKE++ ODE solver can be used.
-
Minimalist + Intel MKL: only the native OpenSMOKE++ ODE solver can be used, but linear algebra operations are managed by the Intel MKL libraries
-
Complete: all the optional libraries are linked to the code, in order to have the possibility to work with different ODE solvers
-
Instructions to compile the Minimalist version
-
Open the
mybashrc.minimalist
and adjust the paths to the compulsory external libraries (in particular choose the OpenFOAM version you are working with) -
Type:
source mybashrc.minimalist
-
Compile the steady-state solver: from the
solver/edcSimpleSMOKE
folder typewmake
-
Compile the unsteady solver: from the
solver/edcPimpleSMOKE
folder typewmake
-
Instructions to compile the Minimalist+MKL version
-
Open the
mybashrc.minimalist.mkl
and adjust the paths to the compulsory external libraries and the paths to the Intel MKL library (in particular choose the OpenFOAM version you are working with) -
Type:
source mybashrc.minimalist.mkl
-
Compile the steady-state solver: from the
solver/edcSimpleSMOKE
folder typewmake
-
Compile the unsteady solver: from the
solver/edcPimpleSMOKE
folder typewmake
-
Instructions to compile the Complete version
- Open the
mybashrc.complete
and adjust the paths to the compulsory external libraries and the Intel MKL library (in particular choose the OpenFOAM version you are working with). You can choose the additional external libraries you want to add to edcSMOKE, by modifying theEXTERNAL_ODE_SOLVERS
variable: in particular1
means that the support is requested, while0
means that no support is requested. Obviously, for each requested library, you need to provide the correct path. - Type:
source mybashrc.complete
- Compile the steady-state solver: from the
solver/edcSimpleSMOKE
folder typewmake
- Compile the unsteady solver: from the
solver/edcPimpleSMOKE
folder typewmake