CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

tangent vectors in directionMixed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2011, 11:02
Default tangent vectors in directionMixed
  #1
Member
 
Join Date: Aug 2010
Posts: 31
Rep Power: 15
Martin80 is on a distinguished road
Hi,


I am using directionMixed BC and want to know the within used tangent vectors.


To precise my question:
Let's split v into the face normal component and into two tangential components like
v = v_n *n + v_t1 * t1 + v_t2 *t2


When I am using directionMixed like this:
refValue uniform (0 0 1);
refGradient uniform (2 3 0);
valueFraction uniform (0 0 0 0 0 1);


I have set the boundary conditions (hopefully) like:
v_n=1;
\partial_n v_t1=2;
\partial_n v_t2=3;


To get the face normal vector n I am using:

mesh.Sf().boundaryField([b_outlet]/mesh.magSf().boundaryField([b_outlet];


How can I get the tangential vectors t1 and t2 ?


Maybe someone has an useful hint,
Martin.
Martin80 is offline   Reply With Quote

Old   February 25, 2024, 13:13
Default
  #2
New Member
 
Khoder Alshaar
Join Date: May 2021
Posts: 7
Rep Power: 4
khoder Alshaar is on a distinguished road
H!
I am calling the time machine. Have you ever found the answer? Cause I need it rn.
I have made a new thread but again no one replied!
khoder Alshaar is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
directionMixed b.c sersunzo OpenFOAM Running, Solving & CFD 8 September 9, 2009 07:56
Integration Points and normal area vectors Bloshchitsyn Vladimir CFX 0 November 26, 2007 07:35
2 velocity vectors ashish CFX 3 June 19, 2007 18:32
Velocity vectors SA Main CFD Forum 1 March 8, 2007 02:04
how velocity vectors are moving ,pls answer ravi CFX 0 October 28, 2005 08:08


All times are GMT -4. The time now is 12:07.