The Wire Mesh Sensor (WMS) is a device used to measure gas-liquid two-phase flows developed in HSDR research center.
The sensor can be installed cross-sectionally to a pipe in which gas and liquid are flowing together and it gives you an image of the gas and liquid distribution crossing the pipe.
An example is given in the next figure. It represents a cross-section of the pipe with a resolution of 24 by 24 divisions or cells. Cells in white are occupied by gass (100% gass), cells in black are filled by liquid (0% gass), and the range of yellow and red colours represent cells filled with both gass and liquid in different proportions.
The data contained in this image can be stored in a matrix of dimensions 24x24 which values range from 0 to 100. Additionally, by taking many images over time, it produces a matrix of data with an additional dimension which is time. This makes a 3D matrix and this is the form in which the data of WMS is normally processed.
Some codes to open and process these 3D matrices of data of the WMS are included in this repository
Cfile2Data opens .cdat files containing 12 bits capacitive raw data
Vfile2Data opens .v files containing 8 bits void fraction data
Rfile2Data opens .ces files containing 12 bits capacitive raw data (only works for 32x32 wires)
Data2Vfile saves data into a .v files containing 8 bits void fraction data
Data2Cfile saves data into a .cdat files containing 12 bits raw data
weightsMatrixGenerator generates the void fraction weights matrix for a specific sensor geometry
maskGenerator generates the mask matrix from the weights matrix
radialWeightsMatrixGenerator generates the weights matrix to calculate the radial distribuition of the void fraction
rotationMatrixGenerator generates the rotation matrix for an especific angle of rotation
calibrationPermittivity obtains calibrated data of the void fraction from capacitive raw data
Data2TimeSeries calculates void fraction time series from the void fraction data
Data2RadialDistribution calculates void fraction radial distribution from void fraction data
rotateData rotates void fraction data matrix using the rotation matrix for an especific angle of rotation
example24x24 is a Matlab live script that shows how to use all these functions
WMS data processing software manual, link to WMS developers, HZDR Innovation