From 57b4ce96e4366483c3de4fc01987004c154dc1e8 Mon Sep 17 00:00:00 2001 From: Eric van den Berg Date: Sun, 17 Feb 2013 16:44:47 +0100 Subject: [PATCH] added physical constant cp --- simgear/constants.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/simgear/constants.h b/simgear/constants.h index a1bb71cf..8a939907 100644 --- a/simgear/constants.h +++ b/simgear/constants.h @@ -1,7 +1,7 @@ // constants.h -- various constant definitions // // Written by Curtis Olson, started February 2000. -// Last change by Eric van den Berg, Dec 2012 +// Last change by Eric van den Berg, Feb 2013 // // Copyright (C) 2000 Curtis L. Olson - http://www.flightgear.org/~curt/ // @@ -122,6 +122,9 @@ const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI; /**specific gas constant of air*/ #define SG_R_m2_p_s2_p_K 287.05 // m2/s2/K +/**specific heat constant at constant pressure*/ +#define SG_cp_m2_p_s2_p_K 1004.68 // m2/s2/K + /**ratio of specific heats of air*/ #define SG_gamma 1.4 // =cp/cv (cp = 1004.68 m2/s2 K , cv = 717.63 m2/s2 K)