This function finds the determinant of the jacobian and deformation matrix (B) of eight nodes brick element in finite element analysis:
function [J_det, B]=brick8(V,r,s,t)
%Input
----------
V: (8*3) Vertices coordinate matrix. The rows represent each node and columns x-coordinate ,y-coordinate and z-coordinate.
r,s and t: Values of natural coordinates at the location of integration point.
Output:
----------
J_det: Determinant of the jacobian
B: Deformation Matrix
Ayad Al-Rumaithi (2021). Brick Element (https://www.mathworks.com/matlabcentral/fileexchange/74654-brick-element), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.