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

non-uniform velocity at inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2016, 07:11
Default non-uniform velocity at inlet
  #1
New Member
 
Graham
Join Date: Feb 2016
Posts: 13
Rep Power: 10
benham is on a distinguished road
Hey there,

Using Openfoam, I want to implement a non-uniform boundary condition for the velocity at the inlet to a channel (x=0, 0<y<1). How can I do this with the codedFixedValue option?

I want it to look something like this:

inlet { type codedFixedValue; value $internalField; redirectType inletBC; code #{ (not sure what to write here) #}; }

I want the operator to output a vector which is (0.5,0,0) for y<0.5 and (1,0,0) for y>0.5.

Any help?

Thanks
Graham
benham is offline   Reply With Quote

Reply

Tags
boundary condition, inlet, non-uniform, openfoam, 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
Pressure Inlet VS velocity Inlet difference Mohsin FLUENT 9 January 4, 2021 10:34
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 04:58
OpenFOAM solution is diverging for stress analysis in two-pahse microstructure. Sargam05 OpenFOAM 16 April 30, 2013 16:18
[swak4Foam] Air Conditioned room groovyBC Sebaj OpenFOAM Community Contributions 7 October 31, 2012 14:16
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 02:12.