Difference between revisions of "Comsol conc.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(Sync syntax/arguments/outputs with current Spinach source)
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:
 +
 +
    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==
 
==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  
 
       mesh.c    - stack of column vectors with  
Line 21: Line 32:
  
 
==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:05, 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
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