Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solid material model testing framework (#225)
* MR tests. Compare S directly. Compare S and Dm indirectly. Reorg unit tests a bit * Simplify, separate, and rename S and CC tests * Reorg test, add StVK, nHook tests. StVK doesn't pass for some reason * Fix apparent bug in setting Mooney-Rivlin C10 parameter * Add classes for material model params, classes for strain energies * Add test fixtures, function for PK2Stress finite difference calc, make test names more descriptive * Add delta parameters to calcPK2StressFiniteDifference * Bug fix in Mooney-Rivlin model. Idx_prod was uninitialized, leading to undefined behavior. * Add matrix-vector multiply for carrays * Big reorg of S and CC tests. Currently only for Mooney-Rivlin material * Add tests to compare S and S_ref directly, with prescribed S_ref and finite difference S_ref * Add NeoHookean tests, add abs_tol * Add Holzapfel-Ogden model test WITH BUGS * Fix HO tests: Input fiber directions to get_pk2cc properly. Create s orthogonal to f. Use F = I + random. Add flag for HO with/without full anisotropic invariants * Add instructions for adding new material modeling tests * Switch to C++ random library, reduce finite difference deltas to 1e-7
- Loading branch information