A cavitation algorithm
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
Cite As
Andreas Almqvist (2024). A cavitation algorithm (https://www.mathworks.com/matlabcentral/fileexchange/41484-a-cavitation-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Sparse Matrices >
Tags
Acknowledgements
Inspired by: A pivoting algorithm solving linear complementarity problems
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.2.0.0 | The maximum number of pivots passed to LCPSolve is no specified as the number of degrees of freedoms N, to make sure that the pivoting is not prematurely truncated.
|
||
1.1.0.0 | Updated the expressions for boundary conditions by subtracting the cavitation pressure pc:
|
||
1.0.0.0 |