Hello,
I want to extract a stiffness and mass matrix of a 3D-object. For this purpose I use the pde toolbox, import the .stl file, specifiy the pde coefficients, create the mesh and compute the matrices M and K via "assembleFEMatrices", see code below. Now, I have the system M*u_dd + K*u=0.
How do I now find out how the DOFs are arrangend in u? I haven't found any hint in the documentation of function assembleFEMatrices.
model = createpde(3);% geometry
gm = multicuboid(1,1,1); % simple example
model.Geometry=gm;% mesh
generateMesh(model,'Hmin',0.5);pdeplot3D(model,'NodeLabels','on');% pde coefficients
m = 8000; % Material density in kg/m^3
E = 200e9; % Modulus of elasticity in Pascals
nu = .3; % Poisson's ratio
c = elasticityC3D(E,nu);a = 0;f=[0; 0;0];specifyCoefficients(model,'m',m,'d',0,'c',c,'a',a,'f',f);% matrices
FEM = assembleFEMatrices(model);M=FEM.M;K=FEM.K;
Thank you
Martin
Best Answer