|
[Sponsors] |
June 10, 2014, 06:24 |
BCs for pressure with different solvers
|
#1 |
Member
Richardpluff
Join Date: May 2014
Posts: 95
Rep Power: 11 |
Hi everyone,
I want to impose to my flow a pressure difference of, letīs say, 10 Pa between inlet and outlet. Anybody knows how I should proceed? I have read something about totalPressure BCs, but I am not pretty sure about how to use it in order to establish the pressure difference I want (in p file, if I set in---totalPressure value 101325 out---fixedValue 101315 means pressure_drop=10 Pa ????) I have used both simpleFoam and rhoSimpleFoam. Thanks in advance!!!If anybody could give me any hint it would be great! |
|
June 10, 2014, 07:02 |
|
#2 |
Senior Member
|
Try googling before initializing a thread. "Sometimes your query gets solved"
I think you are looking for the link: http://www.cfd-online.com/Forums/ope...condition.html You can use "fixedMeanValue" patch for your case. -- Best Regards! |
|
June 10, 2014, 07:16 |
|
#3 |
Member
Richardpluff
Join Date: May 2014
Posts: 95
Rep Power: 11 |
Hi Tushar,
AFAIK this post you attach (I have read it before) talks about implementation of a new kind of BC that behaves very similar to fixedValue (and it looks a very old thread, I guess OF has improved in this sense so itś not needed to implement this BC...) I cannot find where it's explained how to specify the pressure drop I am talking about. Which settings will you use for specifying pressure drop of 100 Pa between inlet and outlet in the p file? Cheers, CRI |
|
June 10, 2014, 07:44 |
|
#4 |
Senior Member
|
Hello CRI,
Thanks for correcting! I miss-understood previous thread. Apologies.. May be, I will write the patches as: In-- p --> TotalPressure U --> pressureInletVelocity Out-- p --> fixedValue U --> pressureInletOutletVelocity -- |
|
June 10, 2014, 07:54 |
|
#5 |
Member
Richardpluff
Join Date: May 2014
Posts: 95
Rep Power: 11 |
Tushar,
Thanks for the quick replies. I know the use of this BCs. The only doubt is about magnitude, because I am not sure if I set: in totalPressure 1000 out fixedValue 500 this means that pressure drop between inlet and outlet is 500 Pa? Anybody have the certainty that this is true? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solid Mechanics Solvers added to OpenFOAM Extend | bigphil | OpenFOAM Announcements from Other Sources | 26 | October 12, 2017 04:01 |
[swak4Foam] switch between existing BCs with groovyBC?! | michielm | OpenFOAM Community Contributions | 3 | September 4, 2013 08:01 |
Difference between HF and Temperature BCs | Catthan | FLUENT | 0 | August 7, 2013 05:59 |
Dealing with BC's in OF 1.6 | vkrastev | OpenFOAM Running, Solving & CFD | 5 | September 4, 2012 11:58 |
Understanding Code behind BCs | Linse | OpenFOAM Programming & Development | 8 | January 9, 2012 08:58 |