FEM to solve for 2D Laplace's Equation

FEM solution to a steady-state PDE (example: Laplace's) applied to an electric potential
593 téléchargements
Mise à jour 26 avr. 2019

Afficher la licence

%% 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]

Citation pour cette source

Roche de Guzman (2026). FEM to solve for 2D Laplace's Equation (https://fr.mathworks.com/matlabcentral/fileexchange/71357-fem-to-solve-for-2d-laplace-s-equation), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2019a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0