Difference between revisions of "Comsol velo.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Add missing Version/authors metadata and remove raw author emails)
Line 5: Line 5:
 
==Syntax==
 
==Syntax==
  
−
mesh=comsol_velo(mesh,file_name)
+
    mesh=comsol_velo(mesh,file_name)
  
 
==Arguments==
 
==Arguments==
  
−
mesh  - mesh object produced by comsol_mesh()
+
    mesh  - mesh object produced by comsol_mesh()
  
 
     file_name    - a character string
 
     file_name    - a character string
−
 
−
Ouputs:
 
−
 
−
    the following fields are added to the mesh object
 
−
 
−
      mesh.u, mesh.v      - column vectors with velocities
 
−
                            at each vertex of the mesh
 
−
 
  
 
==Outputs==
 
==Outputs==

Revision as of 16:37, 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