|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Mona
Join Date: Mar 2022
Posts: 5
Rep Power: 5 ![]() |
Hi, I have this error
no matching function for call to ‘Foam::dimensioned<double>::dimensioned(Foam::dime nsionSet&, double)’ dimensionedScalar(s_.dimensions(), 0.0) can anyone help me to fix it? |
|
|
|
|
|
|
|
|
#2 |
|
Member
Join Date: Jun 2019
Posts: 41
Rep Power: 8 ![]() |
Try to use myDimensionedVariable.value() instead of myDimensionedVariable.
__________________
« Debugging is what CFD is about. 5 minutes to modify your code, 5 months to find why it does not work anymore. » |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Mona
Join Date: Mar 2022
Posts: 5
Rep Power: 5 ![]() |
can you explain more please?
|
|
|
|
|
|
|
|
|
#4 |
|
Member
Join Date: Jun 2019
Posts: 41
Rep Power: 8 ![]() |
Can you post your code few lines above this error and few lines bellow ?
__________________
« Debugging is what CFD is about. 5 minutes to modify your code, 5 months to find why it does not work anymore. » |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Mona
Join Date: Mar 2022
Posts: 5
Rep Power: 5 ![]() |
I solved the problem.
|
|
|
|
|
|
![]() |
| Tags |
| dimensioned, dimensionedscalar |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 08:31 |
| Diverging solution in transonicMRFDyMFoam | tsalter | OpenFOAM Running, Solving & CFD | 30 | July 7, 2014 07:20 |
| compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 02:47 |
| Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
| REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |