示例#1
0
        public static double GetCp(string foodName, double massConcentration, double temperature)
        {
            double cp = 0.0;

            if (foodName == "Milk")
            {
                cp = MilkPropCalculator.GetCp(massConcentration, temperature);
            }
            return(cp);
        }
示例#2
0
        public static double GetDensity(string foodName, double massConcentration, double temperature)
        {
            double density = 0;

            if (foodName == "Milk")
            {
                density = MilkPropCalculator.GetDensity(massConcentration, temperature, MilkType.WholeMilk);
            }

            return(density);
        }
示例#3
0
        public static double GetThermalConductivity(string foodName, double massConcentration, double temperature)
        {
            double thermalCond = 0.0;

            if (foodName == "Milk")
            {
                thermalCond = MilkPropCalculator.GetThermalCond(massConcentration, temperature);
            }

            return(thermalCond);
        }