Page 1 of 1

Rotating reference frame with subroutines

Posted: Mon Oct 10, 2016 4:19 pm
by Oscar
Hi all,

I wish to set up a solution of my mesh in a rotating reference frame. My geometry consists of a single rotor, with a hub, blade and a shroud. All mesh entities are rotating with some angular velocity omega except for the shroud.

I see that in cs_user_parameters.f90 I can specify a rotation vector, invariant point and set icorio = 1 to introduce the relevant coriolis source term. This seems exactly what I want, however where do I specify the rotational angular velocity omega? With this setup I would also need to ensure to specify a counter rotating velocity at the shroud to ensure it is moving in the blade relative frame of reference. Can someone tell me how to specify omega in this setup?

Thanks!

Re: Rotating reference frame with subroutines

Posted: Mon Oct 10, 2016 4:24 pm
by Oscar
Apologies - I think I see now that the rotation vector specified in rotation_define has elements that are the omega in each direction! However I am not that the above is the correct way to set up the simulation in a rotating reference frame. Could someone confirm?