ALE module to simulate 2D fishlike tail motion?

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
aero_cfd
Posts: 3
Joined: Mon Sep 04, 2017 11:10 am

ALE module to simulate 2D fishlike tail motion?

Post by aero_cfd »

Hi,

I already used the code for turbo-machinery, but I would like to simulate a deforming rigid body following the motion of a fish, is it possible to prescribe the deformation using the mobile mesh and ALE option ? I have already checked http://code-saturne.org/cms/sites/defau ... action.pdf

Is it possible to modify it in order t achieve what I want ?

Cheers! ;)
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: ALE module to simulate 2D fishlike tail motion?

Post by Yvan Fournier »

Hello,

The main issue with ALE is avoiding degenerate or inverted cells during the mesh deformation process. If you use a sufficiently high mesh viscosity and do not deform the mesh too rapidly relative to the time step (and the boundaries are sufficiently far that you do not constrain the deformation too much), yes, I would guess it is possible.

You just need to provide a good definition of the mesh deformation :-). I assume an analytic definition close enough to the real movement should be feasible.

Regards,

Yvan
aero_cfd
Posts: 3
Joined: Mon Sep 04, 2017 11:10 am

Re: ALE module to simulate 2D fishlike tail motion?

Post by aero_cfd »

Thank you for the quick reply.

Is there a a tutorial close enough I could follow ? or maybe the main steps in setting the deformation ?
I do have an analytical formula.

Thank you !
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: ALE module to simulate 2D fishlike tail motion?

Post by Yvan Fournier »

Hello,

I am not sure there is an adequate tutorial... The ALE tutorial on this web site is old (for v 2.0), though the associated user functions/subroutines are similar (you can skip to that part).

You can do most of the setup with the GUI, simply defining the mesh movement with a user subroutine.

The Doxygen user example for FSI canalso help. http://code-saturne.org/doxygen/src/cs_ ... ction.html

Best regards,

Yvan
aero_cfd
Posts: 3
Joined: Mon Sep 04, 2017 11:10 am

Re: ALE module to simulate 2D fishlike tail motion?

Post by aero_cfd »

Thank you, I will take a look .
Cheers :)
Post Reply