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

CFX user defined value convergence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2014, 04:04
Default CFX user defined value convergence
  #1
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
Hello,

in most of the cfd cases, I would like to evaluate the convergence based on the efficiency ( for turbines and compressors) as its usually the last parameter, that is settling.

In order to do so, I would like to use interruption criteria defined by an expression. And here is the catch. Would you happen to know, how to evaluate the values in expression vs. for example [nth] iteration?

e.g.:
delta_eta=eta[ last iteration] - eta [last iteration - 1]

This would really speed up my calculations.
Thank you for help
Vit
vitulaaak is offline   Reply With Quote

Old   August 7, 2014, 07:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There is no easy way to do this with CEL.

It is pretty simple to do with user fortran if you want to go that way.
ghorrocks is offline   Reply With Quote

Old   August 7, 2014, 09:35
Default
  #3
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
Hi,
i have never used fortran but that does not have to be a blocking point. If there is no ( easy or hard ) way directly in CFX, then I would use fortran.
Is it necessary to install any libraries? Is it free to use or paid?

Thank you
Vit
vitulaaak is offline   Reply With Quote

Old   August 7, 2014, 09:39
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is all described in the CFX (ANSYS) installation documentation.
ghorrocks is offline   Reply With Quote

Old   August 11, 2014, 04:32
Default
  #5
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
Is there a way to do it without Fortran? I found, that it would be necessary to buy the compiler for ~900 usd.
vitulaaak is offline   Reply With Quote

Old   August 11, 2014, 07:47
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Then install a Linux version of CFX and use a linux fortran compiler. You will not need to pay for anything then.
ghorrocks is offline   Reply With Quote

Old   August 14, 2014, 05:23
Default
  #7
Member
 
Vit Houst
Join Date: Apr 2012
Posts: 35
Rep Power: 14
vitulaaak is on a distinguished road
I am not sure, that this is an helpful answer. One could assume, that if you work in a company, that has some IT standards, you cannot install whatever you want and especially OS.

At the same time, its quite strange, that CFX requires paid software for compilation in Windows while it uses free compilers in Linux.

If there is no free version of compiler, what is the exact version of intel compiler that is required? At the same time, does it require anything else? Like visual studio?

Is there a way to compile the code not from CFX but from a windows command line?

Thank you
vitulaaak is offline   Reply With Quote

Old   August 14, 2014, 05:51
Default
  #8
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
I guess you can circumvent the fortran issue with some CEL.
Have you seen this post? (I havent tried it)
http://www.cfd-online.com/Forums/cfx...tml#post285482
Lance is offline   Reply With Quote

Old   August 14, 2014, 07:36
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
My company supports both windows and linux. You can choose the most appropriate OS for your application. Maybe your IT department needs to catch up

It is not so strange - linux is an open source platform so you would expect many applications on it to also be open source.

Which compiler is required and how to do it is all discussed in the CFX documentation.

If fortran does not look appealing have a look Lance's suggestion.
ghorrocks is offline   Reply With Quote

Reply


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
Transient User Defined Function in CFX Niru CFX 0 November 12, 2013 18:07
Check particle impaction with User Fortran Julian K. CFX 3 January 12, 2012 10:46
User defined function in CFX ealatawi CFX 3 November 13, 2011 19:18
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
User Defined Variable in CFX PRE Hamidur Rahman CFX 2 September 21, 2007 15:18


All times are GMT -4. The time now is 10:50.