Last change
on this file since 747 was
716,
checked in by rwordsworth, 12 years ago
|
Mainly updates to radiative transfer and gas management scheme.
Most CIA data now read from standard HITRAN datafiles. For the H2O
continuum, two options have been added: the standard CKD continuum,
and the empirical formula in PPC (Pierrehumbert 2010). Use the toggle
'H2Ocont_simple' in callphys.def to choose.
Note to Martians: I've changed the default values of 'sedimentation' and
'co2cond' in inifis to false. Both these are defined in the standard deftank
callphys.def file, so there shouldn't be any compatibility problems.
|
-
Property svn:executable set to
*
|
File size:
627 bytes
|
Line | |
---|
1 | double precision function cp_neutral(T) |
---|
2 | |
---|
3 | use gases_h |
---|
4 | |
---|
5 | implicit none |
---|
6 | |
---|
7 | ! inputs |
---|
8 | double precision T |
---|
9 | |
---|
10 | |
---|
11 | ! this function has been disabled in gradients_kcm.F90 because it dont |
---|
12 | ! work if you have gaseous mixtures. need to decide whether to generalise |
---|
13 | ! it or simply remove entirely... |
---|
14 | |
---|
15 | ! Cp_n : cf CO2 dans abe&matsui (1988) |
---|
16 | !cp_neutral = (22.26+5.981d-2*T-3.501d-5*T**2+7.469d-9*T**3)/m_n |
---|
17 | |
---|
18 | if(gnom(1).eq.'N2_')then |
---|
19 | cp_neutral = 1040.0 |
---|
20 | elseif(gnom(1).eq.'H2_')then |
---|
21 | cp_neutral = 14310.0 |
---|
22 | else |
---|
23 | print*,'Gas not recognised in cp_neutral!' |
---|
24 | call abort |
---|
25 | endif |
---|
26 | |
---|
27 | |
---|
28 | end function cp_neutral |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.