|
[Sponsors] |
February 19, 2019, 04:17 |
BC for inlet angle for velocity
|
#1 |
New Member
BC
Join Date: Feb 2019
Posts: 2
Rep Power: 0 |
Hi guys,
I'm facing a problem in fixing the boundary conditions to set up inlet angle for velocity. I'm using bouyantBousinesqiSimpleFoam as the solver. I kindly request you to help me out on this. Thank You |
|
February 20, 2019, 09:25 |
|
#2 |
Senior Member
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8 |
for a flow velocity of U and angle t, calculate: Ux = U*cos(t) and Uy = U*sin(t) and use those values in a fixedValue inlet velocity.
|
|
March 7, 2020, 20:14 |
|
#3 | |
Member
Gang Wang
Join Date: Oct 2019
Location: China
Posts: 64
Rep Power: 8 |
Quote:
Have you solved this problem? I also want to find a solution to define the inlet velocity direction with the inlet boundary. How to define it? Best regards, Gang Wang |
||
March 16, 2020, 20:46 |
|
#4 |
New Member
Hesam Tofighian
Join Date: Mar 2019
Posts: 11
Rep Power: 7 |
You can use the line below to find the normal vector of any patch:
Code:
tmp<vectorField> n = patch().nf(); If you don't like coding, use the flowRateInletVelocity Boundary condition. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic contact angle calculation in multiphaseInterFoam | rajeshchem | OpenFOAM | 3 | December 23, 2022 15:00 |
Dynamic contact angle issue: fluent UDF couldn't set the correct contact angle | FelixJJ | FLUENT | 2 | October 20, 2021 03:39 |
inaccurate contact angle capturing in high shear/viscousity flow | chery1986 | OpenFOAM Running, Solving & CFD | 0 | October 23, 2015 01:14 |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |
Normal vector, slope and aspect angle | g_niro | Main CFD Forum | 0 | February 2, 2011 18:24 |