|
[Sponsors] |
June 14, 2013, 10:58 |
logarithmic profile velocity - inlet BC
|
#1 |
Member
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14 |
Hello Openfoamers,
I want to define a logarithmic velocity profileto my open channel flow (like this: What do you suggest? Groovy BC? I have some problems to install it with OF 2.0. There is a simpler way? Best regards, |
|
June 14, 2013, 16:06 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
If you are working with a RANS turbulence model, you should be able to use the atmBoundaryLayerInletVelocity which simply imposes the logarithmic velocity profile.
Cheers, L |
|
June 15, 2013, 06:09 |
|
#3 |
Member
shiv
Join Date: Jun 2012
Location: Lucknow, IN
Posts: 51
Rep Power: 14 |
hi pedro,
What about expanding the log and using codedFixedValue (http://www.cfd-online.com/Forums/ope...condition.html) , as i am a newbie my knowhow is limited too. Expect this may help |
|
June 15, 2013, 12:25 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Pedro: OpenFOAM 2.0 or 2.2.0? If it's OpenFOAM 2.2.0, read the instructions on this post: http://www.cfd-online.com/Forums/ope...tml#post415028 post #16 Best regards, Bruno
__________________
|
|
June 17, 2013, 06:08 |
|
#5 |
Member
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14 |
Hello.
Thanks. Yes, It's OF 2.2.0. I'll try install it and input the log profile with swak4foam. Regards, |
|
June 17, 2013, 06:30 |
|
#6 |
Member
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14 |
||
June 17, 2013, 11:49 |
|
#7 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
Ok, completely different situation.
The logarithmic velocity profile is the profile a time averaged profile. This profile does not exist as instantaneous profile so it is physically not correct to impose the log-profile directly at the inlet. the most correct thing to do is use an 'infinite inlet' to generate profiles which result in the log-profile when they are time averaged. Two ways to do this: 1. Do a separate simulation of a cyclic channel and store every inlet 2. Increase the length of the inlet and use the mapped BC at the inlet. Cheers, Lieven |
|
June 19, 2013, 07:06 |
|
#8 | |
Member
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14 |
Quote:
Which boundary condition should I put in the bed to to the second suggestion that you gave me? I put the no slip condition, like this: bed - U { type fixedValue; value uniform (0 0 0); } U.txt And the contour of the velocity in the midplane of the channel is: http://d.pr/i/ZWvo The distance between the inlet and the pille is 1 meter. Should I keep the bed boundary condition and increase that distance? Best regards. |
||
June 19, 2013, 09:22 |
|
#9 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
Hi Pedro,
You should use the 'mapped' boundary condition for that. Have for example a look at http://www.cfd-online.com/Forums/ope...condition.html If you google a bit or search this forum, I'm sure you will find more information on it if the link about is not enough. Cheers, Lieven |
|
Tags |
boundary condition, inlet, logarithmic, profile, velocity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with assigned inlet velocity profile as a boundary condition | Ozgur_ | FLUENT | 5 | August 25, 2015 05:58 |
How to apply an outlet velocity profile to another inlet? | siw | FLUENT | 4 | April 10, 2013 12:19 |
How to prescribe fully developed turbulent velocity profile at inlet? | nore5 | OpenFOAM Running, Solving & CFD | 1 | February 22, 2013 10:30 |
Export & Import Velocity profile as Inlet | eRzBeNgEl | STAR-CCM+ | 6 | March 26, 2012 06:16 |
inlet velocity profile in Polyflow | srinu | FLUENT | 0 | January 16, 2003 21:25 |