|
[Sponsors] |
June 19, 2014, 19:12 |
Turbulence Model - Linking Issues?
|
#1 |
Member
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14 |
Hello everyone,
I compiled a new turbulence model in OpenFoam 2.3.x.To use that turbulence model, i created a new solver just to use the new turbulence library.Please note that i did not modify the solver , i just recompiled it to use my turbulence libraries. The solver works fine. But the weird thing is all the other standard solvers have stopped working, and i get the following error whichever solver I try to run: PIMPLE: max iterations = 50 field "(U|p)" : relTol 0, tolerance 0.0001 Reading thermophysical properties Selecting thermodynamics package { type hePsiThermo; mixture pureMixture; transport sutherland; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; dpdt yes; } bounds on rho: rhoMax [1 -3 0 0 0 0 0] 15 rhoMin [1 -3 0 0 0 0 0] 0.1 Reading field U Reading/calculating face flux field phi Creating turbulence model coldTopoEngineFoam: symbol lookup error: coldTopoEngineFoam: undefined symbol: _ZN4Foam12compressible15turbulenceModel3NewERKNS_1 4GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEER KNS2_INS_6VectorIdEES3_S4_EERKNS2_IdNS_13fvsPatchF ieldENS_11surfaceMeshEEERKNS_11fluidThermoERKNS_4w ordE Anybody else had this kind of problem? Any help will be appreciated. Thanks and Regards. |
|
June 19, 2014, 19:32 |
|
#2 |
Member
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14 |
In case you need the following,the options file for the turbulence model is :
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(WM_PROJECT_USER_DIR)/src/turbulenceModels \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude LIB_LIBS = \ -lsolidThermo \ -lfluidThermophysicalModels \ -lspecie \ -lfiniteVolume \ -lmeshTools \ -lsolidSpecie \ -lradiationModels And that for the new solver(which works fine btw) is : EXE_INC = \ -I$(POLIMI_SRC)/engine/include \ -I$(POLIMI_SRC)/engine/lnInclude \ -I$(POLIMI_SRC)/global/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/include \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/topoChangerFvMesh\lnInclude \ -I$(LIB_SRC)/engine/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(WM_PROJECT_USER_DIR)/src/turbulenceModels/compressible/turbulenceModel \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/fvOptions/lnInclude EXE_LIBS = \ -lengine \ -ldynamicMesh \ $(FOAM_USER_LIBBIN)/libcompressibleTurbulenceModel.so \ $(FOAM_USER_LIBBIN)/libcompressibleLESModels.so \ -lfluidThermophysicalModels \ -lspecie \ -lfiniteVolume \ -lmeshTools \ -lfvOptions I have been struggling with this for almost 3 months now. I will be grateful for all the help. Thanks. |
|
June 20, 2014, 12:27 |
|
#3 |
Member
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14 |
Does anyone have any ideas/hints about what might be going wrong here?
|
|
June 20, 2014, 16:21 |
|
#4 |
Member
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14 |
Thanks everyone. I think I have figured it out. A really silly mistake from my side!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam case with SpalartAllmaras turbulence model implemented | nedved | OpenFOAM Running, Solving & CFD | 2 | November 30, 2014 23:43 |
Wrong calculation of nut in the kOmegaSST turbulence model | FelixL | OpenFOAM Bugs | 27 | March 27, 2012 10:02 |
Low Reynolds k-epsilon model | YJZ | ANSYS | 1 | August 20, 2010 14:57 |
2 stage axial turbine model convergence issues | sherifkadry | CFX | 2 | September 7, 2009 21:51 |
OpenFOAM with Cygwin | kitchener | OpenFOAM Installation | 6 | April 25, 2006 00:09 |