comsol_velo.m

From Spinach Documentation Wiki
Revision as of 06:37, 30 August 2026 by Kuprov (talk | contribs) (sync with Spinach main f053e432: outputs note line matches head header (fields added to the mesh object))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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