⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 residual.m

📁 MDPSAS工具箱是马里兰大学开发的
💻 M
字号:
function A = residual(A)% residual.m Nonlinear equation model object residual update.%% INPUT/OUTPUT PARAMETERS%        A : an object derived from the neqmodel class%% Copyright (c) by Raymond A. Adomaitis, 1998-2003unpack(A,'var')unpack(A,'param')% Interior residualRp = DDx*T + DDy*T;% Boundary condition residuals% radiation from bottomRp  = setbval(Rp,Dx*T-(T^4-0),'x','min');% radiation from topRp  = setbval(Rp,Dx*T-(0-T^4),'x','max');% radiation from left sideRp  = setbval(Rp,Dy*T-(T^4-0),'y','min');% constant temp BCRp = setbval(Rp,T-Tbc,'y','max');A = set(A,'resid',Rp);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -