|
[Sponsors] |
April 11, 2018, 13:10 |
Input Parameters in Fluent Standalone
|
#1 |
Member
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9 |
Hello,
I have always wondered what is the use of input parameter when Fluent stand alone( with no connection to Workbench) is used. It has the option of defining a parameter that can be done easily. However, how do you actually control the parameter value especially if you want to loop over that I/P parameter over multiple values ? Is there any way one can acess this defined parameter value in TUI ? For example, let's say that I want to see the effect of inlet flow velocities on a pipe of certain length. To ideally do this, I will define velocity inlet parameter in Fluent(standalone) and enter multiple values so Fluent solves for each individual value. How would I go forward with this ? One idea(rather a complicated one) is to acess the name of the defined I/P parameter. Once the name of the parameter or its ID has been acessed, it's value an be looped using a 'do' loop in Scheme. Something like this:- Code:
(do ((parameter start_value ( + parameter increment_value))) ((> x end_value)) (ti-menu-load-string ( format #f "set the parameter value" x)) ; HOW WOULD YOU THE SET THE VALUE (ti-menu-load-string (format #f"solve/iterate 10")) ;SOLVE THE SOLUTION WITH THE NEW PARAMETER VALUE ) |
|
April 11, 2018, 16:55 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
In standalone Fluent, it's better to use the TUI commands rather that use the WB scripting language.
If you insist on using parameters you would update a parameter by using: Code:
/define/parameters/edit "nameofParameter" newValue Code:
/define/boundary-conditions velocity-inlet myInlet () vmag no 10 Last edited by LuckyTran; April 13, 2018 at 17:36. |
|
April 12, 2018, 09:39 |
|
#3 |
Member
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9 |
Yes. I was thinking the same. A while later I realized that there would not be much of a difference if I looped the BC settings or the parameter values. I will go with looping the parameters since that seems a much striaghtforward way to do. Also, the command for editing the I/P parameters is not long.
|
|
Tags |
fluent, parametic study, scheme programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting different values for defined input parameters in fluent | Sagar7 | FLUENT | 0 | August 29, 2017 14:04 |
why are the input velocities in profile changed in the fluent after iteration? | dhurba | FLUENT | 0 | August 30, 2016 23:12 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
Parameters and Fluent in Ansys 12 | Edu-R | ANSYS | 4 | March 21, 2014 11:57 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 23:56 |