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. |
You might be able to use a 3D interpolation function to do this. Just keep the third dimension as zeroes.
|
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 |
All times are GMT -4. The time now is 17:02. |