|
[Sponsors] |
July 13, 2021, 13:36 |
error: no matching function for call to
|
#1 | |
New Member
Skanda
Join Date: Feb 2021
Posts: 11
Rep Power: 5 |
Hello Forum,
I have been learning OpenFOAM and c++ for a couple of months now and I am trying to make a Variable Resolution PANS turbulence model for the SST model. Once I compile the code I get an error stating that Quote:
The code is, Code:
template<class BasicTurbulenceModel> tmp<volScalarField::Internal> kOmegaSSTPANS<BasicTurbulenceModel>::PTr(const volScalarField& Lambda) { const surfaceScalarField& alphaRhoPhi = this->alphaRhoPhi_; return (kU_/fK_) * ((fvc::ddt(fK(Lambda)) + fvc::div(alphaRhoPhi, fK_))); } and Lambda is Code:
volScalarField Lambda ( max ( sqrt(kU_)/(betaStar_.value()*omegaU_), dimensionedScalar ( "1.0e-10", sqrt(kU_.dimensions())/omegaU_.dimensions(), 1.0e-10 ) ) ); I do not get it, I have declared everything and still it states there is no matching function to call. If anyone can help me that would be really great. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |
Elements that limit the Courant number | skabilan | OpenFOAM Running, Solving & CFD | 9 | July 3, 2008 13:07 |