CFD Online Logo CFD Online URL
Home > Forums > CFX

How to integrate a variable in CEL ?

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

LinkBack Thread Tools Display Modes
Old   June 16, 2016, 10:11
Default How to integrate a variable in CEL ?
New Member
Join Date: Mar 2015
Posts: 8
Rep Power: 4
thu_wang is on a distinguished road
Hi, everyone!
I want to calculate the entropy increase by using stagnation parameters as the references, can I do it in CEL of CFX-POST ?
The formula I use is in this picture below, and "Cp" is determined by "T".
Thanks a lot.
thu_wang is offline   Reply With Quote

Old   June 16, 2016, 10:32
Senior Member
Join Date: Jun 2009
Posts: 669
Rep Power: 15
Opaque is on a distinguished road
You can use the UserFortran interface for evaluating thermodynamic state points.

See Chapter 18, User Fortran, State Point Evaluation
The user state point query function enables the evaluation of thermodynamic properties at a user specified state. This is accomplished by calling the following utility routine from within User Fortran subroutines (User CEL functions or Junction Boxes)
Opaque is offline   Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Angle variable under CEL. Gloria Gaynor CFX 11 November 26, 2012 07:29
How to integrate variable in a transient simulation? nprace CFX 4 January 9, 2012 09:59
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas Main CFD Forum 1 May 30, 2008 04:35
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09

All times are GMT -4. The time now is 09:04.