bcMatrix, boundary condition Matrix

Provide boundary condition matrix for 2D mechncal finite element modeling
2.4K Downloads
Updated 16 Feb 2006

No License

% ====== Providing boundary conditions matrix bcm =========
% ======= (system case, e.g. for 2D plane-strain problem, 2 PDEs for 2 dependent variables) =====
%
% A crutial step for solving boundary value problems (BVP) is to define the boundary conditions (BCs).
% In a recent submission,
% "Solve boundary value probelm by command lines," an simple example is
% given for the scalar case (1 PDE for 1 dependent variable)
% subject to Neumann BC only (sub-function "bcNeumann" in that submission).
% I now try to show how to construct the BC
% matrix for system case (Dimession N, i.e. N PDEs for N dependent variables).
% Dirichlet, Neumann, and mixed BCs are considered.
% A more complex example showing how to use this function will be provided
% soon
%
% ===== By Hongxue Cai (h-cai@northwestern.edu) =======

Cite As

Hongxue Cai (2024). bcMatrix, boundary condition Matrix (https://www.mathworks.com/matlabcentral/fileexchange/9997-bcmatrix-boundary-condition-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0