Helmholtz testing (no decay bug)
This commit is contained in:
@@ -2,10 +2,10 @@ namespace FluidSim.Core
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
public const double Gamma = 1.4;
|
||||
public const double R_gas = 287.0; // J/(kg·K)
|
||||
public const double P_amb = 101325.0; // Pa
|
||||
public const double T_amb = 300.0; // K
|
||||
public static readonly double Rho_amb = P_amb / (R_gas * T_amb); // ≈ 1.177 kg/m³
|
||||
public const float Gamma = 1.4f;
|
||||
public const float R_gas = 287f;
|
||||
public const float P_amb = 101325f;
|
||||
public const float T_amb = 300f;
|
||||
public static readonly float Rho_amb = P_amb / (R_gas * T_amb);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user