Difference between revisions of "Comsol velo.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Normalise preformatted blank lines in function documentation blocks)
Line 10: Line 10:
  
 
     mesh  - mesh object produced by comsol_mesh()
 
     mesh  - mesh object produced by comsol_mesh()
−
 
+
 
     file_name    - a character string
 
     file_name    - a character string
  

Revision as of 17:40, 5 June 2026


Imports ASCII 2D flow velocity files produced by COMSOL.

Syntax

    mesh=comsol_velo(mesh,file_name)

Arguments

   mesh  - mesh object produced by comsol_mesh()

   file_name    - a character string

Outputs

The following fields are added to spin_system object

      mesh.u, mesh.v      - column vectors with velocities
                            at each vertex of the mesh

See also

Microfluidic mesh import and plotting

Version 2.8, authors: Anupama Acharya, Ilya Kuprov