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

Efficiency_variable

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 5, 2012, 17:22
Default Efficiency_variable
  #1
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 140
Rep Power: 8
Saima is on a distinguished road
Hello,

I have written efficiency expression in CFX pre. It will give me a value of efficiency at each step.

Efficiency expression I have written in CFX by:
Efficiency= (((P02/P01)^(0.4/1.4))-1)/((T02/T01)-1)
P01= massFlowAve(ptotstn)@R1 Inlet
P02= massFlowAve(ptotstn)@R1 Outlet
T01= massFlowAve(Ttotstn)@R1 Inlet
T02= massFlowAve(Ttotstn)@R1 Outlet


But now I want to stop calculation once it reaches to certain convergence criteria. This need to record efficiency as a variable of iteration step.

Is anyone know how to define a variable expression in CFX pre???

Thanks in Advance...!!!!
__________________
Best Redards,
Saima

Last edited by Saima; December 5, 2012 at 17:58.
Saima is offline   Reply With Quote

Old   December 5, 2012, 22:22
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 487
Rep Power: 10
evcelica is on a distinguished road
Solver Control >> Interrupt Control
evcelica is offline   Reply With Quote

Old   December 6, 2012, 01:25
Default
  #3
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 140
Rep Power: 8
Saima is on a distinguished road
I know that.

But how to provide Eff as a function of iteration? As by defining expression it is just take value a single step at a time.


Quote:
Originally Posted by evcelica View Post
Solver Control >> Interrupt Control
__________________
Best Redards,
Saima
Saima is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:19.