Skip to content

Add Material and SNCurve data model - #68

Open
zairisabri123 wants to merge 1 commit into
faberorg:mainfrom
zairisabri123:material-dataclass
Open

zairisabri123 wants to merge 1 commit into
faberorg:mainfrom
zairisabri123:material-dataclass

Conversation

@zairisabri123

Copy link
Copy Markdown
  • Material dataclass holding the WG6 nomenclature parameters; each parameter (name, symbol, unit, WG6 key) is defined once in the field metadata and NOMENCLATURE is built from it.
  • No required-parameter checks at the material level: each method checks the parameters it needs.
  • No unit conversion: values are given in the nomenclature units.
  • SNCurve: Basquin curve with knee, fit from test points, stress/life conversions and survival probability shift.
  • Dict / JSON round trips with WG6 key aliases.
  • Unit tests in tests/data_parsing/test_material.py.

- Material dataclass holding the WG6 nomenclature parameters; each
  parameter (name, symbol, unit, WG6 key) is defined once in the field
  metadata and NOMENCLATURE is built from it.
- No required-parameter checks at the material level: each method checks
  the parameters it needs.
- No unit conversion: values are given in the nomenclature units.
- SNCurve: Basquin curve with knee, fit from test points, stress/life
  conversions and survival probability shift.
- Dict / JSON round trips with WG6 key aliases.
- Unit tests in tests/data_parsing/test_material.py.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant