There is a logical relationship among the three mentioned methods; however, distinguishing which one is comprehensive and which one is specialized is essential in a fluid mechanic context.
First of all, the term 'fluid mechanics' is more commonly used than 'fluid mechanic'
The Ritz method, the method of weighted residuals (MWR), and variational methods are all closely related approaches for approximating solutions to partial differential equations (PDEs) that arise in various fields, including fluid mechanics. They share the common goal of finding an approximate solution that minimizes a residual or energy functional.
In the context of fluid mechanics, these methods are commonly used to approximate solutions to the Navier-Stokes equations, which govern the flow of viscous fluids. The choice of method depends on the specific problem and the desired level of accuracy.
All right, let's have a quick review:
The Ritz method, also known as the Rayleigh-Ritz method, is a general approach for solving variational problems. It involves approximating the unknown solution using a trial function that is expanded in terms of a set of basis functions. The residual is then formed by substituting the trial function into the governing PDE and multiplying by a weighting function. The solution is found by minimizing the residual over the set of admissible trial functions.
The method of weighted residuals (MWR) is a broader class of numerical methods that encompasses the Ritz method and other approaches. It involves discretizing the governing PDE by introducing a trial function and a weighting function. The residual is then formed by substituting the trial function into the PDE and multiplying by the weighting function. The solution is found by enforcing the residual to be zero at a set of collocation points or by integrating the residual over the domain of the problem.
Variational methods are based on the principle that the true solution of a physical system minimizes a certain energy functional. This energy functional can be derived from the governing PDEs using Hamilton's principle or other variational principles. The solution is then found by minimizing the energy functional over the set of admissible trial functions.