|
[Sponsors] |
December 16, 2003, 09:25 |
User CEL or Junction Box routine?
|
#1 |
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 |
|
December 17, 2003, 01:26 |
Re: User CEL or Junction Box routine?
|
#2 |
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. |
|
December 17, 2003, 17:37 |
Re: User CEL or Junction Box routine?
|
#3 |
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 |
|
December 18, 2003, 01:15 |
Re: User CEL or Junction Box routine?
|
#4 |
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 |
|
December 18, 2003, 07:17 |
Re: User CEL or Junction Box routine?
|
#5 |
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.
|
|
December 18, 2003, 17:37 |
Re: User CEL or Junction Box routine?
|
#6 |
Guest
Posts: n/a
|
Hi Neale,
Good point - now I understand the issue. Glenn |
|
January 22, 2004, 09:52 |
Re: User CEL or Junction Box routine?
|
#7 |
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.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |