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

How to integrate a variable in CEL ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2016, 10:11
Default How to integrate a variable in CEL ?
  #1
New Member
 
Join Date: Mar 2015
Posts: 8
Rep Power: 11
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".
DeltaEntropy.png
Thanks a lot.
thu_wang is offline   Reply With Quote

Old   June 16, 2016, 10:32
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
You can use the UserFortran interface for evaluating thermodynamic state points.

Quote:
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

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
Angle variable under CEL. Gloria Gaynor CFX 11 November 26, 2012 06:29
How to integrate variable in a transient simulation? nprace CFX 4 January 9, 2012 08:59
emag beta feature: charge density charlotte CFX 4 March 22, 2011 09:14
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 04:35
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


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