forked from jhamman/DHSVM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CalcKhDry.c
executable file
·46 lines (36 loc) · 1.48 KB
/
CalcKhDry.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* SUMMARY: CalcKhDry.c - Calculate thermal conductivity
* USAGE: Part of DHSVM
*
* AUTHOR: Bart Nijssen
* ORG: University of Washington, Department of Civil Engineering
* E-MAIL: [email protected]
* ORIG-DATE: Apr-96
* DESCRIPTION: This function calculates the thermal conductivity of a soil
* under dry conditions, KhDry, based on the soil density.
* DESCRIP-END.
* FUNCTIONS: CalcKhDry()
* COMMENTS:
* $Id: CalcKhDry.c,v 1.4 2003/07/01 21:26:10 olivier Exp $
*/
#include "settings.h"
#include "functions.h"
/*****************************************************************************
Function name: CalcKhDry()
Purpose : This function calculates the thermal conductivity of a soil
under dry conditions, KhDry, based on the soil density. This
is an empirical relationship which supposedly is accurate to
within 20% [Farouki, 1986; section 3.3.2].
Required :
float Density - Soil bulk density in kg/m3
Returns : KhDry - Soil thermal conductivity
Modifies : NA
Comments : Source: Farouki, O. T., 1986, Thermal properties of soils,
Trans Tech Publications
*****************************************************************************/
float CalcKhDry(float Density)
{
float KhDry; /* Dry soil thermal conductivity (W/(m*K)) */
KhDry = (0.135 * Density + 64.7) / (2700 - 0.947 * Density);
return KhDry;
}