{"action":"created","issue":{"url":"https://api.github.com/repos/KratosMultiphysics/Kratos/issues/1804","repository_url":"https://api.github.com/repos/KratosMultiphysics/Kratos","labels_url":"https://api.github.com/repos/KratosMultiphysics/Kratos/issues/1804/labels{/name}","comments_url":"https://api.github.com/repos/KratosMultiphysics/Kratos/issues/1804/comments","events_url":"https://api.github.com/repos/KratosMultiphysics/Kratos/issues/1804/events","html_url":"https://github.com/KratosMultiphysics/Kratos/pull/1804","id":311879075,"number":1804,"title":"WIP: Feature structural sensitivity analysis","user":{"login":"armingeiser","id":25903585,"avatar_url":"https://avatars2.githubusercontent.com/u/25903585?v=4","gravatar_id":"","url":"https://api.github.com/users/armingeiser","html_url":"https://github.com/armingeiser","followers_url":"https://api.github.com/users/armingeiser/followers","following_url":"https://api.github.com/users/armingeiser/following{/other_user}","gists_url":"https://api.github.com/users/armingeiser/gists{/gist_id}","starred_url":"https://api.github.com/users/armingeiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armingeiser/subscriptions","organizations_url":"https://api.github.com/users/armingeiser/orgs","repos_url":"https://api.github.com/users/armingeiser/repos","events_url":"https://api.github.com/users/armingeiser/events{/privacy}","received_events_url":"https://api.github.com/users/armingeiser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-04-06T07:51:13Z","updated_at":"2018-05-04T07:04:28Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/KratosMultiphysics/Kratos/pulls/1804","html_url":"https://github.com/KratosMultiphysics/Kratos/pull/1804","diff_url":"https://github.com/KratosMultiphysics/Kratos/pull/1804.diff","patch_url":"https://github.com/KratosMultiphysics/Kratos/pull/1804.patch"},"body":"This PR adds response functions and sensitivity analysis to the StructuralMechanicsApplication. In order to separate the code, a new folder custom_response_function has been created there.\r\nPart of this PR is the adjoint sensitivity analysis, the implementation follows the structure from the AdjointFluidApplication.\r\n\r\nThe basic workflow is as follows:\r\n- Run a primal analysis\r\n- Write the primal results into a file (using HDF5Application)\r\n- exchange the elements in the ModelPart with their adjoint counterparts\r\n- read the primal solution\r\n- Run an adjoint analysis, and solve for the adjoint variables.\r\n- As a postprocessing step the sensitivities are calculated.\r\n\r\nIn contrast to the AdjointFluidApplication, the derivatives at element level are done by finite differencing inside the adjoint elements. This allows to use all properties and nodal coordinates as design variables in a generic way.\r\n\r\nI addition, a python class ```ResponseFunctionBase``` is created, that offers a generic interface for adjoint sensitivity analysis and other type of response functions that are able to calculate sensitivities (e.g. for eigenfrequencies or mass), to be used in ShapeOptimizationApplication.\r\nAll structural response functions that where previously located in the ShapeOptimizationApplication are moved to the StructuralMechanicsApplication."},"comment":{"url":"https://api.github.com/repos/KratosMultiphysics/Kratos/issues/comments/386520518","html_url":"https://github.com/KratosMultiphysics/Kratos/pull/1804#issuecomment-386520518","issue_url":"https://api.github.com/repos/KratosMultiphysics/Kratos/issues/1804","id":386520518,"user":{"login":"msandre","id":22290001,"avatar_url":"https://avatars0.githubusercontent.com/u/22290001?v=4","gravatar_id":"","url":"https://api.github.com/users/msandre","html_url":"https://github.com/msandre","followers_url":"https://api.github.com/users/msandre/followers","following_url":"https://api.github.com/users/msandre/following{/other_user}","gists_url":"https://api.github.com/users/msandre/gists{/gist_id}","starred_url":"https://api.github.com/users/msandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msandre/subscriptions","organizations_url":"https://api.github.com/users/msandre/orgs","repos_url":"https://api.github.com/users/msandre/repos","events_url":"https://api.github.com/users/msandre/events{/privacy}","received_events_url":"https://api.github.com/users/msandre/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T07:04:28Z","updated_at":"2018-05-04T07:04:28Z","author_association":"CONTRIBUTOR","body":"@armingeiser we had a similar problem yesterday. In our case, it was caused by merging master into a branch B and then trying to merge branch B into another branch A which did not have the changes from master. The solution was to merge master into branch A and then merge this back into branch B. I don't know if this helps though."}}
{"actor":{"display_login":"msandre"}}