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
controling rotational velocity of rotating inner mesh
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: controling rotational velocity of rotating inner mesh
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.
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
Yes that is it exactly. Sorry I was not more clear!
Susan
Susan
-
- Posts: 118
- Joined: Mon Feb 20, 2012 2:07 pm
Re: controling rotational velocity of rotating inner mesh
Hi
You can not do that with cs_user_scripts. Are you using rotor/stator module ?
You can not do that with cs_user_scripts. Are you using rotor/stator module ?
Re: controling rotational velocity of rotating inner mesh
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
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
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: controling rotational velocity of rotating inner mesh
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
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