|
[Sponsors] | |||||
<unresolved overloaded function type> - How to work with that |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 21 ![]() |
Dear Foamers,
I am trying to modify the incompressible realisableKE-Model. Therefore, I need to work with the function rCmu: Code:
volScalarField myVariable_ = 2 * pow(rCmu, 0.5) I tried converting rCmu into a volScalarField and work with this: Code:
volScalarField rCmu_ = this->rCmu; Code:
error: conversion from ‘<unresolved overloaded function type>’ to non-scalar type ‘Foam::volScalarField’ requested Regards Bastian |
|
|
|
|
|
|
|
|
#2 | |
|
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 41 ![]() ![]() |
Quote:
Code:
volScalarField myVariable_ = 2 * pow(rCmu(), 0.5); volScalarField myVariable_ = 2 * sqrt(rCmu()); Code:
volScalarField myVariable_ = 2 * pow(rCmu()(), 0.5) volScalarField myVariable_ = 2 * sqrt(rCmu()()); |
||
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
| Elements that limit the Courant number | skabilan | OpenFOAM Running, Solving & CFD | 9 | July 3, 2008 13:07 |
| Installation of OF141dev on redhatEL 64bits problems with Allmake | young | OpenFOAM Installation | 3 | May 1, 2008 01:42 |
| work function | xqyuen | Phoenics | 0 | September 5, 2003 05:22 |
| How does STEP function work in CEL setup in CFX5.5 | joseph | CFX | 1 | April 6, 2002 00:06 |