The BioCro C++ Library
rasmussen_specific_heat.h File Reference
#include "../framework/module.h"
#include "../framework/state_map.h"
+ Include dependency graph for rasmussen_specific_heat.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rasmussen_specific_heat
 Determines the specific heat capacity of atmospheric air at constant pressure using the rasmussen_specific_heat_of_air() function. More...
 

Namespaces

namespace  standardBML
 This is the standard BioCro module library; it includes the essential modules used in typical BioCro crop growth simulations.
 

Functions

double rasmussen_specific_heat_of_air (double air_temperature, double mole_fraction_h2o)
 Calculates the specific heat capacity of air at contant pressure from its temperature and moisture content using the method from Rasmussen (1997). More...
 

Function Documentation

◆ rasmussen_specific_heat_of_air()

double rasmussen_specific_heat_of_air ( double  air_temperature,
double  mole_fraction_h2o 
)

Calculates the specific heat capacity of air at contant pressure from its temperature and moisture content using the method from Rasmussen (1997).

Parameters
[in]air_temperatureTemeperature of the air in K
[in]mole_fraction_h2oWater vapor concentration in the air expressed as a dimensionless mole fraction
Returns
Specific heat capacity of air at contant pressure in J / kg / K

Here we use the polynomial equation for specific heat capacity of air at constant pressure (C_p) defined on pages 13 & 15. Note that the equation, as given, calculates C_p in units of cal / g / K. In the code, the polynomial coefficients are multiplied by a conversion factor so the output is in coherent SI units (J / kg / K).

Source: [Rasmussen, K. "Calculation methods for the physical properties of air used in the calibration of microphones." (1997)] (https://orbit.dtu.dk/en/publications/calculation-methods-for-the-physical-properties-of-air-used-in-th)

Definition at line 8 of file rasmussen_specific_heat.cpp.