Load Calculation of Hydrodynamic Journal Bearing
조회 수: 12 (최근 30일)
이전 댓글 표시
I have the pressure field generated in circumferencial and axial direction. But can't crack the double integration part. Can anybody help me with a code for that? It would be big help.
댓글 수: 2
채택된 답변
Hassaan
2023년 12월 30일
편집: Hassaan
2023년 12월 30일
you could use integral2 or dblquad function:
% Define the pressure function, replace this with your actual function
pressure = @(theta_prime, z) cos(theta_prime); % Example function
% Integration bounds
theta_prime_min = 0;
theta_prime_max = 2 * pi;
z_min = 0;
z_max = 1; % Replace with the actual length L of the bearing
% Radius R is a constant, replace with the actual radius of the bearing
R = 1;
% Radial load Wr calculation using double integration
Wr = integral2(@(theta_prime, z) pressure(theta_prime, z) .* R .* cos(theta_prime), ...
z_min, z_max, theta_prime_min, theta_prime_max);
% Tangential load Wt calculation using double integration
Wt = integral2(@(theta_prime, z) pressure(theta_prime, z) .* R .* sin(theta_prime), ...
z_min, z_max, theta_prime_min, theta_prime_max);
disp(Wr);
disp(Wt);
Replace the pressure function and the bounds with your actual function and bearing dimensions.
------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!