Difference between revisions of "Comsol velo.m"
(Created page with "{{DISPLAYTITLE:comsol_velo.m}} __NOTOC__ Imports ASCII 2D flow velocity files produced by COMSOL. ==Syntax== spin_system=comsol_velo(spin_system,file_name) ==Arguments...") |
(Sync syntax/arguments/outputs with current Spinach source) |
||
| 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) | |
==Arguments== | ==Arguments== | ||
| − | + | mesh - mesh object produced by comsol_mesh() | |
| − | + | ||
file_name - a character string | file_name - a character string | ||
| + | |||
| + | Ouputs: | ||
| + | |||
| + | the following fields are added to the mesh object | ||
| + | |||
| + | mesh.u, mesh.v - column vectors with velocities | ||
| + | at each vertex of the mesh | ||
| + | |||
| + | ilya.kuprov@weizmann.ac.il | ||
==Outputs== | ==Outputs== | ||
| Line 20: | Line 30: | ||
==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: [[Anupama Acharya]], [[Ilya Kuprov]]'' | ''Version 2.8, authors: [[Anupama Acharya]], [[Ilya Kuprov]]'' | ||
Revision as of 15:01, 5 April 2026
Imports ASCII 2D flow velocity files produced by COMSOL.
Syntax
mesh=comsol_velo(mesh,file_name)
Arguments
mesh - mesh object produced by comsol_mesh()
file_name - a character string
Ouputs:
the following fields are added to the mesh object
mesh.u, mesh.v - column vectors with velocities
at each vertex of the mesh
ilya.kuprov@weizmann.ac.il
Outputs
The following fields are added to spin_system object
mesh.u, mesh.v - column vectors with velocities
at each vertex of the mesh
See also
Microfluidic mesh import and plotting
Version 2.8, authors: Anupama Acharya, Ilya Kuprov