Implementing v2f turbulence model in 2.1.x - GName not declared error
hi,
Im trying to implement the v2f model in version 2.1.x but without any success. steps followed: 1) Downloaded the v2f.C and v2f.H files from https://github.com/OpenFOAM/OpenFOAM-2.2.x 2) created a new folder in my /src/turbulenceModels/incompressible/RAS/v2f 3) created a Make folder with files & options: Files: Code:
v2f.C Code:
EXE_INC = \ but resulted in the following error: Code:
wmakeLnInclude: linking include files to ./lnInclude Thanks. |
From 2.2.2's $FOAM_SRC/turbulenceModels/incompressible/turbulenceModel/turbulenceModel.H:
Code:
inline word GName() const |
Quote:
Thanks for the suggestion. Do you suggest to include the code you have mentioned in my 2.1.x ~/turbulenceModel.H as it is in 2.2.x ? (because you have replaced :G to .G) ? Any idea why this function is included in the 2.2.x and not the 2.1.x? |
Quote:
You've got several options, two of them are: 1. Replace call to GName() with "RASModel::G" (I've just checked the naming in 2.1.0's kEpsilon.C). 2. Add GName method into turbulenceModel class (turbulenceModel.H) like Code:
inline word GName() const |
All times are GMT -4. The time now is 17:17. |