VirtualFCS.Fluid.Examples.CompressorMapSweep

This test drives a CompressorMap object, whose pressure ratio and isentropic efficiency are read fromCSV data file Resources/CompressorMaps/compressor_map.csv, with a shaft speed that follows (with a rate change limiter) a table sampling the RPMs values of the map's speed lines.

The mass flow is set directly by an outlet boundary and oscillates sinusoidally between the surge and choke lines as defined for the present speed line; this is also passed through a rate change limiter.

Making a parametric plot with compressor.m_flow on the X axis and compressor.p_ratio_dyn will then provide a decent visualisation of the map, that may be compared to the original plot of the data.

Contents