MATLAB: PDE Toolbox thermalProperties() function handles

pde toolboxthermal characteristicsthermalproperties()

Is it possible to define the thermal characteristics (ThermalConductivity, MassDensity and SpecificHeat) of a 3D geometry as functions that depend on the position within the geometry?

Best Answer

Yes, you can. Sorry, the documentation is not yet explicit.
Define a function f = myfun(region,state) and pass @myfun as the value. For examples that are not in the heat flow setting, but in the general setting, see the ways of specifying nonconstant coefficients for general coefficients such as for the f coefficient.
Alan Weiss
MATLAB mathematical toolbox documentation