A matlab script solving a linear complementarity problem:
A*u = f + B*eta, u'*eta=0, u>=0, 0<=eta<=1
appearing in lubrication with cavitation.
The script depends on LCPSolve.m also found at the matlab file central: http://www.mathworks.com/matlabcentral/fileexchange/41485
Andreas Almqvist (2021). A cavitation algorithm (https://www.mathworks.com/matlabcentral/fileexchange/41484-a-cavitation-algorithm), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!