|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13 ![]() |
Dear FOAMers,
I am trying to add a custom divDevRhoReff() in OpenFOAM4.1. I have added the following lines in "src/TurbulenceModels/incompressible/IncompressibleTurbulenceModel/IncompressibleTurbulenceModel.C". Also, I haved added its definition in "linearViscousStress.C" file. When I call this function(turbulence->divDevRhoReffCustom (U)) from simpleFoam, it gives the following error, "class Foam::IncompressibleTurbulenceModel<Foam::transpor tModel>’ has no member named ‘divDevRhoReffCustom" . Could someone please suggest me something on this. Thank you very much. Code:
template<class TransportModel> Foam::tmp<Foam::fvVectorMatrix> Foam::IncompressibleTurbulenceModel<TransportModel>::divDevRhoReffCustom ( volVectorField& U ) const { return divDevRhoReffCustom(U); } |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding new member function to GidaspowErgunWenYu.C of dragModel | kiang | OpenFOAM Programming & Development | 0 | June 21, 2017 06:23 |
conjugateHeatFoam + interFoam | farhagim | OpenFOAM Programming & Development | 15 | July 19, 2016 08:55 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
Adding a new member function to SingleStepCombustion | tatu | OpenFOAM Programming & Development | 1 | January 9, 2014 00:54 |
OpenFoam 14 installation problem | gfcoppola | OpenFOAM Installation | 20 | November 2, 2007 14:38 |