|
[Sponsors] |
How to compute the global performance parameters at the interface? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
abdul
Join Date: Apr 2017
Posts: 24
Rep Power: 7 ![]() |
How to compute the global performance parameters at the interface of the stator/rotor for the desgin3D module? One can compute the parameters at the inlet and outlet, how about the interface?
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Hamid Zoka
Join Date: Nov 2009
Posts: 280
Rep Power: 17 ![]() |
Hi,
You need to write a python script for this purpose. Python file should have a special format which can be found in Design3D manuals. Regards |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
abdul
Join Date: Apr 2017
Posts: 24
Rep Power: 7 ![]() |
Thank you for your reply. I have read the multistage scripting. That mostly explains when one wants to optimize the parameter of multiple blade rows in which the other blade geometries are updated by running Autoblade in batch mode. But I have a different case. I have only two rows, one stator and the other is the rotor. I am only optimizing one row, but the other row is present in the computation and added through scripting which is not parametric. Now when the desing3D considers this scheme, the inlet and outlet are considered by the desing3D as an inlet to one row (stator) and outlet of the other row (rotor). As a whole, the global performance parameters can be optimized through this scheme by the default CFViewMacros of the desing3D module. By the defaul CFView MAcros or the derived quantities, one cannot check and optimized such performance parameters which consider the total pressure/ temperature at the interface of stator/rotor.
I would appreciate if you could more precisely explain me or send me some scripting file as an example. A private message is also appreciated, please. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Hamid Zoka
Join Date: Nov 2009
Posts: 280
Rep Power: 17 ![]() |
I fully understand your case and your concern.
In design3d post process section you can define any variable at any patch of your domain using python. It has nothing to do with multistage python as you explained. Its format is identical to python post process codes you mentioned. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
abdul
Join Date: Apr 2017
Posts: 24
Rep Power: 7 ![]() |
As I understood, you are telling that I have to insert user define-macro as in the picture. The example of the user defined macro is also attached. The quantity which is calculated it is defined either at the inlet or outlet. How to mention/write as an interface as a script. Sorry for being naiive
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Hamid Zoka
Join Date: Nov 2009
Posts: 280
Rep Power: 17 ![]() |
Hi;
The format of a python file for Design3d is identical to the *.txt you have attached. In order to make post process at interface patches you had better activate "record" in file>macro>record menu. Then select the interface patch and make all post process activities there. As fulfilled save it somewhere through file>macro>save... . This will give a guideline for writing your own python file. regards |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DEFINE_ADJUST compute gas-liquid interface force, error after hook | guohf | Fluent UDF and Scheme Programming | 3 | February 29, 2020 05:31 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |