.VEC

VEC File

DaVis Vector Field File
Ask a question
QUICK ANSWER

A VEC file is a binary scientific data file produced by LaVision DaVis, used in fluid dynamics research to store 2D velocity vector fields from Particle Image Velocimetry (PIV) experiments. Open it with DaVis (lavision.de) or, for free, with the PIVMat toolbox in MATLAB. The file contains no executable content and poses no security risk.

Developer: LaVision GmbH Category: Data Files MIME: application/octet-stream
OPENS ON Windows Linux
Related: .PKPASS · .DAT · .JSON · .RIS

On this page

19k+ extensions indexed
Last reviewed Sep 10, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the VEC file format?

A .vec file stores a 2D two-component velocity vector field produced by DaVis, the scientific imaging and flow analysis software suite from LaVision GmbH. It is the primary output of Particle Image Velocimetry (PIV) processing - the technique that cross-correlates pairs of particle-seeded flow images to compute instantaneous fluid velocity maps.

Each .vec file holds the U and V velocity components on a regular 2D grid, together with metadata such as spatial scale, physical units (e.g. m/s or px/frame), and frame index. The binary format is proprietary to LaVision and has evolved across DaVis versions 4 through 11, though all versions maintain read compatibility.

The companion format .vc7 extends the concept to three-component stereo or volumetric (Tomo-PIV) data, while .im7 stores the raw particle images that precede vector calculation. DaVis 11 (2024) is the current release and reads all legacy .vec files.

Outside DaVis, the PIVMat toolbox for MATLAB provides the loadvec function, which reads both .vec and .vc7 files for custom post-processing, statistics, and visualization workflows.

  • Typical applications include aerodynamics, hydrodynamics, combustion research, and biofluid mechanics.
  • Grid spacing, interrogation window size, and overlap parameters are stored in file metadata.
  • No publicly documented magic bytes exist for this format.

Security & safety

RISK: LOW

VEC files are passive binary scientific data files with no executable content. No known security risks.

Format details

in a nutshell
FULL NAMEDaVis Vector Field Fileaka LaVision VEC file, PIV vector field
DEVELOPERLaVision GmbHsince late 1990s (DaVis 4.x era)
CATEGORYData Files
MIME TYPEapplication/octet-stream
TYPEbinary scientific vector-field data (proprietary)
This extension is also used by…
  • Vectra vector graphics (legacy) - Some older Vectra/HP vector graphics applications used .vec for simple 2D vector drawing data, unrelated to LaVision.

Programs that open VEC files

Windows2 apps
DaVis (LaVision) Paid Open DaVis, navigate to the file browser, double-click the VEC file to display the vector field.
PIVMat Toolbox for MATLAB Free In MATLAB: F = loadvec('file.vec'); showvec(F); - reads and plots the vector field.
Linux1 app
PIVMat Toolbox for MATLAB Free Same as Windows: loadvec() in MATLAB on Linux.

Technical details

deep spec
Format typeBinary scientific 2D vector-field data
DeveloperLaVision GmbH (DaVis software suite)
Byte orderLittle-endian
EncodingBinary (proprietary LaVision DaVis container)
Magic bytesNone publicly documented
Typical file size10 KB - 50 MB (depends on vector grid dimensions)
Data components2D two-component velocity (U, V) on a regular Cartesian grid
Metadata storedSpatial scale, physical units, frame index, interrogation window parameters
Internal versioningEvolves across DaVis 4 through 11; not publicly specified
Associated OSWindows (DaVis GUI); Linux (DaVis worker/server nodes)
Companion formats.vc7 (3-component stereo/volumetric), .im7 (raw particle images)
Third-party accessPIVMat MATLAB toolbox via loadvec function
Releasedlate 1990s (DaVis 4.x era)
Latest versionDaVis 11 (2024)
Specificationwww.lavision.de

VEC conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with VEC files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about VEC files.

Frequently asked questions

What is a VEC file?
A binary file containing 2D velocity vector field data produced by LaVision DaVis PIV software, used in fluid dynamics research.
How do I open a VEC file without DaVis?
Use the free PIVMat toolbox for MATLAB: loadvec('yourfile.vec') reads it into MATLAB for analysis and plotting.
What is the difference between VEC and VC7?
VEC stores 2-component (2D) vector fields; VC7 stores 3-component (stereo/volumetric) vector fields from stereoscopic or tomographic PIV.
Can I convert a VEC file to Excel?
Yes - use DaVis's export function or PIVMat's writevec() to export as CSV, which Excel can open.

References

1LaVision DaVis Softwarewww.lavision.de
2PIVMat Toolbox - loadvec documentationwww.fast.u-psud.fr

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.PARTPartial Download File
8.DBSQLite Database File
9.BINCD/DVD Disc Image (BIN/CUE)
10.JSONJavaScript Object Notation file

Related extensions

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z