custom stl domain + flow over stl object

I just checked the new 1.5 release and was glad to find out the generalExternalFlow tutorial.
I was wondering if you could provide an example or give me some hints for the following:

  1. custom domain from stl file (with voxelization) and moving object inside the domain (ibm)
  2. calculation of moments other than forces

Thanks in advance for your reply!