Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Coefficient Form
Posted 2011年5月12日 GMT-4 16:41 Version 4.1, Version 4.2 3 Replies
Please login with a confirmed email address before reporting spam
Hello all,
I am fairly new to COMSOL and am attempting to define a new PDE for an axisymmetric model. I'm am trying to use the coefficient form interface, but I'm getting very confused by the notation. The documentation indicates that the dependent variable is, by default a scalar. I would like to define my dependent variable as a vector (specifically, a velocity with components in the radial and axial directions).
As best as I can figure, the way to do this is to change the number of dependent variables to two. But if this turns the dependent variable into a vector, the dimensions of the other components of the PDE don't seem to add up. For instance, the diffusion coefficient becomes what appears to be a 2x2 array of 2x2 matrices, whereas the gradient of the dependent variable vector would itself be a 2x2 matrix. I also do not understand why the terms alpha, beta, and gamma are defined component-wise.
Any clarification on the use of this interface or its notation would be most welcome. Thanks.
David
I am fairly new to COMSOL and am attempting to define a new PDE for an axisymmetric model. I'm am trying to use the coefficient form interface, but I'm getting very confused by the notation. The documentation indicates that the dependent variable is, by default a scalar. I would like to define my dependent variable as a vector (specifically, a velocity with components in the radial and axial directions).
As best as I can figure, the way to do this is to change the number of dependent variables to two. But if this turns the dependent variable into a vector, the dimensions of the other components of the PDE don't seem to add up. For instance, the diffusion coefficient becomes what appears to be a 2x2 array of 2x2 matrices, whereas the gradient of the dependent variable vector would itself be a 2x2 matrix. I also do not understand why the terms alpha, beta, and gamma are defined component-wise.
Any clarification on the use of this interface or its notation would be most welcome. Thanks.
David
3 Replies Last Post 2011年10月17日 GMT-4 18:12