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

User CEL or Junction Box routine?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2003, 09:25
Default User CEL or Junction Box routine?
  #1
Lexi
Guest
 
Posts: n/a
Hello!

I have tables with the pressure and temperature dependencies of my materials. Do I have to take user CEL or junction box routines to read the data?

Lexi
  Reply With Quote

Old   December 17, 2003, 01:26
Default Re: User CEL or Junction Box routine?
  #2
Neale
Guest
 
Posts: n/a
User CEL functions should work fine to define the properties (density=f(T,p) and Cp=f(T,p)). You will probably still need a junction box routine in the "User Input" location to read your table data though.

Neale.
  Reply With Quote

Old   December 17, 2003, 17:37
Default Re: User CEL or Junction Box routine?
  #3
Glenn Horrocks
Guest
 
Posts: n/a
Hi Lexi and Neale,

You can import your CEL tables into CFX-Pre, or you can copy/paste them into the CEL text file and write them into the definition file with the cfx5cmds command. You won't need a junction box routine to read it in.

Glenn
  Reply With Quote

Old   December 18, 2003, 01:15
Default Re: User CEL or Junction Box routine?
  #4
Neale
Guest
 
Posts: n/a
Yes, but you must use the cloud of points interpolation for two-dimesional functions (eg: rho(T,p)).

This is somewhat awkward because the cloud of points method requires 3D input data, so you must put zero in for the third column, and the data is unstructured so you must copy the ordinate values a bunch of times that is really unecessary.

Normally the cloud of points is for clouds of x,y,z values, that's why it's a bit awkward to use it for T,p tables.

However, as you say, it can be done without a junction box.

Neale
  Reply With Quote

Old   December 18, 2003, 07:17
Default Re: User CEL or Junction Box routine?
  #5
Bart Prast
Guest
 
Posts: n/a
I wouldn't recommend cloud of points for material properties as it used to be very slow (CFX improved it but I do not know to what extend). Better to write your own interpolation routine (structured for rectangular P,T domain) as you can put in all the acceleration in there.
  Reply With Quote

Old   December 18, 2003, 17:37
Default Re: User CEL or Junction Box routine?
  #6
Glenn Horrocks
Guest
 
Posts: n/a
Hi Neale,

Good point - now I understand the issue.

Glenn
  Reply With Quote

Old   January 22, 2004, 09:52
Default Re: User CEL or Junction Box routine?
  #7
S. Balasubramanyam
Guest
 
Posts: n/a
Hi, I have a relationship between temperature and liquid fraction. The relationship varies for different ranges of temperature. During runtime I need to update the liquid fraction by taking temperature as input. Following the examples in the manual I have written a small fortran code and created a dll. But I am getting an error, which says that it is unable to load the symbol. Also it says that the specified procedure could not be found. I am not able to understand this. Can anyone help me? Thanks in advance.....balu.
  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
Difference between Junction BOX routine & CEL expression in a 1 way FSI vmlxb6 CFX 1 March 1, 2011 09:50
user CEL or Junction Box? xck1986 CFX 6 May 30, 2010 09:24
junction box routine and CEL function bornspur CFX 2 February 3, 2009 03:24
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 11:40.