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

Defining Velocity at the Inlet

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2021, 07:32
Default Defining Velocity at the Inlet
  #1
Member
 
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
Hi,

I have a geometry in Openfoam and I want to define the velocity at the inlet which is not uniform. You can see the velocity at the inlet in the attached file. In the red region it is 400 m/s, in the blue region it is 0 m/s. Do you know how can I apply such a boundary condition at the inlet?

Best regards
Attached Images
File Type: png velocity.png (45.2 KB, 18 views)
ulugbey is offline   Reply With Quote

Old   March 28, 2021, 11:19
Default
  #2
Member
 
Ali B.
Join Date: Mar 2020
Location: abzrg.github.io
Posts: 34
Rep Power: 6
reverseila is on a distinguished road
Hi,

If you can separate that patch into two different patches I think you can give each your desired values as fixedValue type.

Another way could be using swak4foam which I'm not quite familiar. with swak you can define your inlet as a groovyBC boundary and after that you will give it a value and a condition. the condition basically defines the region in which the value will be assigned.

In both cases you should somehow separate/differentiate between these two regions whether in your mesh or as a mathematical relation with swak.

(Notice also I'm new to openfoam .)

https://openfoamwiki.net/index.php/Contrib/groovyBC
reverseila is offline   Reply With Quote

Reply

Tags
openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 17:24
How to apply an outlet velocity profile to another inlet? siw FLUENT 4 April 10, 2013 11:19
UDF problem : inlet velocity in cyl. coord. system Jongdae Kim FLUENT 0 June 15, 2004 11:21
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 13:19.