コード例 #1
0
        public override void ComponentsFractionsChanged()
        {
            Phase             gasPhase = this.phases[0] as Phase;
            MaterialComponent sc       = gasPhase[0];

            sc.SetMassFractionValue(this.DryMedium.GetMassFractionValue());
            sc = gasPhase[1];
            sc.SetMassFractionValue(this.Moisture.GetMassFractionValue());
            gasPhase.Normalize();
            //gasPhase.CalculateThermalProperties(temperature, pressure);
        }