CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Dimensioned scalar to double (

Christoph_84 February 9, 2011 10:10

Dimensioned scalar to double
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 ?

l_r_mcglashan February 9, 2011 10:16

dimensionedScalar has a member value() which will return a scalar (double/float)):

All times are GMT -4. The time now is 15:58.