|
[Sponsors] |
error: ‘class Foam::isoAdvection’ has no member named ‘getRhoCpPhi’ |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 15, 2021, 08:06 |
error: ‘class Foam::isoAdvection’ has no member named ‘getRhoCpPhi’
|
#1 | |
New Member
Kumar Pushpak
Join Date: Apr 2019
Posts: 9
Rep Power: 7 |
I am trying to add energy equation in the solver InterIsoFoam. The in-built solver calculates rhoPhi as
Code:
rhoPhi = advector.getRhoPhi(rho1f, rho2f); Since Energy equation is also added so i am trying to calculate rhoCpPhi as Code:
rhoCpPhi = advector.getRhoCpPhi(rho1f, rho2f); Code:
// Return Heat flux tmp<surfaceScalarField> getRhoCpPhi ( const dimensionedScalar rho1, const dimensionedScalar rho2, const dimensionedScalar cp1, const dimensionedScalar cp2 ) const { return tmp<surfaceScalarField> ( new surfaceScalarField ( "rhoCpPhi", (rho1*cp1 - rho2*cp2)*dVf_/mesh_.time().deltaT() + cp2*rho2*phi_ ) ); } The library gets compiled but while compiling the solver, it displays: Quote:
|
||
Tags |
interisofoam, isoadvector |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 06:37 |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 14:48 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |