KratosMultiphysics / Kratos

Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
https://kratosmultiphysics.github.io/Kratos/
Other
1.01k stars 244 forks source link

Shell elements from StructuralMechanicsApplication don’t work #2753

Closed Vahid-Galavi closed 6 years ago

Vahid-Galavi commented 6 years ago

I am using structural elements of StructuralMechanicsApplication in another application by calling them directly from python scripts. All structural elements, such as beam, truss and cable, work except the shell elements (both thin and thick ones). Is there anything that I have to consider for these types of elements?

Thanks for your help.

philbucher commented 6 years ago

Hi, can you post the error message? Afaik there is nothing special to consider

The tests are working, try to follow them when setting up your case

loumalouomega commented 6 years ago

Can you attach an example?

El mié., 29 ago. 2018 10:14, Vahid notifications@github.com escribió:

I am using structural elements of StructuralMechanicsApplication in another application by calling them directly from python scripts. All structural elements, such as beam, truss and cable, work except the shell elements (both thin and thick ones). Is there anything that I have to consider for these types of elements?

Thanks for your help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KratosMultiphysics/Kratos/issues/2753, or mute the thread https://github.com/notifications/unsubscribe-auth/ATEMgPfHcu7WwWwxB4H_hnqLe9mf-rhpks5uVk1sgaJpZM4WRDBO .

Vahid-Galavi commented 6 years ago

This is an example of the issue. Thanks in advance!

09_prescribedDisplacementOnThinShellGeoOnePhase.gid.zip

loumalouomega commented 6 years ago

Do I need to compile the Geomechanics? (I assume for the example yes). It is the current Geomechanics up to date what you have in your local branch?

Vahid-Galavi commented 6 years ago

No, it is not up to date. I will let you know, when I upload it.

philbucher commented 6 years ago

There is no GeoMechanicsApp in Master ...

I saw in your MDPA that you are defining Properties 1 for the shell elements and then also define some Material Props in the StructuralMechanics.json, be careful what to use (I recommend assigning empty Properties in the MDPA)

Vahid-Galavi commented 6 years ago

I managed to solve the problem for "thick shell" elements by setting "move_mesh_flag" to true in GeoMechanicsApplication.

"Thin shell" elements do not work in both GeoMechanicsApplication and StructuralMechanicsApplication. I have attached an example that I created in StructuralMechanicsApplication:

05_prescribedDisplacementOnThinShell.gid.zip

loumalouomega commented 6 years ago

@Vahid-Galavi there is no GeoMechanicsApplication in master

Vahid-Galavi commented 6 years ago

The last example that I attached, is created with StructuralMechanicsApplication. There I am using thin shell elements.

loumalouomega commented 6 years ago

Ok, I undertstood that the problem was the combination of both apps

loumalouomega commented 6 years ago

The problem works for me

Vahid-Galavi commented 6 years ago

Then I need to check why I don’t get good results. The results do not make sense to me.

Thanks for checking!

loumalouomega commented 6 years ago

The last steps are not converging, try to apply the load/displacement slower

Vahid-Galavi commented 6 years ago

It is a linear problem. Size of load/displacement should not matter. Anyway, I tried with smaller time steps. It didn't help. The results are still incorrect.

loumalouomega commented 6 years ago

OK, let me check in detail

loumalouomega commented 6 years ago

You need to set the displacement in function of time, here your example corrected. In any case certainly the shell converges poorer that I expected 05_prescribedDisplacementOnThinShell.gid.zip

Vahid-Galavi commented 6 years ago

Thanks @loumalouomega!

philbucher commented 6 years ago

closing since I think this is solved please reopen in case you have further questions @Vahid-Galavi