Discussion ClosedThis 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.

Normal vector to a selected boundary

Please login with a confirmed email address before reporting spam

Hi ALL,

What is the expression for the normal vector to aselected boundary? For instance, I tried plotting the velocity vector normal to a selected boundary using (v.nx)>0 to represent y-component velocity in the upward direction but I did not get the expected result.

Thank you.


2 Replies Last Post 2023年11月7日 GMT+1 01:08
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 10 months ago 2023年11月4日 GMT+1 00:10
Updated: 10 months ago 2023年11月4日 GMT+1 00:10

The normal vector on the surface is given by. If you have a vector field given by, then the component of that field that is along the normal to the aforementioned surface is given by its scalar product with that surface normal vector, i.e.,. (In 2D, use two components instead of three.)

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
The normal vector on the surface is given by (nx,ny,nz). If you have a vector field given by (Vx,Vy,Vz), then the component of that field that is along the normal to the aforementioned surface is given by its scalar product with that surface normal vector, i.e., nx*Vx+ny*Vy+nz*Vz. (In 2D, use two components instead of three.)

Please login with a confirmed email address before reporting spam

Posted: 10 months ago 2023年11月7日 GMT+1 01:08
Updated: 10 months ago 2023年11月7日 GMT+1 01:07

The normal vector on the surface is given by (nx,ny,nz). If you have a vector field given by (Vx,Vy,Vz), then the component of that field that is along the normal to the aforementioned surface is given by its scalar product with that surface normal vector, i.e., nxVx+nyVy+nz*Vz. (In 2D, use two components instead of three.)

Thank you so much! This perfectly solved my concern.

>The normal vector on the surface is given by (nx,ny,nz). If you have a vector field given by (Vx,Vy,Vz), then the component of that field that is along the normal to the aforementioned surface is given by its scalar product with that surface normal vector, i.e., nx*Vx+ny*Vy+nz*Vz. (In 2D, use two components instead of three.) Thank you so much! This perfectly solved my concern.

Note that while COMSOL employees may participate in the discussion forum, COMSOL®software users who are on-subscription should submit their questions via theSupport Centerfor a more comprehensive response from the Technical Support team.

Baidu
map