資源簡介
李茲法的思想首先由Lord Rayleigh提出,后又由W. Ritz獨立地從更一般的意義上闡明其思想,因此此法又稱為Rayleigh-Ritz法。它無需導出微分方程(即Euler-Lagrange方程)來進行求解,而是直接從泛函出發,通過假設所求駐值函數為已知函數的組合,將變分問題化為函數求極值問題。
代碼片段和文件信息
function?[DC]=RitzTorsionD(abn)
%?This?function?calculates?the?torsional?rigidity?of?rectangular?section
%??based?on?Ritz?method?in?which?the?trial?function?is
%????(x^2-a^2)*(y^2-b^2)*(?C1?+?C2*x^2*y^2?+?C3*x^4*y^4?+?C4*x^6*y^6?+?...)
%?Usage:
%???????[CD]?=?RitzTorsion(abn)
%?Input:
%???????a?------?width?of?the?section
%???????b?------?height?of?the?section
%???????n?------?the?number?of?the?trial?functions
%?Output:
%???????D?------?the?torsional?rigidity
%???????C?------?the?coefficients?of?the?trial?functions
%
%---------------------------------------------------------------
%??Any?comments?can?be?sent?to?xurongqia
評論
共有 條評論