Personal tools
You are here: Home / Software / Utilities / LSV

LSV Utility

LSV is a program that computes least-squares projection from the element-level vorticity to the node-level, suitable for visualization in EnSight or pV3. Only 1-pass of the lumped mass-matrix iteration is generally sufficient here.

Documentation

This is it, and you can also look at the source code in the lsv CVS module. The file parseinput.F can be helpful in identifying all current options, and the initialize.F will show you some of the default values.

Data Requirements

LSV reads standard MIXD format data files. The files should be pure IEEE binary, 64-bit floating point, node-level. For more information on writing pure binary files see the EWD library documentation.

System Requirements

LSV has been compiled under IRIX 6.x, Linux 2.x and Mac OS 10.x.

Usage

LSV executable resides usually in /usr/local/bin/lsv. When run interactively, it looks for a lsv.in input file in the current directory, and if it is found, accepts the command input from there. If that file does not exist, the commands are read from the standard input. Alternatively, the input can be redirected from an arbitrary file. There are no command line options at the moment. The program produces two degrees of freedom in 2D case (signed vorticity and its magnitude), and five degrees of freedom in the 3D case (three vorticity components, their magnitude and helicity).

Input

LSV accepts the following keywords as commands.
Key values can be integer %d, floating point %f and strings without spaces %s.

KeyDescriptionExampleDefault
abort aborts the program abort -
source %s temporarily switches command input to another file source minf -
iquad %d quadrature code iquad 2 1
nsd %d number of spatial dimensions nsd 2 3
nen %d number of element nodes nen 8 4
ndf %d number of degrees of freedom per node ndf 5 4
ne %d number of mesh elements ne 396682 -
nn %d number of mesh nodes nn 139352 -
nrec %d number of data and/or coordinate records nrec 20 1
minrec %d nstarting data and/or coordinate record minrec 2 1
maxrec %d ending data and/or coordinate record maxrec 18 nrec
increc %d data and/or coordinate record increment increc 2 1
onerec %d single record number onerec 18 -
udf %d x-velocity degree of freedom udf 2 1
vdf %d y-velocity degree of freedom vdf 3 2
wdf %d z-velocity degree of freedom wdf 4 3
dir %s default directory dir /work .
mien %s file name containing connectivity array mien /tmp/mien mien
mxyz %s file name containing nodal coordinates mxyz /tmp/mxyz.space mxyz
data %s file name containing nodal data data /tmp/do.0048 data
vort %s file name for placing vorticity mrng /tmp/vort vort

Sample Input

As an example, consider the input file listed below:

hydra(test)% cat lsv.in
source minf.space
mxyz mxyz.space
data do.1e7.0500
vort vo.1e7.0500
 
debug on
moving on
ndf 4
nrec 5

This would create a vorticity file vo.1e7.0500 suitable for analysis with Pager or EnSight.

« May 2013 »
May
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
2728293031
Upcoming Events
Marine 2013 May 29, 2013 - May 31, 2013 — Hamburg, Germany
MPF 2013 Jun 11, 2013 - Jun 14, 2013 — Sardinia, Italy
Coupled Problems 2013 Jun 17, 2013 - Jun 19, 2013 — Ibiza, Spain
USNCCM 12 Jul 22, 2013 - Jul 25, 2013 — Raleigh, North Carolina
GACM 2013 Sep 30, 2013 - Oct 02, 2013 — Hamburg, Germany
Upcoming events…