Difference between revisions of "Comsol conc.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
 
{{DISPLAYTITLE:comsol_conc.m}} __NOTOC__
 
{{DISPLAYTITLE:comsol_conc.m}} __NOTOC__
−
 
 
Imports ASCII 2D concentration files produced by COMSOL.
 
Imports ASCII 2D concentration files produced by COMSOL.
  
 
==Syntax==
 
==Syntax==
  
−
spin_system=comsol_conc(spin_system,file_name)
+
    spin_system=comsol_conc(spin_system,file_name)
  
 
==Arguments==
 
==Arguments==
  
−
spin_system  - Spinach spin system object
+
    spin_system  - Spinach spin system object
−
 
+
 
     file_name    - a character string
 
     file_name    - a character string
  
−
Ouputs:
+
==Outputs==
  
 
     the following fields are added to spin_system object
 
     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  
 
       mesh.c    - stack of column vectors with  
Line 32: Line 21:
  
 
==See also==
 
==See also==
−
 
 
[[Import,_export,_and_visualisation#Microfluidic_mesh_import_and_plotting|Microfluidic mesh import and plotting]]
 
[[Import,_export,_and_visualisation#Microfluidic_mesh_import_and_plotting|Microfluidic mesh import and plotting]]
  
  
 
''Version 2.8, authors: [[Ilya Kuprov]]''
 
''Version 2.8, authors: [[Ilya Kuprov]]''

Revision as of 14:48, 5 April 2026

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

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