Fast View Factor Computation

バージョン 1.0.0.0 (3.52 KB) 作成者: Matt Fig
Computes the view factors for two 3D planer polygons
ダウンロード: 415
更新 2016/9/22

ライセンスの表示

This function will calculate and return the view factors (also called configuration factors) and the areas of the given planar polygons in 3D as needed for radiation heat transfer problems. As it uses Gauss-Legendre quadrature for the contour integrals, it is fast. The function also implements a fast polygon area calculation.
Also included is a test file which runs three different examples to compare the output of this file with known analytic results. This is included as a convenience to illustrate correct usage.
Example: Use ViewFactor to estimate the view factor between two parallel and coaxial circular disks of radius 1, separated by a distance of 3.

M = 120; % Number of vertices of approximating polygons.
[x,y,z] = cylinder(1,M); % Use CYLINDER to create M points on circle.
z(2,:) = z(2,:)*3; % Move 2nd disk from z=1 to z=3
C1 = [x(1,1:M-1)',y(1,1:M-1)',z(1,1:M-1)']; % Coords of the vertices of the polygons
C2 = [x(2,1:M-1)',y(2,1:M-1)',z(2 ,1:M-1)'];
VFe = .5*(11-sqrt(117)); % Exact solution, for comparison.
VF = ViewFactor(C1,C2,2); % Use 2 Gauss points per segment pair.
The value returned show a relative error of .04%

Inspired by file 5664.

引用

Matt Fig (2024). Fast View Factor Computation (https://www.mathworks.com/matlabcentral/fileexchange/59234-fast-view-factor-computation), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Added an image.