|
[Sponsors] |
March 17, 2021, 08:32 |
Defining Velocity at the Inlet
|
#1 |
Member
Join Date: Dec 2020
Posts: 38
Rep Power: 5 |
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 |
|
March 28, 2021, 12:19 |
|
#2 |
Member
Ali B.
Join Date: Mar 2020
Location: abzrg.github.io
Posts: 44
Rep Power: 6 |
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 |
|
Tags |
openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
How to define a fixed velocity for a given mass flow rate on inlet | mqasimali | FLUENT | 2 | April 12, 2013 18:24 |
How to apply an outlet velocity profile to another inlet? | siw | FLUENT | 4 | April 10, 2013 12:19 |
UDF problem : inlet velocity in cyl. coord. system | Jongdae Kim | FLUENT | 0 | June 15, 2004 12:21 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |