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

How to set a tangential-only velocity boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By bobuhito

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2022, 16:37
Default How to set a tangential-only velocity boundary condition
  #1
New Member
 
BH
Join Date: Dec 2021
Posts: 9
Rep Power: 4
bobuhito is on a distinguished road
I'm running a 2D transient flow simulation and have a flat patch at which I would like to force a pressure of 0 and tangential velocity of 0 (leaving normal velocity free, and gradients free, for the solver to calculate at each time step). If the flow were into the block, I know "type pressureInletOutletVelocity" works perfectly for this, but in the outflow case, for better convergence, this type does not constrain the tangential velocity. I don't think my case will have a convergence problem and would prefer to just keep the tangential constraint for both directions.

At the most basic level, I just want the reversed constraint of "type fixedNormalSlip" which has normal velocity fixed but tangential velocity free. So, I am looking for the equiavelent of a new "type fixedTangential" with tangential velocity fixed and normal velocity free. (It might even make things easier knowing that my patch is vertical such that normal direction is along xhat, and tangential direction is along yhat.)

Any suggestions?
lourencosm likes this.
bobuhito is offline   Reply With Quote

Old   January 14, 2022, 14:49
Default
  #2
Senior Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 107
Rep Power: 9
JulioPieri is on a distinguished road
try coding your BC, or using swak4Foam.

have a look on how "fixedNormalSlip" works and implement a codedBC that adds a similar chunk of code, change the directions of interest.
JulioPieri is offline   Reply With Quote

Reply

Tags
boundary condition, tangential component, velocity


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
How to set Open boundary condition in FLUENT? vincenzolights FLUENT 5 March 30, 2020 11:40
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 07:08
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 05:58
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
help with velocity boundary condition potentialFoam hfc OpenFOAM Running, Solving & CFD 2 May 31, 2012 20:52


All times are GMT -4. The time now is 19:46.