CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   State point evaluation (https://www.cfd-online.com/Forums/cfx/25240-state-point-evaluation.html)

Mareike February 16, 2008 13:21

State point evaluation
 
Hi there,

I am trying to calculate with massfractions of the air with a user subroutine in fortran.

The problem is, how do I get the values for the temperature and the density OUT of cfx?

Then, I want to calculate som things and then I want to give back TO cfx the massfractions of the air for some species.

Therefore... thats the point right now. Please help.

Regards Mareike

CycLone February 16, 2008 15:10

Re: State point evaluation
 
You can do this with CEL expressions. Do you need FORTRAN for some specific logic?

Mareike February 16, 2008 15:20

Re: State point evaluation
 
Hi Cyclone. Thank you for your answer.

Yes, I need fortran! I have programmed about 30 lines which calculate the massfraction for a specific condition.

Is it possible to do this without CEL expressions? Just a linked code?

Mareike February 17, 2008 12:23

Re: State point evaluation
 
Hi Cyclone,

if you would solve this via the CEL expression, how would you do this? Maybe I can combine some things. Any idea? Many many thanks if you know an answer.


Ollimarc February 18, 2008 09:12

Re: State point evaluation
 
Hi there,

I have got a similar problem to solve. If anyone knows an answer... that would be great!

Greetz Olli


All times are GMT -4. The time now is 22:55.