Difference between revisions of "Comsol conc.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     spin_system=comsol_conc(spin_system,file_name)
 
     spin_system=comsol_conc(spin_system,file_name)
  
−
==Arguments==
+
==Parameters==
  
 
     spin_system  - Spinach spin system object
 
     spin_system  - Spinach spin system object

Revision as of 17:47, 5 June 2026

Imports ASCII 2D concentration files produced by COMSOL.

Syntax

    spin_system=comsol_conc(spin_system,file_name)

Parameters

   spin_system  - Spinach spin system object

   file_name    - a character string

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