Compile error kEpsilonViollet for OF 2.1.1
Hi,
while compiling the kEpsilonViollet model (it is written for OF 1.7 and works fine with OF 1.7) http://openfoamwiki.net/index.php/Co...EpsilonViollet under OF 2.1.1 a strange (at least to me) error occurs: Quote:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27775 From the original source code of kEpsilonViollet.C it is the part: Code:
const uniformDimensionedVectorField& g_ = Code:
const uniformDimensionedVectorField& g_ = alphaFixedPressureFvPatchScalarField.C (from /src/transportModels/...) which compiles without any problems. If there is somebody knowing what to do to fix this problem: Thank you very much! Greetings Andreas |
maybe fixed ?
Dear all,
while trying to solve the problem described above i found this thread http://www.cfd-online.com/Forums/ope...-buoyancy.html There something similar is discribed and it is said that there is something before the db(). is needed, like ???.db(). So i tried U_.db() Code:
const uniformDimensionedVectorField& g_ = There are some more parts of the kEpsilonViollet code to modify for to transfer it from OF 1.7 to OF 2.1.1. I will publish the fully transferd version later in this thread after i did some tests e.g. comparing the results of a test case calculated with the original code under OF 1.7 to the results with my transfered code under OF 2.1.1 Best regards andreas |
All times are GMT -4. The time now is 18:07. |