|
[Sponsors] |
Linking turbulence model in foam extend 3.0.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 18, 2016, 11:45 |
Linking turbulence model in foam extend 3.0.1
|
#1 |
Member
Jack
Join Date: May 2015
Posts: 98
Rep Power: 11 |
Hi All, the turbulence model I would like to link in foam extend 3.0 is found over at https://github.com/langfeldt/gammaReThetatSST
So after I run Code:
wmake libso For example I notice that changing Code:
nu()()[cellI] Code:
nu()[cellI] I also know that the transpose operator is different in this version and should be Code:
.T() Code:
T() Errors: Code:
Making dependency list for source file gammaReThetatSST/gammaReThetatSST.C SOURCE=gammaReThetatSST/gammaReThetatSST.C ; icpc -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0 -DNoRepository -I/usr/local/Cluster-Apps/foam-extend/3.2/src/turbulenceModels -I/usr/local/Cluster-Apps/foam-extend/3.2/src/transportModels -I/usr/local/Cluster-Apps/foam-extend/3.2/src/finiteVolume/lnInclude -I/usr/local/Cluster-Apps/foam-extend/3.2/src/meshTools/lnInclude -I/usr/local/Cluster-Apps/foam-extend/3.2/src/turbulenceModels/incompressible/RAS/lnInclude -IlnInclude -I. -I/usr/local/Cluster-Apps/foam-extend/3.2/src/foam/lnInclude -I/usr/local/Cluster-Apps/foam-extend/3.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64IccDPOpt/gammaReThetatSST.o gammaReThetatSST/gammaReThetatSST.C(284): error: call of an object of a class type without appropriate operator() or conversion functions to pointer-to-function type sqr(ReThetatOld)*nu()()[cellI]*dUds/(sqr(max(mag(U_[cellI]),SMALL))), ^ gammaReThetatSST/gammaReThetatSST.C(291): error: call of an object of a class type without appropriate operator() or conversion functions to pointer-to-function type nu()()[cellI]*dUds/(sqr(max(mag(U_[cellI]),SMALL))), ^ gammaReThetatSST/gammaReThetatSST.C(429): error: no instance of constructor "Foam::incompressible::RASModel::RASModel" matches the argument list argument types are: (const Foam::word, const Foam::volVectorField, const Foam::surfaceScalarField, Foam::transportModel, const Foam::word) RASModel(modelName, U, phi, lamTransportModel, turbulenceModelName), ^ gammaReThetatSST/gammaReThetatSST.C(706): error: class "Foam::IOobject" has no member "MUST_READ_IF_MODIFIED" IOobject::MUST_READ_IF_MODIFIED, ^ gammaReThetatSST/gammaReThetatSST.C(798): error: no instance of overloaded function "Foam::T" matches the argument list argument types are: (Foam::tmp<Foam::GeometricField<Foam::tensor, Foam::fvPatchField, Foam::volMesh>>) - fvc::div(nuEff()*dev(T(fvc::grad(U)))) ^ gammaReThetatSST/gammaReThetatSST.C(798): error: no instance of overloaded function "Foam::fvc::div" matches the argument list argument types are: (<error-type>) - fvc::div(nuEff()*dev(T(fvc::grad(U)))) ^ gammaReThetatSST/gammaReThetatSST.C(814): error: no instance of overloaded function "Foam::T" matches the argument list argument types are: (Foam::tmp<Foam::GeometricField<Foam::tensor, Foam::fvPatchField, Foam::volMesh>>) - fvc::div(muEff*dev(T(fvc::grad(U)))) ^ gammaReThetatSST/gammaReThetatSST.C(814): error: no instance of overloaded function "Foam::fvc::div" matches the argument list argument types are: (<error-type>) - fvc::div(muEff*dev(T(fvc::grad(U)))) ^ gammaReThetatSST/gammaReThetatSST.C(870): error: identifier "GName" is undefined volScalarField G(GName(), nut_*2*S2); ^ gammaReThetatSST/gammaReThetatSST.C(902): error: class "Foam::fvMatrix<Foam::scalar={Foam::doubleScalar={double}}>" has no member "boundaryManipulate" omegaEqn().boundaryManipulate(omega_.boundaryField()); ^ gammaReThetatSST/gammaReThetatSST.C(905): error: identifier "omegaMin_" is undefined bound(omega_, omegaMin_); ^ gammaReThetatSST/gammaReThetatSST.C(931): error: identifier "kMin_" is undefined bound(k_, kMin_); ^ compilation aborted for gammaReThetatSST/gammaReThetatSST.C (code 2) make: *** [Make/linux64IccDPOpt/gammaReThetatSST.o] Error 2 |
|
September 18, 2020, 17:33 |
Resolution?
|
#2 |
New Member
Prakriti
Join Date: Jun 2018
Posts: 6
Rep Power: 8 |
I've run into a similar problem and was wondering if you were able to find any resolution to this? Specifically, I've run into the error with "bound".
|
|
Tags |
linking, openfoam, turbulence model |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulence Model - Linking Issues? | AA29 | OpenFOAM Programming & Development | 3 | June 20, 2014 16:21 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
Wrong calculation of nut in the kOmegaSST turbulence model | FelixL | OpenFOAM Bugs | 27 | March 27, 2012 10:02 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
OpenFOAM with Cygwin | kitchener | OpenFOAM Installation | 6 | April 25, 2006 00:09 |