Syntax
array set mat [ABAMATERIAL matid GET]
Description
Query the material data.
Argument |
Dimension |
Meaning |
matid |
OBJID |
Object-ID of material |
GET |
KEYWORD |
Query data |
Return array for [ABAMATERIAL matid GET]
Array item |
Dimension |
Meaning |
error |
INT |
Error code |
info |
TEXT |
Object or error information |
id |
OBJID |
Object-ID of material |
name |
TEXT |
Material name |
bpmat |
GUID |
Bimplus-reference |
number |
INT |
Material number > 0 |
E |
EMOD |
E-modulus |
G |
EMOD |
G-modulus |
alphat |
1/TEMP |
Temperatur expansion |
ny |
DOUBLE |
Poisson’s ratio |
gamma |
GAMMA |
Specific weight |
filter |
ENUM |
Material filter from {"UNKNOWN", "CONCRETE", "STEEL", "RSTEEL", "PSTEEL"} |
|
|
filter="CONCRETE": |
gcement |
GAMMA |
Specific weight of the cement |
gsilicate |
GAMMA |
Specific weight of the silicate |
cementclass |
DOUBLE |
Cement class (1.0-3.0) |
caggregate |
ENUM |
Aggregate type from { "NONE", "QUARTZITE", "LIMESTONE", "SANDSTONE", "BASALT" } |
fck |
STRESS |
Cylindrical strength of the concrete (28 days) |
fcuk |
STRESS |
Cubic compressive strength (28 days) |
fcm |
STRESS |
Mean compressive strength (28 days) |
fctm |
STRESS |
Mean tensile strength (28 days) |
fcprime |
STRESS |
Compressive strength by design |
fr |
STRESS |
Fracture resistance |
ft |
STRESS |
Direct tensile strength |
ags |
LSMALL |
Aggregate size |
curing |
ENUM |
Curing according to Korean standard KBDC(1-2) or AASHTO(3-5) from {"NONE", "WET", "STEAM", "AA_STEAM", "AA_WET", "AA_SEALED"} |
eps_cu |
DOUBLE |
Yield limit for failure under pressure |
|
|
filter="RSTEEL": |
fyk |
STRESS |
Characteristic yield strength |
fy |
STRESS |
Specified minimum expansion limit |
reinfclass |
ENUM |
Class of reinforcement steel from {"NONE", "CLASSA", "CLASSB", "CLASSC"} |
barsurf |
ENUM |
Bar surface from {"NONE", "SMOOTH", "RIBBED"} |
|
|
filter="PSTEEL": |
fpk |
STRESS |
Characteristic tensile strength |
fp01k |
STRESS |
Characteristic 0.1% proof stress |
fpy |
STRESS |
Yield strength |
fpu |
STRESS |
Specified tensile strength |
eps_ud |
DOUBLE |
Design limit of the strain |
eps_uk |
DOUBLE |
Characteristic strain at maximum load |
eps_pu |
DOUBLE |
Failure strain in tension |
eps_tl |
DOUBLE |
Tension controlled yield strength |
eps_cl |
DOUBLE |
Compression controlled yield point |
sigpmax |
STRESS |
Maximum allowable stress in tendon |
relaxclass |
INT |
Relaxation class for prestressing steel |
surfchar |
ENUM |
Surface characteristics from {"NONE", "PLAIN", "INDENTED", "RIBBED"} |
nwires |
INT |
Number of strands |
pstype |
ENUM |
Pre-stressing type {"NONE", "WIRE", "STRAND", "BAR"} |
dia |
LSMALL |
Diameter |
db |
LSMALL |
Nominal diameter |
ap |
ASTRAND |
Area of individual strand |
tensclass |
ENUM |
Classification of stressing methods from {"NONE", "ONETIME", "SUPER"} |
Scopes
All
Examples
# units
array set uc [ABMUNIT LCROSSD GET]
array set uf [ABMUNIT FORCE GET]
array set um [ABMUNIT MOMENT GET]
array set ut [ABMUNIT TEMP GET]
array set uE [ABMUNIT EMOD GET]
array set ug [ABMUNIT GAMMA GET]
array set us [ABMUNIT STRESS GET]
array set ul [ABMUNIT LSMALL GET]
array set ua [ABMUNIT ASTRAND GET]
array set uat [ABMUNIT TEMP GET POWER -1]
array set uc2 [ABMUNIT LCROSSD GET POWER 2]
array set uc4 [ABMUNIT LCROSSD GET POWER 4]
# list of sections
array set mats [ABAMATERIALS GET LIST]
# section data
# material data
set ID $mats(first)
for { set imat 0 } { $imat < $mats(count) } { incr imat } {
if { $imat > 0 } { set ID [OBJNEXT $ID] }
array unset mat
array set mat [ABAMATERIAL $ID GET]
puts $outfile ""
puts $outfile [format " Material Name : %s" $mat(name) ]
puts $outfile [format " Global Number : %d" $mat(number) ]
puts $outfile [format " Filter : %s" $mat(filter) ]
puts $outfile [format " Bimplus Reference : %s" $mat(bpmat) ]
puts $outfile " ---------------------------------------------"
puts $outfile [format " Elastic modulus E : %15.6e%s" $mat(E) $uE(symb) ]
puts $outfile [format " Shear modulus G : %15.6e%s" $mat(G) $uE(symb) ]
puts $outfile [format " Thermal expansion coefficient Alpha-T: %15.6e%s" $mat(alphat) $uat(symb)]
puts $outfile [format " Poisson's ratio Ny : %9.4f" $mat(ny) ]
puts $outfile [format " Specific weight Gamma : %15.6e%s" $mat(gamma) $ug(symb) ]
puts $outfile ""
switch $mat(filter) {
"CONCRETE" {
puts $outfile [format " Specific weight, Gamma Cement : %15.6e%s" $mat(gcement) $ug(symb) ]
puts $outfile [format " Specific weight, Gamma Silicate : %15.6e%s" $mat(gsilicate) $ug(symb) ]
puts $outfile [format " Cement Class : %6.1f" $mat(cementclass) ]
puts $outfile [format " Concrete Aggregate : %s" $mat(caggregate) ]
puts $outfile [format " Concrete cylinder strength (28 days) Fck : %15.6e%s" $mat(fck) $us(symb) ]
puts $outfile [format " Cubic compressive strength (28 days) Fcuk : %15.6e%s" $mat(fcuk) $us(symb) ]
puts $outfile [format " Mean compressive strength (28 days) Fcm : %15.6e%s" $mat(fcm) $us(symb) ]
puts $outfile [format " Mean tensile strength (28 days) Fctm : %15.6e%s" $mat(fctm) $us(symb) ]
puts $outfile [format " Compressive strength design Fc' : %15.6e%s" $mat(fcprime) $us(symb) ]
puts $outfile [format " Modulus of rupture Fr : %15.6e%s" $mat(fr) $us(symb) ]
puts $outfile [format " Direct tensile strength Ft : %15.6e%s" $mat(ft) $us(symb) ]
puts $outfile [format " Aggregate size : %9.4f%s" $mat(ags) $ul(symb) ]
puts $outfile [format " Curing for Korean KBDC(1-2) and AASHTO(3-5) : %s" $mat(curing) ]
puts $outfile [format " Failure strain in compression Eps_cu : %10.5f" $mat(eps_cu) ]
}
"PSTEEL" {
puts $outfile [format " Characteristic tensile strength Fpk : %15.6e%s" $mat(fpk) $us(symb) ]
puts $outfile [format " Characteristic 0.1%% proof stress Fp01k : %15.6e%s" $mat(fp01k) $us(symb) ]
puts $outfile [format " Yield strength Fpy : %15.6e%s" $mat(fpy) $us(symb) ]
puts $outfile [format " Specified tensile strength Fpu : %15.6e%s" $mat(fpu) $us(symb) ]
puts $outfile [format " Design strain limit Eps_ud : %10.5f" $mat(eps_ud) ]
puts $outfile [format " Characteristic strain at max. load Eps_uk : %10.5f" $mat(eps_uk) ]
puts $outfile [format " Failure strain in tension Eps_pu : %10.5f" $mat(eps_pu) ]
puts $outfile [format " Tension controlled strain limit Eps_tl : %10.5f" $mat(eps_tl) ]
puts $outfile [format " Compression controlled strain limit Eps_cl : %10.5f" $mat(eps_cl) ]
puts $outfile [format " Maximum allowable stress in tendon Sig-pm0: %15.6e%s" $mat(sigpmax) $us(symb) ]
puts $outfile [format " Prestressing steel relaxation class : %4d" $mat(relaxclass) ]
puts $outfile [format " Surface characteristics : %s" $mat(surfchar) ]
puts $outfile [format " Number of wires : %4d" $mat(nwires) ]
puts $outfile [format " Type of pre-stressing : %s" $mat(pstype) ]
puts $outfile [format " Diameter : %9.4f%s" $mat(dia) $ul(symb) ]
puts $outfile [format " Nominal diameter : %9.4f%s" $mat(db) $ul(symb) ]
puts $outfile [format " Steel area of single strand : %9.4f%s" $mat(ap) $ua(symb) ]
puts $outfile [format " Tensioning method classification : %s" $mat(tensclass) ]
}
"RSTEEL" {
puts $outfile [format " Characteristic yield strength Fyk : %15.6e%s" $mat(fyk) $us(symb) ]
puts $outfile [format " Specified minimum yield strength Fy : %15.6e%s" $mat(fy) $us(symb) ]
puts $outfile [format " Reinforcement steel class : %s" $mat(reinfclass) ]
puts $outfile [format " Bar Surface : %s" $mat(barsurf) ]
}
default {}
}
puts $outfile " --------------------------------------------------------------------"
}
The list of materials is queried. The list is run through in a for-loop and the data of the respective material is queried.
It is assumed that a text file outfile has been opened for writing . The result data is written formatted into the text file.
The output is project-dependent and can look like the following, for example:
....
Material Name : C40/50
Global Number : 2
Filter : CONCRETE
Bimplus Reference :
---------------------------------------------
Elastic modulus E : 3.520000e+04[N/mm²]
Shear modulus G : 1.466670e+04[N/mm²]
Thermal expansion coefficient Alpha-T: 1.000000e-05[1/°C]
Poisson's ratio Ny : 0.2000
Specific weight Gamma : 2.451660e+01[kN/m³]
Specific weight, Gamma Cement : 0.000000e+00[kN/m³]
Specific weight, Gamma Silicate : 0.000000e+00[kN/m³]
Cement Class : 1.0
Concrete Aggregate : QUARTZITE
Concrete cylinder strength (28 days) Fck : 4.000000e+01[N/mm²]
Cubic compressive strength (28 days) Fcuk : 0.000000e+00[N/mm²]
Mean compressive strength (28 days) Fcm : 4.800000e+01[N/mm²]
Mean tensile strength (28 days) Fctm : 3.500000e+00[N/mm²]
Compressive strength design Fc' : 0.000000e+00[N/mm²]
Modulus of rupture Fr : 0.000000e+00[N/mm²]
Direct tensile strength Ft : 0.000000e+00[N/mm²]
Aggregate size : 10.0000[mm]
Curing for Korean KBDC(1-2) and AASHTO(3-5) : NONE
Failure strain in compression Eps_cu : 0.00000
--------------------------------------------------------------------
Material Name : Y1860S7-15,2
Global Number : 3
Filter : PSTEEL
Bimplus Reference :
---------------------------------------------
Elastic modulus E : 1.950000e+05[N/mm²]
Shear modulus G : 8.478260e+04[N/mm²]
Thermal expansion coefficient Alpha-T: 1.000000e-05[1/°C]
Poisson's ratio Ny : 0.1500
Specific weight Gamma : 7.698220e+01[kN/m³]
Characteristic tensile strength Fpk : 1.860000e+03[N/mm²]
Characteristic 0.1% proof stress Fp01k : 1.640000e+03[N/mm²]
Yield strength Fpy : 0.000000e+00[N/mm²]
Specified tensile strength Fpu : 0.000000e+00[N/mm²]
Design strain limit Eps_ud : 0.02800
Characteristic strain at max. load Eps_uk : 0.03500
Failure strain in tension Eps_pu : 0.00000
Tension controlled strain limit Eps_tl : 0.00000
Compression controlled strain limit Eps_cl : 0.00000
Maximum allowable stress in tendon Sig-pm0: 1.394000e+03[N/mm²]
Prestressing steel relaxation class : 2
Surface characteristics : PLAIN
Number of wires : 7
Type of pre-stressing : WIRE
Diameter : 15.2000[mm]
Nominal diameter : 0.0000[mm]
Steel area of single strand : 0.0000[mm²]
Tensioning method classification : NONE
--------------------------------------------------------------------
Material Name : B 500B
Global Number : 4
Filter : RSTEEL
Bimplus Reference :
---------------------------------------------
Elastic modulus E : 2.000000e+05[N/mm²]
Shear modulus G : 8.333330e+04[N/mm²]
Thermal expansion coefficient Alpha-T: 1.000000e-05[1/°C]
Poisson's ratio Ny : 0.2000
Specific weight Gamma : 7.698220e+01[kN/m³]
Characteristic yield strength Fyk : 5.000000e+02[N/mm²]
Specified minimum yield strength Fy : 0.000000e+00[N/mm²]
Reinforcement steel class : CLASSB
Bar Surface : RIBBED
--------------------------------------------------------------------
....
Output for script above.
|
(C) ALLPLAN GmbH |
Privacy policy |