CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > NUMECA

How to compute the global performance parameters at the interface?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2018, 13:31
Default How to compute the global performance parameters at the interface?
  #1
New Member
 
abdul
Join Date: Apr 2017
Posts: 24
Rep Power: 5
eng.abdul is on a distinguished road
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?
eng.abdul is offline   Reply With Quote

Old   September 2, 2018, 11:24
Default
  #2
Senior Member
 
Hamid Zoka
Join Date: Nov 2009
Posts: 264
Rep Power: 15
Hamidzoka is on a distinguished road
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
Hamidzoka is offline   Reply With Quote

Old   September 3, 2018, 13:46
Default
  #3
New Member
 
abdul
Join Date: Apr 2017
Posts: 24
Rep Power: 5
eng.abdul is on a distinguished road
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.
eng.abdul is offline   Reply With Quote

Old   September 3, 2018, 14:12
Default
  #4
Senior Member
 
Hamid Zoka
Join Date: Nov 2009
Posts: 264
Rep Power: 15
Hamidzoka is on a distinguished road
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.
Hamidzoka is offline   Reply With Quote

Old   September 3, 2018, 14:40
Default
  #5
New Member
 
abdul
Join Date: Apr 2017
Posts: 24
Rep Power: 5
eng.abdul is on a distinguished road
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
Attached Images
File Type: png Capture.PNG (38.7 KB, 10 views)
Attached Files
File Type: txt userdefinemacro.txt (551 Bytes, 6 views)
eng.abdul is offline   Reply With Quote

Old   September 8, 2018, 01:23
Default
  #6
Senior Member
 
Hamid Zoka
Join Date: Nov 2009
Posts: 264
Rep Power: 15
Hamidzoka is on a distinguished road
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
Hamidzoka is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 17:46.