FEM to solve for 2D Laplace's Equation

版本 1.0.0 (2.2 KB) 作者: Roche de Guzman
FEM solution to a steady-state PDE (example: Laplace's) applied to an electric potential
517.0 次下载
更新时间 2019/4/26

查看许可证

%% Laplace's Equation: nabla^2 u = 0 (version 2: acquire matrix results)
% 2 space dimensions: uxx + uyy = 0, where u = V (electric potential)
% by Prof. Roche C. de Guzman
clear; clc; close('all');

%% Given
% source geometry (circle)
r = 0.5; % radius [m]
C = [0 0]; % center (h,k)
% domain geometry (rectangle)
f = 1.5; % factor relative to the circle
% electric potential
Vg = 0; % ground
Vs = 110; % source [V]

引用格式

Roche de Guzman (2024). FEM to solve for 2D Laplace's Equation (https://www.mathworks.com/matlabcentral/fileexchange/71357-fem-to-solve-for-2d-laplace-s-equation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Boundary Conditions 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0