Ansys Employee

In the above you can use UDFs but the easier approach will be to create a few different materials, and split the solid into separate volumes based on the direction. 

It's a problem I've seen a few times, and one I can't easily answer here. However, it's also a nicely drawn up specification to pass onto the Product team.