Skip to content

Commit

Permalink
Merge pull request #82 from asam-ev/58-density-60-elasticity
Browse files Browse the repository at this point in the history
Add elasticity and density
  • Loading branch information
ClemensLinnhoff authored Sep 12, 2024
2 parents a830409 + 3613595 commit 19f6ee5
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/example_material.xomp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
"surface_height_rms": 0.8,
"surface_correlation_length": 1.0
},
"elasticity_data": {
"youngs_modulus": 70e9,
"poissons_ratio": 0.35,
"source": "internet: https://en.wikipedia.org/wiki/Aluminium"
},
"density_data": {
"density": 2699.0,
"source": "internet: https://en.wikipedia.org/wiki/Aluminium"
},
"electromagnetic_properties_uri": "example_material_emp.xompt"
}
}
43 changes: 43 additions & 0 deletions schemas/material_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,47 @@
"surface_correlation_length"
]
},
"elasticity_data": {
"type": "object",
"description": "Information about the elasticity of the material.",
"properties": {
"youngs_modulus": {
"type": "number",
"description": "Young's modulus of the material in Pa."
},
"poissons_ratio": {
"type": "number",
"description": "Poisson's ratio of the material."
},
"source": {
"type": "string",
"description": "Source of the elasticity data."
}
},
"required": [
"youngs_modulus",
"poissons_ratio",
"source"
]
},
"density_data": {
"type": "object",
"description": "Information about the density of the material.",
"properties": {
"density": {
"type": "number",
"description": "Density of the material in kg/m^3."
},
"source": {
"type": "string",
"description": "Source of the density data."
}
},
"required": [
"density",
"source"
]
},
"electromagnetic_properties_uri": {
"type": "string",
"description": "Relative path to a property lookup table file with electromagnetic material properties.",
Expand All @@ -90,6 +131,8 @@
},
"required": [
"surface_roughness",
"elasticity_data",
"density_data",
"electromagnetic_properties_uri"
]
}
Expand Down

0 comments on commit 19f6ee5

Please sign in to comment.