cPropMaterialGetOConcrete Method |
(NEWER FUNCTION AVAILABLE)
Retrieves the other material property data for concrete materials.
Namespace:
ETABS2016
Assembly:
ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntaxint GetOConcrete(
string Name,
ref double Fc,
ref bool IsLightweight,
ref double FcsFactor,
ref int SSType,
ref int SSHysType,
ref double StrainAtFc,
ref double StrainUltimate,
ref double FrictionAngle,
ref double DilatationalAngle,
double Temp = 0
)
Function GetOConcrete (
Name As String,
ByRef Fc As Double,
ByRef IsLightweight As Boolean,
ByRef FcsFactor As Double,
ByRef SSType As Integer,
ByRef SSHysType As Integer,
ByRef StrainAtFc As Double,
ByRef StrainUltimate As Double,
ByRef FrictionAngle As Double,
ByRef DilatationalAngle As Double,
Optional Temp As Double = 0
) As Integer
int GetOConcrete(
String^ Name,
double% Fc,
bool% IsLightweight,
double% FcsFactor,
int% SSType,
int% SSHysType,
double% StrainAtFc,
double% StrainUltimate,
double% FrictionAngle,
double% DilatationalAngle,
double Temp = 0
)
abstract GetOConcrete :
Name : string *
Fc : float byref *
IsLightweight : bool byref *
FcsFactor : float byref *
SSType : int byref *
SSHysType : int byref *
StrainAtFc : float byref *
StrainUltimate : float byref *
FrictionAngle : float byref *
DilatationalAngle : float byref *
?Temp : float
(* Defaults:
let _Temp = defaultArg Temp 0
*)
-> int
Parameters
- Name
- Type: SystemString
The name of an existing concrete material property. - Fc
- Type: SystemDouble
- IsLightweight
- Type: SystemBoolean
If this item is True, the concrete is assumed to be lightweight concrete. - FcsFactor
- Type: SystemDouble
- SSType
- Type: SystemInt32
This is 0, 1 or 2, indicating the stress-strain hysteresis type.
Value | SSType |
---|
0 | User defined |
1 | Parametric - Simple |
2 | Parametric - Mander |
- SSHysType
- Type: SystemInt32
This is 0 through 7, indicating the stress-strain curve type.
Value | SSHysType |
---|
0 | Elastic |
1 | Kinematic |
2 | Takeda |
3 | Pivot |
4 | Concrete |
5 | BRB Hardening |
6 | Degrading |
7 | Isotropic |
- StrainAtFc
- Type: SystemDouble
- StrainUltimate
- Type: SystemDouble
This item applies only to parametric stress-strain curves.
It is the ultimate unconfined strain capacity. This item must be larger than
the StrainAtfc item - FrictionAngle
- Type: SystemDouble
The Drucker-Prager friction angle.
This item must be smaller or equal to 0 and less than 90. [deg] - DilatationalAngle
- Type: SystemDouble
The Drucker-Prager dilatational angle.
This item must be smaller or equal to 0 and less than 90. [deg] - Temp (Optional)
- Type: SystemDouble
The temperature at which the specified data is to be retrieved.
The temperature must have been defined previously for the material.
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.
Return Value
Type:
Int32Returns zero if the data is successfully retrieved; otherwise it returns a nonzero value.
Remarks
ExamplesPublic Sub Example()
Dim SapModel As cSapModel
Dim EtabsObject As cOAPI
Dim ret As Integer = -1
Dim fc As Double
Dim IsLightweight As Boolean
Dim fcsfactor As Double
Dim SSType As Integer
Dim SSHysType As Integer
Dim StrainAtfc As Double
Dim StrainUltimate As Double
Dim FrictionAngle As Double
Dim DilatationalAngle As Double
EtabsObject = CreateObject("CSI.ETABS.API.ETABSObject")
ret = EtabsObject.ApplicationStart()
SapModel = EtabsObject.SapModel
ret = SapModel.InitializeNewModel()
ret = SapModel.File.NewSteelDeck(4,12,12,4,4,24,24)
ret = SapModel.PropMaterial.SetMaterial("Concrete", eMatType.Concrete)
ret = SapModel.PropMaterial.SetOConcrete("Concrete", 5, False, 0, 1, 2, 0.0022, 0.0052)
ret = SapModel.PropMaterial.GetOConcrete("Concrete", fc, IsLightweight, fcsfactor, SSType, SSHysType, StrainAtfc, StrainUltimate, FrictionAngle, DilatationalAngle)
EtabsObject.ApplicationExit(False)
SapModel = Nothing
EtabsObject = Nothing
End Sub
See Also