|
[Sponsors] |
<unresolved overloaded function type> - How to work with that |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 13, 2010, 05:57 |
<unresolved overloaded function type> - How to work with that
|
#1 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
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 |
|
April 14, 2010, 03:57 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
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()()); |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 15:45 |
Elements that limit the Courant number | skabilan | OpenFOAM Running, Solving & CFD | 9 | July 3, 2008 12:07 |
Installation of OF141dev on redhatEL 64bits problems with Allmake | young | OpenFOAM Installation | 3 | May 1, 2008 00:42 |
work function | xqyuen | Phoenics | 0 | September 5, 2003 04:22 |
How does STEP function work in CEL setup in CFX5.5 | joseph | CFX | 1 | April 5, 2002 23:06 |