|
[Sponsors] |
porting nuSgsWallFunction from foam-extend to OpenFOAM 2.2.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2014, 12:39 |
porting nuSgsWallFunction from foam-extend to OpenFOAM 2.2.0
|
#1 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Dear Foamers,
As I understand the wall-function nuSgsWallFunction now only lives int the foam-extend version of OpenFOAM. I am trying to compile it against the official release 2.2.0. For some reason I get the following problem: Code:
nuSgsWallFunctionFvPatchScalarField.C:129:9: error: ‘lookupPatchField’ was not declared in this scope lookupPatchField<volVectorField, vector>(UName_); ^ nuSgsWallFunctionFvPatchScalarField.C:129:40: error: expected primary-expression before ‘,’ token lookupPatchField<volVectorField, vector>(UName_); ^ nuSgsWallFunctionFvPatchScalarField.C:134:40: error: expected primary-expression before ‘,’ token lookupPatchField<volScalarField, scalar>(nuName_); ^ make: *** [Make/linux64GccDPOpt/nuSgsWallFunctionFvPatchScalarField.o] Error 1 Code:
nuSgsWallFunctionFvPatchScalarField.C LIB = $(FOAM_USER_LIBBIN)/libnuSgsWallFunctionFvPatchScalarField Code:
EXE_INC = \ -I$(LIB_SRC)/turbulenceModels \ -I$(LIB_SRC)/transportModels \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude LIB_LIBS = \ -lincompressibleTurbulenceModel \ -lfiniteVolume \ -lmeshTools Best, Timofey |
|
October 18, 2014, 15:38 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Timofey,
I think you need to improve your online searching skills Although I have to say it isn't very linear how to figure this out... although, the trick was to search for the compressible version "muSgs". This is further explained in the following bug reports: Quoting Andy from the last comment on the first link: Quote:
Best regards, Bruno
__________________
|
||
February 25, 2015, 05:37 |
|
#3 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Thank you Bruno!
We actually managed to find it before seeing your answer, more or less by chance . |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
Getting crazy with all the problems I have in OpenFoam | Nicacio | OpenFOAM Running, Solving & CFD | 7 | June 9, 2014 20:08 |
Density_based turbo with OpenFoam 2.2.0 | eddykendo | OpenFOAM | 4 | March 2, 2014 07:05 |
cavity 3D in OpenFOAM Extend | alquimista | OpenFOAM Running, Solving & CFD | 7 | May 4, 2013 08:20 |
[Other] cgnsToFoam problems with "QUAD_4" cells | lentschi | OpenFOAM Meshing & Mesh Conversion | 1 | March 9, 2011 05:49 |