Page 1 of 1

continuation of the fluid-structure interaction calculations

Posted: Thu Aug 14, 2014 10:24 am
by vshinde
Dear Code-Saturne team,

The restart of the calculation in ALE module does not appear to be continuous. The possible reason could be the values of force, velocity, displacement and acceleration of structure are not saved and used from previous calculations. Mainly the displacement is not continuous and the velocity is taken as zero. In an implicit calculations the displacement at a next time step uses the values of displacement and velocity at current timestep. We have some snapshots of the results with this issue. Please find .pdf file attached.

Thanks a lot.
Vilas

Re: continuation of the fluid-structure interaction calculat

Posted: Thu Aug 14, 2014 6:00 pm
by Yvan Fournier
Hello,

This issue has been reported recently on this forum (http://code-saturne.org/forum/viewtopic.php?f=2&t=1520).

I just fixed it today. The issue was due to initialization of some structure values (to zero) after reading restart files. Using user subroutines (usstr1), you can work around this, by "protecting" the initialization, for example (based on the current example) :

Code: Select all

if (ntpabs.le.1) then  ! Avoid resetting in case of restart
   xstr0(2,1)  = 2.d0
   xstreq(2,1) = 1.d0
   vstr0(3,2)  =-0.5d0
 endif
With the GUI, there was a bug.

I just released 3.0.5, which fixes this bug with the GUI (and a few others, see the NEWS file), as well as the user subroutine example.

Regards,

Yvan