CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Material Properties table? (function of two variables) (

evcelica October 1, 2012 16:29

Material Properties table? (function of two variables)
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.

ghorrocks October 1, 2012 19:02

You might be able to use a 3D interpolation function to do this. Just keep the third dimension as zeroes.

evcelica October 1, 2012 19:36

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,

All times are GMT -4. The time now is 06:00.