You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Displacement results of elastic-tube-3d for FEniCS and CalculiX differ significantly #259
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:
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.
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[/+]on Feb 7, 2022
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[/+]on Feb 7, 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!
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.
Activity
[-]Displacement results of leastic-tube-3d for FEniCS and CalculiX differ significantly.[/-][+]Displacement results of leastic-tube-3d for FEniCS and CalculiX differ significantly[/+][-]Displacement results of leastic-tube-3d for FEniCS and CalculiX differ significantly[/-][+]Displacement results of elastic-tube-3d for FEniCS and CalculiX differ significantly[/+]maxfirmbach commentedon 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 commentedon Feb 14, 2022
I have an working implementation with the DUNE-Adapter (using rbf mapping) and first order elements and obtain the following results:
So I guess by changing the material parameters inside Fenics the result should look similar.
IshaanDesai commentedon Feb 15, 2022
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 commentedon Mar 17, 2022
I ran the cases again with FEniCS and CalculiX having the same material properties and the results indeed look to be in agreement:

Matching material properties in FEniCS script with CalculiX, closes #259
IshaanDesai commentedon Mar 17, 2022
Resolved in 9e4144e