precice / tutorials

Various tutorial cases for the coupling library preCICE with real solvers. These files are meant to be rendered on precice.org, so don't look at the README files here.
https://www.precice.org/
GNU Lesser General Public License v3.0
106 stars 109 forks source link

Material properties of solid not consistent for all FSI perp_flap cases. #150

Closed BenjaminRodenberg closed 3 years ago

BenjaminRodenberg commented 3 years ago

I did a quick survey on the material properties for the different FSI perp_flap cases that we offer:

Important! Table below is currently outdated.

Case flow type Young's modulus (E) Poisson's ratio (nu) shear modulus (G, mu) Lame's first parameter (lambda)
flap_perp/OpenFOAM-CalculiX incompressible 400000 0.3 153846* 230769*
flap_perp/OpenFOAM-deal.II, linear incompressible ??? ??? 153846 230769
flap_perp/OpenFOAM-deal.II, non-linear incompressible ??? 0.375 153846 ???
flap_perp/SU2-CalculiX compressible 200000 0.3 ??? ???
flap_perp_2D/OpenFOAM-FEniCS incompressible 400000 0.3 ??? ???
flap_perp_2D/OpenFOAM-deal.II, linear incompressible ??? ??? 153846 230769
flap_perp_2D/OpenFOAM-deal.II, non-linear incompressible ??? 0.375 153846 ???
flap_perp_2D/SU2-FEniCS compressible 1000000 0.3 ??? ???

Note: There is a nice table for conversion of these parameters on wikipedia at the bottom of the entry. I used the formulas given on wikipedia for computing the numbers marked with a *.

BenjaminRodenberg commented 3 years ago

Some information that I've already got:

IshaanDesai commented 3 years ago

Running the SU2 - FEniCS case with E = 4E+6 and inlet fluid velocity = 10.0 m/s leads to a highly unstable case. After some fine tuning the recommended values for a reasonable SU2 - FEniCS case are: E = 1E+6 and inlet fluid velocity = 1.0 m/s. These parameters also lead to a reasonable result for SU2 - CalculiX. Further tuning to bring the reasonable parameters and proposed parameters can be done to find the optimal parameter set.

davidscn commented 3 years ago

Yes, the cases are currently not consistent. As already commented by @BenjaminRodenberg , there was one inconsistency introduced by myself in he deal.II cases.

However, #146 will resolve the inconsistencies. As already described in the PR description, the new parameter configuration is based on this paper (Fenics-Nutils). The current capability of Nutils creates some restrictions on the fluid side and in order to justify the linearity of (some) structural solver, we need to consider some restrictions on the solid side.

Note: There is a nice table for conversion of these parameters on wikipedia at the bottom of the entry. I used the formulas given on wikipedia for computing the numbers marked with a *.

Agree, I like this table very much. The new parameter configuration (already described in the README in #146 ) looks the following way: mu (G)=1538461, lambda = 2307692 , rho = 3000 , E = 4e+6 , nu = 0.3.

Running the SU2 - FEniCS case with E = 4E+6 and inlet fluid velocity = 10.0 m/s leads to a highly unstable case. After some fine tuning the recommended values for a reasonable SU2 - FEniCS case are: E = 1E+6 and inlet fluid velocity = 1.0 m/s. These parameters also lead to a reasonable result for SU2 - CalculiX. Further tuning to bring the reasonable parameters and proposed parameters can be done to find the optimal parameter set.

I have indeed not yet tried the Fenics case. In general, the setup you described first should be stable though (will check again with deal.II today). However, we cannot tune individual case-pairs in the new tutorials structure and in particular, we cannot change parameters on the structural side due to stability issues on the Fluid side (compressibility). I think I have not yet described the exact parameter setting in the README, but I changed the pressure gradient for SU2 so that we end up in a rather compressible region of Ma=0.3.

IshaanDesai commented 3 years ago

However, we cannot tune individual case-pairs in the new tutorials structure and in particular, we cannot change parameters on the structural side due to stability issues on the Fluid side (compressibility).

I agree here. I would even suggest doing a joint parameter testing session on Zoom or Skype sometime.

but I changed the pressure gradient for SU2 so that we end up in a rather compressible region of Ma=0.3

This is interesting and I had overlooked this in my testing. Will test this and (hopefully) come back with some better results and more flexible parameters :+1:

BenjaminRodenberg commented 3 years ago

Since #146 is merged. Are all the cases consistent now? My status-quo for the parameters is the following:

Screenshot from 2021-03-11 11-50-10

Screenshot from 2021-03-11 12-07-36

Note: I took the following values as a basis for the Young's modulus

From my perspective #146 resolved all ambiguities and therefore, we can close this issue.

@DavidSCN can you do a final review whether my table/figure is consistent with the current status and then close this issue?

davidscn commented 3 years ago

Since #146 is merged. Are all the cases consistent now? My status-quo for the parameters is the following:

Should be the case, yes. The given solid material specifications are now consistent and correspond to out setup, I checked it. For the compressible fluid, the total temperature and the total pressure at the inlet are missing, but that's not a problem and not related to this/any issue.

Thanks for all the tables!

BenjaminRodenberg commented 3 years ago

The given solid material specifications are now consistent and correspond to out setup, I checked it.

Thanks!

For the compressible fluid, the total temperature and the total pressure at the inlet are missing...

What do you mean? The table gives p_\infty = 101325 Pa and T_\infty = 288.15 K. This is taken from

https://github.com/precice/tutorials/blob/3ddf707ae306981aa1967bfb517eed235829f023/perpendicular-flap/fluid-su2/euler_config_coupled.cfg#L54-L58

I also see

https://github.com/precice/tutorials/blob/3ddf707ae306981aa1967bfb517eed235829f023/perpendicular-flap/fluid-su2/euler_config_coupled.cfg#L92-L104

Do we also need this to properly define the case? If yes, please comment and I will update the table accordingly.

davidscn commented 3 years ago

I'm not 100% sure since I have not much experience with SU2, but I assume that the \infty values correspond to the far field values, i.e. the reference values. In order to define the boundary conditions you need to specify the inlet values and (for subsonic cases) a field at the outlet, e.g. the pressure.