|
[Sponsors] |
February 9, 2011, 10:10 |
Dimensioned scalar to double
|
#1 |
Member
Join Date: Nov 2009
Posts: 34
Rep Power: 17 |
Hi I’m working on a drying model based on the Antoine Equation. For the Antoine Equation and the description of the evaporation energy it is better to work with double.
How can I convert a dimensioned scalar to double ? |
|
February 9, 2011, 10:16 |
|
#2 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
dimensionedScalar has a member value() which will return a scalar (double/float)):
http://foam.sourceforge.net/docs/cpp...imensioned.php
__________________
Laurence R. McGlashan :: Website |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Continuing User Defined Real Gas Model issues | aeroman | FLUENT | 6 | April 8, 2016 04:34 |
New densitybased solver AeroFoam | giulio_romanelli | OpenFOAM Running, Solving & CFD | 48 | January 15, 2016 09:20 |
Parallel User Defined Real Gas Model | aeroman | FLUENT | 4 | July 1, 2015 07:09 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |