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

interpolation table user function not loading data properly

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2012, 02:21
Default interpolation table user function not loading data properly
  #1
New Member
 
Join Date: Oct 2012
Posts: 8
Rep Power: 14
cfdonlineuser is on a distinguished road
I am loading a table of 3D data for a user function USERdensity=f(P,T,dummy) where P is absolute pressure and T is temperature and dummy is a dummy variable needed when one only wants a 2D function. But when I plot the data for a CEL function for the user function USERdensity using the plot utility in CFXpre there are all sorts of spikes in the CEL function plot, which are (a) not in the original data, (b) not in the table of data listed in the user function for USERdensity.

Anyone had similar a experience with user function as a 3D interpolation table ?
cfdonlineuser is offline   Reply With Quote

Old   November 20, 2012, 17:04
Default
  #2
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
This is just a guess, but I'd say this is probably because the 3D table is meant to be used with coordinates, so it does a 3D interpolation to get your values based on the 3 closest points in the table. But since you're dealing with properties, the correct way to get the values from your table should be to intepolate between the four closest points, which in your case is not being done.

Also, since you have absolute pressure and temperature it is very likely that they're of different magnitudes and that might be causing additional trouble for the interpolation process.

Cheers
brunoc is offline   Reply With Quote

Old   November 25, 2012, 20:37
Default
  #3
New Member
 
Join Date: Oct 2012
Posts: 8
Rep Power: 14
cfdonlineuser is on a distinguished road
thanks brunoc, I suspect you're right, theres something fundamental to the calculation that causes the wrong gradient be calculated.

Ill keep you posted
cfdonlineuser 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
Bounds error for an EOS specified via an interpolation table cfdonlineuser CFX 2 September 20, 2015 12:29
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
solving passive scalar by user function in AVLFIRE huyp Main CFD Forum 0 September 4, 2008 11:21
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 16:30.