How to define constitutive properties (c-coefficient matrix) by element in 3d pdetool

2 views (last 30 days)
Hi,
I am trying to define the constitutive properties by elements in the 3D version of pdetool. In the 2D versión, the properties of the elements are stored in each column of the c-coefficient matrix. However, when define the c-coefficient matrix in the same way for the 3D versión, I recibe this message:
Error using pde.PDEModel/assema (line 48) The number of columns in the c-coefficient matrix, 63613, is not equal to one.
where 63613 is the number of elements in the mesh.
Any can help??
Thanks in advance.

Accepted Answer

Alan Weiss
Alan Weiss on 29 Feb 2016
The details of writing nonconstant coefficients for 3-D geometry are here. The c coefficient can have many different values in the range 1 to 9N^2; see 3-D systems.
Alan Weiss
MATLAB mathematical toolbox documentation

More Answers (0)

Community Treasure Hunt

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

Start Hunting!