|
[Sponsors] |
Material Properties table? (function of two variables) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 1, 2012, 17:29 |
Material Properties table? (function of two variables)
|
#1 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
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. |
|
October 1, 2012, 20:02 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
You might be able to use a 3D interpolation function to do this. Just keep the third dimension as zeroes.
|
|
October 1, 2012, 20:36 |
|
#3 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 02:47 |
Material Properties for Sat. Liquid and Sat. Vapor | Blackhawks84 | FLUENT | 0 | September 17, 2012 20:11 |
Defining non-constant material properties | Scott | CFX | 7 | August 8, 2008 18:35 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |
PHI file structure | Eugene | Phoenics | 9 | November 2, 2001 23:00 |