Difference between revisions of "Flow gen.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     F=flow_gen(spin_system,parameters)
 
     F=flow_gen(spin_system,parameters)
  
−
==Arguments==
+
==Parameters==
  
 
     spin_system - Spinach system descriptor object  
 
     spin_system - Spinach system descriptor object  

Revision as of 18:48, 5 June 2026

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)

Parameters

   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