CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Velocity as a function of height - Boundary condition.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By senthilathiban

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2018, 08:37
Default Velocity as a function of height - Boundary condition.
  #1
New Member
 
SSA
Join Date: Dec 2017
Posts: 16
Rep Power: 8
senthilathiban is on a distinguished road
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.
senthilathiban is offline   Reply With Quote

Old   August 21, 2018, 12:29
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
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
clapointe is offline   Reply With Quote

Old   August 22, 2018, 09:46
Default
  #3
New Member
 
SSA
Join Date: Dec 2017
Posts: 16
Rep Power: 8
senthilathiban is on a distinguished road
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.
hmusaddiq likes this.
senthilathiban is offline   Reply With Quote

Old   March 25, 2019, 08:34
Default Hamza
  #4
New Member
 
HM
Join Date: Feb 2018
Posts: 1
Rep Power: 0
hmusaddiq is on a distinguished road
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.
hmusaddiq is offline   Reply With Quote

Old   March 25, 2019, 11:01
Default
  #5
New Member
 
SSA
Join Date: Dec 2017
Posts: 16
Rep Power: 8
senthilathiban is on a distinguished road
Quote:
Originally Posted by hmusaddiq View Post
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.
Yes I calculated manually. But later I found another boundary condition fixedProfile

More infor at https://www.youtube.com/watch?v=rfNYVqU1py4&t=
senthilathiban 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
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


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