flow_gen.m

From Spinach Documentation Wiki
Revision as of 15:23, 17 May 2025 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:flow_gen.m}} __NOTOC__ Hydrodynamic flow generator on a mesh. Builds diffusion and flow generator using the mesh parameters in the spin_system object. ==Syntax...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Hydrodynamic flow generator on a mesh. Builds diffusion and flow generator using the mesh parameters in the spin_system object.

Syntax

    F=flow_gen(spin_system,parameters)

Arguments

   spin_system - Spinach system descriptor object 
                 containing mesh subfields produ-
                 ced by COMSOL import functions

   parameters.diff - diffusion coefficient, m^2/s

Outputs

   F - spatial motion generator matrix with the
       dimension equal to the number of Voronoi
       cells of the mesh

See also

Chemical dynamics infrastructure


Version 2.11, authors: Ilya Kuprov