Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }