|
[Sponsors] |
Velocity as a function of height - Boundary condition. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2018, 08:37 |
Velocity as a function of height - Boundary condition.
|
#1 |
New Member
SSA
Join Date: Dec 2017
Posts: 16
Rep Power: 8 |
Hi all,
I am modelling a flow through a wind tunnel and I need to set my inlet velocity as a function of height of the wind tunnel. (Velocity increases as height increases). Is there any way to do it. P.S: I am using Openfoam 4.0 and I think the groovyBC doesn't work. |
|
August 21, 2018, 12:29 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 14 |
There are a number of ways to do this. I believe that I've previously compiled swak4Foam for OF4. If you don't want to use groovy bc, then a fixedProfile boundary condition will work -- you can define a functional form or read velocities (as a function of height) from a csv. Information on how to do this can be found here : https://github.com/OpenFOAM/OpenFOAM...FvPatchField.H.
Caelan |
|
August 22, 2018, 09:46 |
|
#3 |
New Member
SSA
Join Date: Dec 2017
Posts: 16
Rep Power: 8 |
Hi clapointe, Thanks for the info. I also found another way to do this. I got the cell location from writecellcentres command and then I calculated the velocity for each point and fed into the inlet as nonuniform list.
thanks once again for your quick reply. |
|
March 25, 2019, 08:34 |
Hamza
|
#4 |
New Member
HM
Join Date: Feb 2018
Posts: 1
Rep Power: 0 |
Hello Senthilathiban,
Did you manually calculated the velocity and then manually add it in the 0.U file? I am also having the same problem. |
|
March 25, 2019, 11:01 |
|
#5 | |
New Member
SSA
Join Date: Dec 2017
Posts: 16
Rep Power: 8 |
Quote:
More infor at https://www.youtube.com/watch?v=rfNYVqU1py4&t= |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 04:39 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 13:41 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 00:00 |
Velocity inlet boundary condition for porous medium | Chander | CFX | 3 | March 11, 2012 21:18 |
vorticity boundary condition | bearcharge | Main CFD Forum | 0 | May 14, 2010 11:32 |