Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature tangent #31

Merged
merged 8 commits into from
Oct 29, 2024
Merged

Feature tangent #31

merged 8 commits into from
Oct 29, 2024

Conversation

sanathkeshav
Copy link
Member

@sanathkeshav sanathkeshav commented Oct 25, 2024

  • Algorithmic tangent via finite differences : 2 new methods Solver::get_homogenized_stress() and Solver::get_homogenized_tangent(pert_param)
  • New Linear elastic triclinic material model with 21 inputs -> all C
  • Type of Reader::materialproperties changed from map<string, vector<double>> to json -> material_properties in input json can accept many more things other than just vectors of doubles
  • Introduced new field in input json called error_parameters that can definite error measure (L1, L2, Linfinity) and type (absolute, relative)

@sanathkeshav sanathkeshav marked this pull request as ready for review October 29, 2024 09:41
@sanathkeshav sanathkeshav merged commit 4f85789 into develop Oct 29, 2024
6 checks passed
@sanathkeshav sanathkeshav deleted the feature_tangent branch October 29, 2024 09:44
@sanathkeshav sanathkeshav mentioned this pull request Oct 30, 2024
sanathkeshav added a commit that referenced this pull request Oct 30, 2024
* Mention dependency on compiler support for OpenMP in README

* Rename container user also in fans_dev image to fix broken entrypoint script (#27)

* Add python3-dev to fans-ci stage already

* Remove clang-format check via GitHub Action (#29)

* Bump clang-format version

* Formatting

* Use a different Action workflow to run clang-format

* Remove the Action to run clang-format, as it will go out of sync with the pre-commit run

* Bump mirror-clang-format to latest version in the pre-commit-config

* Update clang-format config file to also format JSON

* Manually specify which extensions to format in the mirror-clang-format hooks in the pre-commit config

* Exclude JSON files from clang-format

* Exclude JSON files from clang-format

* Correctly exclude JSON files from clang-format checking

* Rather than excluding json, specifically suggest c++

* Added API to get homogenized stress and homogenized tangent (#31)

* worked on getting the algorithmic tangent via finite differences

* linear elastic triclinic material model

* refactored material properties from type map<string, vector<double>> to type json

* J2Plasticity time_step is double not a vector

* refactored compute_error to accept different error measure and type

* added additional error control when get_homogenized_tangent is called

* in get_homogenized_tangent linear materials are handled seperately

* added linear thermal triclinic model  (#32)

* added linear thermal triclinic model similar to linear elastic triclinic model

* fixed readme.md indent causing linting error

* Update CHANGELOG

* Bump version

---------

Co-authored-by: Moritz Sigg <[email protected]>
Co-authored-by: Moritz Sigg <[email protected]>
Co-authored-by: Ishaan Desai <[email protected]>
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