|
[Sponsors] |
porting nuSgsWallFunction from foam-extend to OpenFOAM 2.2.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2014, 11:39 |
porting nuSgsWallFunction from foam-extend to OpenFOAM 2.2.0
|
#1 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 118
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 |
|
|
|
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 14:07 |
Getting crazy with all the problems I have in OpenFoam | Nicacio | OpenFOAM Running, Solving & CFD | 7 | June 9, 2014 19:08 |
Density_based turbo with OpenFoam 2.2.0 | eddykendo | OpenFOAM | 4 | March 2, 2014 06:05 |
cavity 3D in OpenFOAM Extend | alquimista | OpenFOAM Running, Solving & CFD | 7 | May 4, 2013 07:20 |
[Other] cgnsToFoam problems with "QUAD_4" cells | lentschi | OpenFOAM Meshing & Mesh Conversion | 1 | March 9, 2011 04:49 |