Skip to content

Material Database โ€‹

The material database turns a standard grade name into a consistent elastic material, so you do not have to type E, G, ฮฝ and ฯ by hand and get them to agree.

๐Ÿ”ง Grasshopper component โ€‹

Material Library ElasticAlpaca4d โ–ธ 00_Material
Material Library Elastic component
Inputs
NameMaterial NameText(empty)Type a grade name directly, e.g. S235.
Overrides the dropdowns and moves them to match. An unknown name is an error, not a fallback.
DBPathDatabasePathGeneric(empty)Path to a custom JSON database with the same schema as the built-in ones.
Its type is merged into the Type dropdown, and takes priority over a built-in type of the same name.
ColourColour(empty)The colour the material is drawn in when Model View colours the elements by material โ€” every grade of the list, with Grade set to All.
Left empty, Model View gives each material a colour of its own. Display only: the analysis never reads it.
Outputs
MaterialMaterialA Uniaxial material when Model = Uniaxial, an nD ElasticIsotropic material when Model = nD.
With Grade set to All, a list of them, one per grade.

Options โ€‹

Three dropdowns live on the component body, under the Library menu:

DropdownValuesDefault
TypeSteel, Concrete, Timber, Plastic, Reinforcement โ€” plus any type found in a custom databaseSteel
GradeAll, then the grades of the selected typeS235
ModelUniaxial or nDUniaxial

Set Grade to All for every grade of the type as a list, in the order the database lists them โ€” weakest first for steel, S235 to S450. Pick from it with List Item and a slider to let an optimisation choose the grade. Connect a Panel to the output to read the list: each material shows as its name.

Built-in grades:

TypeGrades
SteelS235, S275, S355, S450
ConcreteC12_15 to C90_105 (EN 1992-1-1 Table 3.1), and C28_35 and C32_40
TimberGOB_Green_Oak; C14 to C50 and D30 to D70 (EN 338:2016); GL20h to GL32h and GL20c to GL32c (EN 14080)
PlasticPVC, HDPE, PE, PP, PS, PET, PC, PLA, PVA, PTFE, PEEK, PVDF
ReinforcementB400A, B400B, B400C, B450A, B450C, B500A, B500B, B500C, B550B (EN 1992-1-1 3.2 and Annex C)

๐Ÿ’ก How the properties are derived โ€‹

Each database entry stores E and G in MPa and rho in kg/mยณ. The component:

  1. Converts E and G to kN/mยฒ by ร—1000.
  2. Derives Poisson's ratio from the pair, ฮฝ = E/(2G) โˆ’ 1, clamped to [0, 0.4999].
  3. Recomputes G = E / (2(1+ฮฝ)) so the triple is internally consistent.
  4. Passes rho through unchanged.

The grade name becomes the material name.

๐Ÿ’ก Design grade โ€‹

For a steel grade the material also carries its design grade โ€” fy and fu from EN 1993-1-1 Table 3.1, including the lower values for plates thicker than 40 mm โ€” which Utilisation checks the beam against. A timber class carries its characteristic strengths and stiffnesses โ€” fm,k, ft,0,k, fc,0,k, fv,k, E0,05, Gmean, ฯk โ€” for the EN 1995-1-1 check, and whether it is solid timber or glulam. The solver never sees either. Only the Uniaxial model carries one, since that is what beams are made of.

The timber classes follow EN 338:2016 (solid timber) and EN 14080 (glulam). The analysis takes E_mean as E; E0_05, the strengths and, for glulam, G_05 are for the check alone.

A concrete carries its class of EN 1992-1-1 Table 3.1, from its name โ€” C30_37 is C30/37 โ€” and a reinforcement its fyk, k and ฮตuk: what a Concrete Section takes as its Concrete and Steel. Reinforcement is Es=200ย GPa (3.2.7(4)) and 7 850 kg/mยณ. The built-in concretes take Table 3.1's Ecm as E โ€” C30/37 33 GPa โ€” with ฮฝ=0.2 (3.1.3(4)), so G=E/2.4, and 2 500 kg/mยณ: the same stiffness a Concrete Section given the class as text, C30/37, has. C28_35 and C32_40, which national annexes add, are worked out from the expressions under the table, rounded as it rounds.

๐Ÿ’ก Custom databases โ€‹

A custom database is a JSON object keyed by grade name. The built-in steel file looks like this:

json
{
  "S235": {
    "rho": 7850,
    "E": 210000,
    "G": 80769,
    "fy": 235,
    "fu": 360,
    "fy_40_80": 215,
    "fu_40_80": 360,
    "epsilon_yield": 0.015,
    "epsilon_max_Stress": 0.11,
    "strainAtRupture": 0.17,
    "material_type": "Steel"
  }
}

E, G, rho and material_type make the elastic material. material_type is what the Type dropdown lists, so give every entry in one file the same value.

An entry whose material_type is Steel and which gives fy is also a design grade, for Utilisation: fy and fu in N/mmยฒ for plates up to 40 mm thick, and fy_40_80 and fu_40_80, if given, for 40 to 80 mm. Strain values are not read.

An entry whose material_type is Reinforcement is a reinforcing steel: fyk in N/mmยฒ, k(ft/fy)k, epsilon_uk in %, and ductility_class A, B or C; k and epsilon_uk left out take the class's least, Table C.1.

An entry whose material_type is Timber is a timber class, with the keys of the built-in timber file, all in N/mmยฒ but the densities in kg/mยณ: fm_k, ft_0_k, ft_90_k, fc_0_k, fc_90_k, fv_k, E_mean, E0_05, G_mean, rho_k, rho_mean, and G_05 where it is tabulated. A type of Glulam makes it glulam; anything else is solid timber. The check needs fm_k, ft_0_k, fc_0_k, fv_k, E0_05 and G_mean; a class without one is left unchecked.

๐Ÿ“ˆ When to use it โ€‹

Use it when

  • You want a standard grade and want E, G and ฮฝ to agree with each other.
  • Your office has its own grades or a national standard not in the default set โ†’ point DatabasePath at a JSON file.

Do not use it when

  • The material is non-standard โ†’ use Uniaxial or nD directly.
  • You need non-linearity โ†’ the database is elastic only. See Moment Curvature for Concrete01, Steel01 and ReinforcingSteel.