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!