Open woshidaxia123 opened 2 years ago
This is based on OpenFOAM-6
But the solver is not working with OpenFOAM v6.
But the solver is not working with OpenFOAM v6.
Oh it will, after editing some files. See https://github.com/EclipseRE/OpenFOAM-EclipseRE
Hello, Thank you very much. It started to compile. Just there is an error. I think it is related to the cantera installation. Please can you help me with this.
Hello, Thank you very much. It started to compile. Just there is an error. I think it is related to the cantera installation. Please can you help me with this.
Hello. Yes,the version of cantera should be v2.5.1
(or lower, but I tested only with 2.5.1) - that's because they removed IdealGasMix from the 2.6.
However, if you try git checkout v2.5.1
and then scons build
in the Conda environment, you will face a lot of build errors related to the format_to
function. I decided to comment all occurrences in *.cpp. It works, but then it faces some sort of installation error on my device. Source code and build files are attached to the release on our team OpenFOAM fork repo.
Tomorrow or a bit later, I will try to fix Cantera installation and publish edited source code for version 2.5.1.
Hello, Thank you very much. It started to compile. Just there is an error. I think it is related to the cantera installation. Please can you help me with this.
Hello, I did it. Go to the parent catalog of OpenFOAM-EclipseRE
, then clone out team Cantera fork. Then create conda env from cantera-build.yaml
file, and when it is ready, activate the environment with the same name and build Cantera with following options (replace the paths):
prefix = '/common/install/dir/canteraInstall'
python3_package = 'full'
boost_inc_dir = '/conda/envs/path/cantera-build/include'
Then do scons install
.
After this, do git pull
in cloned OpenFOAM-EclipseRE
repo and then update the build.
Hi! I'm also a Shanghai Jiao Tong University student and I'm from the School of Aeronautic and Astroanutics. Your works make great progress for the combustion similation with OF. However, it's seems that there are some problems when I compile the solver. So I'm wondering which version of OpenFOAM are you based on?