CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   List of all files that should be include while compiling moded interFoam solver (https://www.cfd-online.com/Forums/openfoam-programming-development/221377-list-all-files-should-include-while-compiling-moded-interfoam-solver.html)

Ash Kot October 14, 2019 17:19

List of all files that should be include while compiling moded interFoam solver
 
Hello Everyone,

I'm trying to modify the interFoam solver by adding certain chemistry based equations. For that, I'm copying previous files to another folder and modifying there so that I don't mess with the original solver.

So, my question is what files I should include in that folder while compiling the modified solver?

List of all files that I should be including while compiling moded interFoam solver.

einstein_zee October 16, 2019 04:53

Quote:

Originally Posted by Ash Kot (Post 747029)
Hello Everyone,

I'm trying to modify the interFoam solver by adding certain chemistry based equations. For that, I'm copying previous files to another folder and modifying there so that I don't mess with the original solver.

So, my question is what files I should include in that folder while compiling the modified solver?

List of all files that I should be including while compiling moded interFoam solver.

Hii there,

I'm not sure if I'm getting your question right or not :P but you need to have a parent Make directory which has two files : (files, options). list of files you need to have for compilation of your solver should be included in "files". For inclusion of header files you need to use -I flag and in case you have compiled a library of your own you may add the address of the .so file with -L flag (again see how OF does it).
To get your hands on it, you may see some examples first (by searching on google)


All times are GMT -4. The time now is 03:57.