Code covered by the BSD License  

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
A cavitation algorithm

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 3.98 KB File ID: #41484 Version: 1.2
image thumbnail

A cavitation algorithm

by

 

25 Apr 2013 (Updated )

Matlab routines solving a linear complementarity problem appearing in lubrication with cavitation

| Watch this File

File Information
Description

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

Acknowledgements

A Pivoting Algorithm Solving Linear Complementarity Problems inspired this file.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
MATLAB Search Path
/
/__MACOSX
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
26 Apr 2013 1.1

Updated the expressions for boundary conditions by subtracting the cavitation pressure pc:
uL1 = exp((pL1-pc)/beta)-1;
uL2 = exp((pL2-pc)/beta)-1;

02 May 2013 1.2

Fixed spelling of title:
Was: A cavitation alogrithm
Should be/is now: A cavitation algorithm

22 Apr 2016 1.2

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.

Contact us