示例#1
0
/// <summary>
        /// Returns the other material property data for aluminum materials.
        /// The function returns an error if the specified material is not aluminum.
        /// TODO: Handle this.
        /// </summary>
        /// <param name="name">The name of an existing aluminum material property.</param>
        /// <param name="aluminumType">The type of aluminum.</param>
        /// <param name="alloy">The Alloy designation for the aluminum, for example, 2014-T6 for wrought or 356.0-T7 for cast (mold or sand) aluminum.</param>
        /// <param name="Fcy">The compressive yield strength of aluminum. [F/L^2].</param>
        /// <param name="Fty">The tensile yield strength of aluminum. [F/L^2].</param>
        /// <param name="Ftu">The tensile ultimate strength of aluminum. [F/L^2].</param>
        /// <param name="Fsu">The shear ultimate strength of aluminum. [F/L^2].</param>
        /// <param name="stressStrainHysteresisType">The stress-strain hysteresis type.</param>
        /// <param name="temperature">This item applies only if the specified material has properties that are temperature dependent.
        /// That is, it applies only if properties are specified for the material at more than one temperature.
        /// This item is the temperature at which the specified data is to be retrieved.
        /// The temperature must have been previously defined for the material.</param>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
        public void FillAluminum(string name,
                                 ref eAluminumType aluminumType,
                                 ref string alloy,
                                 ref double Fcy,
                                 ref double Fty,
                                 ref double Ftu,
                                 ref double Fsu,
                                 ref eHysteresisType stressStrainHysteresisType,
                                 double temperature = 0)
        {
        }
示例#2
0
 /// <summary>
 /// Sets the other material property data for aluminum materials.
 /// </summary>
 /// <param name="name">The name of an existing aluminum material property.</param>
 /// <param name="aluminumType">The type of aluminum.</param>
 /// <param name="alloy">The Alloy designation for the aluminum, for example, 2014-T6 for wrought or 356.0-T7 for cast (mold or sand) aluminum.</param>
 /// <param name="Fcy">The compressive yield strength of aluminum. [F/L^2].</param>
 /// <param name="Fty">The tensile yield strength of aluminum. [F/L^2].</param>
 /// <param name="Ftu">The tensile ultimate strength of aluminum. [F/L^2].</param>
 /// <param name="Fsu">The shear ultimate strength of aluminum. [F/L^2].</param>
 /// <param name="stressStrainHysteresisType">The stress-strain hysteresis type.</param>
 /// <param name="temperature">This item applies only if the specified material has properties that are temperature dependent.
 /// That is, it applies only if properties are specified for the material at more than one temperature.
 /// This item is the temperature at which the specified data is to be retrieved.
 /// The temperature must have been previously defined for the material.</param>
 /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetAluminum(string name,
                         eAluminumType aluminumType,
                         string alloy,
                         double Fcy,
                         double Fty,
                         double Ftu,
                         double Fsu,
                         eHysteresisType stressStrainHysteresisType,
                         double temperature = 0)
 {
 }