Difference between revisions of "Comsol velo.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Normalise preformatted blank lines in function documentation blocks)
m (Rename Arguments section heading to Parameters)
Line 7: Line 7:
 
     mesh=comsol_velo(mesh,file_name)
 
     mesh=comsol_velo(mesh,file_name)
  
−
==Arguments==
+
==Parameters==
  
 
     mesh  - mesh object produced by comsol_mesh()
 
     mesh  - mesh object produced by comsol_mesh()

Revision as of 18:47, 5 June 2026


Imports ASCII 2D flow velocity files produced by COMSOL.

Syntax

    mesh=comsol_velo(mesh,file_name)

Parameters

   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