Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Property functions
Posted Oct 11, 2016, 8:16 p.m. EDT Materials, Parameters, Variables, & Functions Version 5.1 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I'm simulating a heat transfer that occurs in a material that goes through a phase change, so I need to change several boundary setting when this happens.
I probably have to to use the IF statement but not sure exactly how.
My simulation is from 900C down to 700C.
From 900C to 800C I have a function for each of these properties (all time dependent);
Thermal conductivity: f1(T)
Density: f2(T)
Heat Capacity: f3(T)
From 800 down to 700C I have 3 other functions for the above properties;
Thermal conductivity: f4(T)
Density: f5(T)
Heat Capacity: f6(T)
Is there a way to write both of these function in the property field with an IF syntax?
For example the density;
IF T>=800 f2(T)
IF T<800 f5(T)
Or do you use ELSE together with IF?
Thank you,
I'm simulating a heat transfer that occurs in a material that goes through a phase change, so I need to change several boundary setting when this happens.
I probably have to to use the IF statement but not sure exactly how.
My simulation is from 900C down to 700C.
From 900C to 800C I have a function for each of these properties (all time dependent);
Thermal conductivity: f1(T)
Density: f2(T)
Heat Capacity: f3(T)
From 800 down to 700C I have 3 other functions for the above properties;
Thermal conductivity: f4(T)
Density: f5(T)
Heat Capacity: f6(T)
Is there a way to write both of these function in the property field with an IF syntax?
For example the density;
IF T>=800 f2(T)
IF T<800 f5(T)
Or do you use ELSE together with IF?
Thank you,
2 Replies Last Post Oct 14, 2016, 5:17 a.m. EDT