DrAmine
Ansys Employee

You do not require UDF. You can juste create a custom field function where you multiply your variable withe cell volume.