Esempio n. 1
0
 public override float GetHeatTransferCoefficientToOtherThermalMaterial(ThermalMaterial otherThermalMaterial, float temperatureDifference)
 {
     if (otherThermalMaterial == InsideAir)
     {
         return(1500f);
     }
     else
     {
         return(0f);
     }
 }
Esempio n. 2
0
            public override float ThermalConductivity => 10f;    //0.025f; //at 20°C and 101,3kPa

            public override float GetHeatTransferCoefficientToOtherThermalMaterial(ThermalMaterial otherThermalMaterial, float temperatureDifference)
            {
                uint id = otherThermalMaterial.ID;

                if (id < HeatTransferCoefficients.Length)
                {
                    return(HeatTransferCoefficients[id]);
                }
                else
                {
                    return(0f);
                }
            }
Esempio n. 3
0
 /// <summary>
 /// Gets the heat transfer coefficient from this <see cref="ThermalMaterial"/> to another <see cref="ThermalMaterial"/>.
 /// </summary>
 /// <param name="otherThermalMaterial">
 /// The other <see cref="ThermalMaterial"/> that is involved in the heat transfer to get the heat transfer coefficient for.
 /// </param>
 /// <returns>
 /// The heat transfer coefficient from this <see cref="ThermalMaterial"/> to <paramref name="otherThermalMaterial"/> in W/(m²·K).
 /// </returns>
 public abstract float GetHeatTransferCoefficientToOtherThermalMaterial(ThermalMaterial otherThermalMaterial, float temperatureDifference);