comsol_conc.m

From Spinach Documentation Wiki
Revision as of 14:05, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
Jump to: navigation, search


Imports ASCII 2D concentration files produced by COMSOL.

Syntax

spin_system=comsol_conc(spin_system,file_name)

Arguments

spin_system - Spinach spin system object

   file_name    - a character string
Ouputs:
   the following fields are added to spin_system object
      mesh.c    - stack of column vectors with
                  concentrations (in rows) at
                  each vertex of the mesh
ilya.kuprov@weizmann.ac.il

Outputs

the following fields are added to spin_system object

      mesh.c    - stack of column vectors with 
                  concentrations (in rows) at
                  each vertex of the mesh

See also

Microfluidic mesh import and plotting


Version 2.8, authors: Ilya Kuprov