Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DegreeOfSaturation"/> class.
        /// </summary>
        /// <param name="waterVolume">V_w in S=V_w/V_v.</param>
        /// <param name="voidVolume">V_v in S=V_w/V_v.</param>
        public DegreeOfSaturation(WaterVolume waterVolume, VolumeOfVoids voidVolume)
        {
            this.Symbol = "S";
            var converted = BaseVolumeScalar.ConvertToUnits(waterVolume, voidVolume.UnitOfMeasure);

            this.NumericValue = converted.NumericValue / voidVolume.NumericValue;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="VoidRatio"/> class.
        /// </summary>
        /// <param name="voidVolume">V_v in e=V_v/V_s.</param>
        /// <param name="solidVolume">V_s in e=V_v/V_s.</param>
        public VoidRatio(VolumeOfVoids voidVolume, VolumeOfSolidMatter solidVolume)
        {
            this.Symbol = "e";
            var converted = BaseVolumeScalar.ConvertToUnits(voidVolume, solidVolume.UnitOfMeasure);

            this.NumericValue = converted.NumericValue / solidVolume.NumericValue;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Porosity"/> class.
        /// </summary>
        /// <param name="voidVolume">V_v in n=V_v/V.</param>
        /// <param name="totalVolume">V in n=V_v/V.</param>
        public Porosity(VolumeOfVoids voidVolume, TotalVolume totalVolume)
        {
            this.Symbol = "n";
            var converted = BaseVolumeScalar.ConvertToUnits(voidVolume, totalVolume.UnitOfMeasure);

            this.NumericValue = converted.NumericValue / totalVolume.NumericValue;
        }