Hi,
In MATLAB, the domain-specific modeling approach allows you to solve structural mechanics, heat transfer, and electromagnetic problems using specific objects corresponding to each problem type. However, in this workflow, you can only store parameters belonging to the specified analysis type. For example, a StructuralModel object cannot store parameters corresponding to a thermal or electromagnetic problem, such as thermal conductivity or current density.
Unfortunately, as you’ve noted, the coefficient of thermal expansion (CTE) is not one of the material properties that accepts a function handle in a unified model material property. This limitation might require you to use a general PDE model if you need to spatially vary the CTE.
To vary the coefficient of thermal expansion (CTE) or other structural properties spatially, you can:
- Use domain-specific models if they support function handles for the properties you need.
- Use unified models for coupled physics problems, but be aware of their limitations regarding function handles for certain properties.
- Use a general PDE model for maximum flexibility in defining spatially varying properties.
Please refer to the following reference to know more about
I hope this helps!