|
[Sponsors] |
How to assign flow direction for fixedProfile inlet Boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2021, 04:32 |
How to assign flow direction for fixedProfile inlet Boundary condition
|
#1 |
New Member
Lakshman R
Join Date: Apr 2017
Posts: 16
Rep Power: 9 |
Hello,
I am currently simulating atmospheric flow in Openfoam. I have to assign inlet velocity using an equation that varies with height z. I have created a CSV file (placed inside the 0 folder) for the data regarding the inlet velocity based on that equation. Now I have to use this data using fixedProfile boundary condition. But the flow direction is 60 degrees anticlockwise to x-axis. while using fixedProfile BC, I am not able to change the flow direction. (flow direction is in x-direction default) The inlet velocity boundary condition I used is as follows: inlet { type fixedProfile; profile csvFile; profileCoeffs { nHeaderLine 0; // Number of header lines refColumn 0; // Reference column index componentColumns (1 2 3); // Component column indices separator ","; // Optional (defaults to ",") mergeSeparators no; // Merge multiple separators file "0/uprofile.csv"; // name of csv data file // outOfBounds clamp; // Optional out-of-bounds handling // interpolationScheme linear; // Optional interpolation scheme } direction (0 0 1); origin 0; } I am able to change the flow direction using atmBoundaryLayerInletVelocity boundary condition, but there I cannot use the custom values of velocity which I required (saved in CSV file) kindly help. Last edited by lachuktr; August 2, 2021 at 09:30. |
|
August 4, 2021, 21:47 |
|
#2 |
New Member
Lakshman R
Join Date: Apr 2017
Posts: 16
Rep Power: 9 |
any help ...... ?
|
|
August 29, 2021, 11:29 |
|
#3 |
Member
Rahul Vadrabade
Join Date: Apr 2018
Posts: 46
Rep Power: 8 |
Hi,
Can you share a little more information like solver you are using and some pictures of domain demonstrating inlet and other BCs? Hint 1. Try out geometry/mesh transformation, however consider as last option 2. Why don't you create CSV with components of X velocity. If I am correct, you can set x-vel =U*cos60 and y-vel=U*sin60 , z-vel = 0 |
|
Tags |
atmboundarylayerinlet, fixedprofile, flow direction. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: Flow direction on the boundaries must not be tangential to the boundary. | turbomax | CFX | 3 | October 27, 2024 07:19 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |