comsol_velo.m

From Spinach Documentation Wiki
Revision as of 10:57, 28 July 2023 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:comsol_velo.m}} __NOTOC__ Imports ASCII 2D flow velocity files produced by COMSOL. ==Syntax== spin_system=comsol_velo(spin_system,file_name) ==Arguments...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Imports ASCII 2D flow velocity files produced by COMSOL.

Syntax

    spin_system=comsol_velo(spin_system,file_name)

Arguments

   spin_system  - Spinach spin system object

   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