Robert Koslover
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 year ago
2023年11月1日 GMT-4 10:08
Updated:
1 year ago
2023年11月1日 GMT-4 10:13
I hope the following discussion helps. The unit vector (nx,ny,nz) is a unit normal to a surface. It varies from one surface to another in Comsol Multiphysics, because surfaces can be oriented in various ways and may also be curved. In other words, (nx,ny,nz) is a local (ie., it can be spatially dependent) unit normal vector. If (cx,cy,cz) is also a vector (and likely spatially dependent) quantity, then is the (again, local) scalar product of (cx,cy,cz) and (nx,ny,nz). But since (nx,ny,nz) is a unit normal to the surface, this scalar product nicely extracts the projection of the (cx,cy,cz) vector normal to that surface. In contrast, your quantity D, which (if I understand you correctly) is an ordinary scalar (which may or may not be spatially dependent, but is still a scaler). Multiplying a vector by a scalar simply "scales" the vector. And yes, you may have a good reason to do that. But it is not the same thing as forming the "scaler product" between two vectors. Ok, now notice how your final expression strangely attempts to form a new triplet of numbers by separately multiplying the x,y, and z components of two other vectors together? That is not a standard vector operation. I.e., one does not normally have any good physical reason to take two vectors, say: (Ax,Ay,Az) and (Bx,By,Bz) and form the abnormal-triplet construction: (AxBx,AyBy,AzBz). You see, that kind of operation is neither a scalar (aka "dot") product nor a vector (aka "cross") product. Computing that sort of thing is possible (and the software won't stop you from doing it) but it isn't likely to correspond to anything physical.
-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
I hope the following discussion helps. The unit vector (nx,ny,nz) is a unit normal to a surface. It varies from one surface to another in Comsol Multiphysics, because surfaces can be oriented in various ways and may also be curved. In other words, (nx,ny,nz) is a local (ie., it can be *spatially dependent*) unit normal vector. If (cx,cy,cz) is also a vector (and likely spatially dependent) quantity, then nx*cx+ny*cy+nz*cz is the (again, local) scalar product of (cx,cy,cz) and (nx,ny,nz). But since (nx,ny,nz) is a *unit* normal to the surface, this scalar product nicely extracts the *projection* of the (cx,cy,cz) vector normal to that surface. In contrast, your quantity D, which (if I understand you correctly) is an ordinary scalar (which may or may not be spatially dependent, but is still a scaler). Multiplying a vector by a scalar simply "scales" the vector. And yes, you may have a good reason to do that. But it is not the same thing as forming the "scaler product" between two vectors. Ok, now notice how your final expression strangely attempts to form a new triplet of numbers by separately multiplying the x,y, and z components of two other vectors together? That is *not* a standard vector operation. I.e., one does not normally have any good physical reason to take two vectors, say: (Ax,Ay,Az) and (Bx,By,Bz) and form the abnormal-triplet construction: (AxBx,AyBy,AzBz). You see, that kind of operation is neither a scalar (aka "dot") product nor a vector (aka "cross") product. Computing that sort of thing is *possible* (and the software won't stop you from doing it) but it isn't likely to correspond to anything physical.