Inquiry about Setting Rotational Velocity as an Input Parameter in PyFluent #1917
Replies: 7 comments 2 replies
-
Have you tried it like #1766 (reply in thread) ? You need to figure out the TUI command from Fluent which can then be converted to Python call following TUI Command Construction. |
Beta Was this translation helpful? Give feedback.
-
Yes, I did. But it doesn't seem to be working in this case. Your help
would be appreciated. Thanking you in advance.
…On Thu, Aug 24, 2023 at 8:31 PM Mainak Kundu ***@***.***> wrote:
Have you tried it like #1766 (reply in thread)
<#1766 (reply in thread)>
? You need to figure out the TUI command from Fluent which can then be
converted to Python call following TUI Command Construction
<https://fluent.docs.pyansys.com/version/stable/user_guide/tui_commands.html#tui-command-construction>
.
—
Reply to this email directly, view it on GitHub
<#1917 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA73XRWS5RYBHCYDUGEUB2LXW6MZXANCNFSM6AAAAAA3ZV7LSE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@Paul090196 Can you tell me the Fluent version you're using? |
Beta Was this translation helpful? Give feedback.
-
Hi. I use Ansys 2023 R1 version
…On Wed, Aug 30, 2023 at 9:01 PM Mainak Kundu ***@***.***> wrote:
@Paul090196 <https://github.com/Paul090196> Can you tell me the Fluent
version you're using?
—
Reply to this email directly, view it on GitHub
<#1917 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA73XRXJZNCQMXQVRPT3LU3XX6EZXANCNFSM6AAAAAA3ZV7LSE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Assuming we have an elbow_param.cas.h5 with an input parameter omega_param = 1 [rad/s], the following script will set the rotational frame speed to omega_param:
|
Beta Was this translation helpful? Give feedback.
-
The parameter name "roational_velocity" while updating the parameter value is different to the parameter name "rotational_Velocity" during setting the zone motion. |
Beta Was this translation helpful? Give feedback.
-
Fixed!
…On Wed, Sep 6, 2023 at 7:11 PM Mainak Kundu ***@***.***> wrote:
The parameter name "roational_velocity" while updating the parameter value
is different to the parameter name "rotational_Velocity" during setting the
zone motion.
—
Reply to this email directly, view it on GitHub
<#1917 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA73XRSVYBYSNYWZPIBISWTXZCVELANCNFSM6AAAAAA3ZV7LSE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Dear Sir,
I hope this email finds you well. I am currently conducting a parametric
study using PyFluent for my simulation work. While working with the
software, I came across a query that I would greatly appreciate your
assistance with.
In the documentation for PyFluent, I noticed that velocity can be assigned
as an input parameter. However, my specific simulation requires the use of
a moving frame of reference, where rotational velocity is a crucial input
parameter. To achieve this, I would like to set the rotational velocity as
an input parameter in my simulations.
Interestingly, I was able to successfully make this adjustment using the
graphical user interface (GUI) provided by Fluent. However, I encountered
difficulties when attempting to achieve the same result through the
PyFluent scripting interface. Despite my efforts, I couldn't figure out the
proper method to set the rotational velocity as an input parameter using
the scripting approach.
I believe that having the ability to control this parameter
programmatically through the script is essential for automating my
parametric study effectively. Thus, I am reaching out to you for guidance
on how to achieve this using PyFluent's scripting capabilities.
To provide a clearer understanding of my query, I have attached an image
that visually represents the scenario I am describing.
I am confident that with your expertise, I will be able to overcome this
challenge and proceed with my simulation work as intended. Your assistance
would be of great value to me in advancing my research.
Thank you in advance for your time and support. I am looking forward to
your response.
Best regards,
Paul Stephen
Beta Was this translation helpful? Give feedback.
All reactions