Rotating reference frame with subroutines
Posted: Mon Oct 10, 2016 4:19 pm
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!
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!