Closed peterfpeterson closed 4 years ago
json file for the current state of Stress/Strain UI, so the state can be written and read back in
In order to capture everything in the UI, we need something like,
{ "stress_case": "in-plane-stress", "filenames_11": ["tests/data/HB2B_1320.h5"], "filenames_22": ["tests/data/HB2B_1320.h5"], "filenames_33": [], "peak_tag": "peak0", "d0": { "d0": 1.01, "d0_error": 0.00001 }, "youngs_modulus": 200, "poisson_ratio": 0.3 }
{ "stress_case": "diagonal", "filenames_11": ["'tests/data/HB2B_1327.h5", "tests/data/HB2B_1328.h5"], "filenames_22": ["'tests/data/HB2B_1327.h5", "tests/data/HB2B_1328.h5"], "filenames_33": ["'tests/data/HB2B_1327.h5"], "peak_tag": "peak0", "d0": { "d0": 1.01, "d0_error": 0.00001 }, "youngs_modulus": 200, "poisson_ratio": 0.3 }
When d0 is not constant we need to include all the d0 grid information
{ "stress_case": "in-plane-stress", "filenames_11": ["tests/data/HB2B_1320.h5"], "filenames_22": ["tests/data/HB2B_1320.h5"], "filenames_33": [], "peak_tag": "peak0", "d0": { "vx": [-30, -30, -30, -30, -30, ...], "vy": [-6, -3, 0, 2, 6, ...], "vz": [-10, -10, -10, -10, -10, ...], "d0": [1.01, 1.02, 1.03, 1.04, 1.05, ...], "d0_error": [0.00001, 0.00001, 0.00001, 0.00001, 0.00001, ...] }, "youngs_modulus": 200, "poisson_ratio": 0.3 }
@rosswhitfield @peterfpeterson can we switch stress_case to stress_type? Only because we're using stress_type in the backend. Is the UI using stress_case?
stress_case
stress_type
json file for the current state of Stress/Strain UI, so the state can be written and read back in
In order to capture everything in the UI, we need something like,
When d0 is not constant we need to include all the d0 grid information