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

Displacement results of elastic-tube-3d for FEniCS and CalculiX differ significantly #259

Closed
IshaanDesai opened this issue Feb 7, 2022 · 5 comments
Assignees
Labels

Comments

@IshaanDesai
Copy link
Member

In #222 FEniCS was added as a solid participant to the elastic-tube-3d tutorial case. A watch point was also added on the solid tube to check the displacement in the center of the tube. The results for CalculiX and FEniCS coupled with OpenFOAM are as follows:
tutorials-elastic-tube-3d-plot
It is evident that the results radial displacement differ greatly on whether CalculiX or FEniCS is used. I think this is the case because of the choice of the elements and also the solvers in CalculiX and FEniCS. The CalculiX participant has C3D10 elements. For the FEniCS participant we use the Cylinder function to construct the geometry. The FEniCS version we use offers very little control over the type of elements we can have, especially when we use in-built geometry constructing functions. In FEniCS-X there is greater control over the choice of elements.

This needs to be investigated further and eventually resolved.

@IshaanDesai IshaanDesai changed the title Displacement results of leastic-tube-3d for FEniCS and CalculiX differ significantly. Displacement results of leastic-tube-3d for FEniCS and CalculiX differ significantly Feb 7, 2022
@MakisH MakisH changed the title Displacement results of leastic-tube-3d for FEniCS and CalculiX differ significantly Displacement results of elastic-tube-3d for FEniCS and CalculiX differ significantly Feb 7, 2022
@maxfirmbach
Copy link
Contributor

maxfirmbach commented Feb 14, 2022

I was having a look at that example as I want to also make a dune-solid participant for a 3d case.

@IshaanDesai could it be that the parameters for density and young's modulus are different in the fenics and calculix case?
Fenics: in solid.py, rho = 3000, E = 4000000, nu = 0.3
Calculix: in tube.inp, rho = 1200, E = 300000, nu = 0.3

That would be a reason for the big difference in the plot above.
Please correct me if I'm wrong though!

@maxfirmbach
Copy link
Contributor

I have an working implementation with the DUNE-Adapter (using rbf mapping) and first order elements and obtain the following results:

tutorials-elastic-tube-3d-displacement-all-watchpoints

So I guess by changing the material parameters inside Fenics the result should look similar.

@IshaanDesai
Copy link
Member Author

Thank you @maxfirmbach for pointing this out! I must accept I did not spend a lot of time tuning the material properties for the FEniCS participant. I will test it with the changes and update my results here.

@IshaanDesai IshaanDesai self-assigned this Mar 16, 2022
@IshaanDesai
Copy link
Member Author

I ran the cases again with FEniCS and CalculiX having the same material properties and the results indeed look to be in agreement:
tutorials-elastic-tube-3d-displacement-all-watchpoints

@IshaanDesai
Copy link
Member Author

Resolved in 9e4144e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants