Difference between revisions of "Comsol velo.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Add missing Version/authors metadata and remove raw author emails)
(sync with Spinach main f053e432: outputs note line matches head header (fields added to the mesh object))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:comsol_velo.m}} __NOTOC__
 
{{DISPLAYTITLE:comsol_velo.m}} __NOTOC__
−
 
 
Imports ASCII 2D flow velocity files produced by COMSOL.
 
Imports ASCII 2D flow velocity files produced by COMSOL.
  
 
==Syntax==
 
==Syntax==
  
−
mesh=comsol_velo(mesh,file_name)
+
    mesh=comsol_velo(mesh,file_name)
  
−
==Arguments==
+
==Parameters==
−
 
 
−
mesh  - mesh object produced by comsol_mesh()
 
  
 +
    mesh  - mesh object produced by comsol_mesh()
 +
 
     file_name    - a character string
 
     file_name    - a character string
  
−
Ouputs:
+
==Outputs==
  
 
     the following fields are added to the mesh object
 
     the following fields are added to the mesh object
−
 
+
−
      mesh.u, mesh.v      - column vectors with velocities
 
−
                            at each vertex of the mesh
 
−
 
 
−
 
 
−
==Outputs==
 
−
 
 
−
The following fields are added to spin_system object
 
−
 
 
 
       mesh.u, mesh.v      - column vectors with velocities
 
       mesh.u, mesh.v      - column vectors with velocities
 
                             at each vertex of the mesh
 
                             at each vertex of the mesh
Line 30: Line 21:
 
==See also==
 
==See also==
  
−
[[Import,_export,_and_visualisation#Microfluidic_mesh_import_and_plotting|Microfluidic mesh import and plotting]]
+
[[comsol_conc.m]], [[comsol_import.m]], [[comsol_mesh.m]], [[conc_plot.m]], [[mesh_crop.m]], [[mesh_inact.m]], [[mesh_plot.m]], [[mesh_preplot.m]], [[mesh_vorn.m]], [[Import,_export,_and_visualisation]]
  
 
''Version 2.8, authors: [[Anupama Acharya]], [[Ilya Kuprov]]''
 
''Version 2.8, authors: [[Anupama Acharya]], [[Ilya Kuprov]]''

Latest revision as of 06:37, 30 August 2026

Imports ASCII 2D flow velocity files produced by COMSOL.

Syntax

    mesh=comsol_velo(mesh,file_name)

Parameters

   mesh  - mesh object produced by comsol_mesh()

   file_name    - a character string

Outputs

   the following fields are added to the mesh object

      mesh.u, mesh.v      - column vectors with velocities
                            at each vertex of the mesh

See also

comsol_conc.m, comsol_import.m, comsol_mesh.m, conc_plot.m, mesh_crop.m, mesh_inact.m, mesh_plot.m, mesh_preplot.m, mesh_vorn.m, Import,_export,_and_visualisation

Version 2.8, authors: Anupama Acharya, Ilya Kuprov