![]() |
new thermodynamic model
Hi all,
i am working on a new thermodynamic model based on the flamelet solver of alberto cuoci. I copied the thermodynamic src code into a new folder, called SLFMThermo and renamed everything in the code to SLFM... Okay ... after that I compiled the basicThermo and the SLFMThermo and everything worked fine. After that I removed everything and build the alberto thermodynamicm model again and it worked :) Now I added my model to the Make/files file and compiled again. As I get to the SLFMThermo I ll get the following output: Code:
SLFMThermo/SLFMThermo.C:32: error: redefinition of ‘Foam::SLFMThermo<MixtureType>::SLFMThermo(const Foam::fvMesh&)’Can someone give me an advice? Tobi |
Hi all,
today I had a look at the thermodynamic model hRho and hsRho and its the same like I have. Well I simplyfied my c++ code so that there is just the constructor and deconstructor in the header and source files. I get the same error: Code:
SLFMThermo/SLFMThermo.C:32: error: redefinition of ‘Foam::SLFMThermo<MixtureType>::SLFMThermo(const Foam::fvMesh&)’My source file is: Code:
\*---------------------------------------------------------------------------*/and my header file is: Code:
*---------------------------------------------------------------------------*/:/ Couse if I just compile my thermo model it works. with both - i get redifinitions :( |
Hi all,
I fixed the problem. I deleted all folders and did the same things again. Now I can compile everything without any errors and the solvers are working :) If the laminarFlameletSolver works good and the validation gives good results I ll share it with you! Tobi |
| All times are GMT -4. The time now is 08:15. |