Page 1 of 1

controling rotational velocity of rotating inner mesh

Posted: Sun Sep 29, 2013 12:49 pm
by st268
Hello,

Given a rotating meshed disk inside my domain, can I use user_scripts to control the speed of rotation based on what is happening inside my simulation?

thanks

Susan

Re: controling rotational velocity of rotating inner mesh

Posted: Mon Sep 30, 2013 8:33 am
by Brian Angel
Hello Susan,

Just to confirm that I've understood your question, you want to control the rotational speed of the disc using, for example, some form of a fluid force i.e. pressure difference or viscous forces acting on the disc, without having to specify a rotational speed.

Brian Angel.

Re: controling rotational velocity of rotating inner mesh

Posted: Mon Sep 30, 2013 2:09 pm
by st268
Yes that is it exactly. Sorry I was not more clear!

Susan

Re: controling rotational velocity of rotating inner mesh

Posted: Wed Oct 02, 2013 5:02 pm
by Jacques Fontaine
Hi
You can not do that with cs_user_scripts. Are you using rotor/stator module ?

Re: controling rotational velocity of rotating inner mesh

Posted: Tue Oct 08, 2013 3:55 pm
by st268
Hi Jacques,

I was planning to yes. But I was hoping there was some way to control the rotational speed based on what is happening during the simulation and not just by giving a fixed value in usini

thanks

Susan

Re: controling rotational velocity of rotating inner mesh

Posted: Tue Oct 08, 2013 6:42 pm
by Yvan Fournier
Hello,

You can do that, but not in user_scripts.py, whic is for the run script. An appropriate user subroutine might be "cs_user_extra_operations", but check the descriptions of the different user subroutines in examples and the documentation to check what is the best fit.

Regards,

Yvan