How can I connect Avizo visualization to my computation code?
You can write simulation results (e.g., time steps) to files and than tell a running Avizo to read them. To do that use the -cmd option of Avizo, i.e. call Avizo -cmd somecmd where somecmd typically will be a Tcl procedure. If you have the Avizo XPand Pack version, you can either embed your simulation code in an Avizo module (possibly as a separate thread), or you can write a module which communicates with your simulation via sockets or shared memory.