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

Material Properties table? (function of two variables)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 1, 2012, 16:29
Default Material Properties table? (function of two variables)
  #1
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 486
Rep Power: 9
evcelica is on a distinguished road
I'm doing some simulations with seawater and the material properties will be functions of both Temperature and Salinity I have tables with the material properties, but am wondering if it is possible to insert them as a table of some sort.

I can create a mathematical function of two variables but this is kind of a pain and inserting a table would be much easier.
evcelica is offline   Reply With Quote

Old   October 1, 2012, 19:02
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,800
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You might be able to use a 3D interpolation function to do this. Just keep the third dimension as zeroes.
ghorrocks is offline   Reply With Quote

Old   October 1, 2012, 19:36
Default
  #3
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 486
Rep Power: 9
evcelica is on a distinguished road
That's what I was thinking, but when I looked at it the argument units had to be the same for each of the 3 dimensions. I guess this wouldn't matter If I just gave salt content a false temperature unit. That would probably work fine then, Thanks.

I've settled on just using several 1D interpolation functions, and I will just have to change them manually according to the salt content, which won't vary in each simulation. I didn't know if there was an easy straightforward way to do this or not, and figured it might be helpful for future materials that depend on two variables.

Thanks again,
Erik
evcelica is offline   Reply With Quote

Reply

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
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
Material Properties for Sat. Liquid and Sat. Vapor Blackhawks84 FLUENT 0 September 17, 2012 19:11
Defining non-constant material properties Scott CFX 7 August 8, 2008 17:35
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00


All times are GMT -4. The time now is 21:56.