|
[Sponsors] |
September 13, 2007, 21:57 |
Hey Guys:
Has anybody here
|
#1 |
Member
Ning Yang
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 84
Rep Power: 17 |
Hey Guys:
Has anybody here used resistance outflow boundary condition in openfoam? Basically what it does is to keep the ratio (resistance R) bewteen pressure P and flow rate Q constant at the outlet, instead of using constant pressure or other outlet boundary conditions? Assume that the pressure on the outlet cross section is constant. Thank you. Ning |
|
September 15, 2007, 12:09 |
Hi Takuya:
Thank you for sh
|
#3 |
Member
Ning Yang
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 84
Rep Power: 17 |
Hi Takuya:
Thank you for sharing your code. It is pretty close. The only difference is that I need to replace normal velocity by integral surface flow rate. The problem is when I tried to compile your code, I got some error like: make: *** No rule to make target `/derived/normalIncidenceAcousticImpedance/normalIncidenceAcousticImpedanceFvPat chScalarField.dep', needed by `Make/linux64GccDPOpt/dependencies'. Stop. Can you let me know why this happened? Thank you. Ning |
|
September 17, 2007, 21:22 |
Hi Ning,
Well, there are vari
|
#4 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Ning,
Well, there are various things you have to be careful about the code, at least:
Good luck, Takuya |
|
September 17, 2007, 22:23 |
Thank you for your reply. I fi
|
#5 |
Member
Ning Yang
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 84
Rep Power: 17 |
Thank you for your reply. I figured the problem out and now I don't have any compilation errors. I have one more question though: can you explain the following line in your code?
operator==(2.0 * z_ * (n & Up) - *this); It doesn't ring a bell for me. Thank you. Ning |
|
September 19, 2007, 20:14 |
Hi Ning,
It's an #if 0'ed l
|
#6 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Ning,
It's an #if 0'ed line anyway so please don't care. It's an updating equation if velocity and pressure are teken staggered in time ((*this<sub>new</sub> + *this<sub>old</sub>) / 2 = z_ * (n & Up)). Takuya |
|
March 27, 2017, 03:54 |
|
#7 |
Member
Join Date: Sep 2016
Posts: 63
Rep Power: 9 |
Hallo Ning,
I want to build the same boundary condition as you did in 2007: the outlet pressure is dependent on the flow rate. I wonder whether you have solved your problem? I would appreciate if you could give me some hints how to program this boundary condition. Thank you very much! sitajeje |
|
March 27, 2017, 03:58 |
|
#8 |
Member
Join Date: Sep 2016
Posts: 63
Rep Power: 9 |
Hello Takuya,
I downloaded your file normalIncidenceAcousticImpedance-20070112.tar.gz, but it turns out to be a .unk file, and I cannot unzip it. I would appreciate greatly if you could share your file again. Thank you very much in advance! Best regards, sitajeje |
|
June 27, 2018, 11:27 |
|
#9 |
Member
Pavan
Join Date: Jan 2016
Posts: 53
Rep Power: 10 |
https://www.cfd-online.com/Forums/members/sitajeje.html
This is a very late response. Just posting for the community benefit Assuming the OS is Linux/ubuntu Just download the (.unk) file. Rename the file with .tar extension and the just untar it using the command tar -xvf normalIncidenceAcousticImpedance-20070112_tar-3659.tar I am posing a .zip file of the same folder. This can be easily opened using the command unzip normalIncidenceAcousticImpedance.zip |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Burgerbs equation non constant Boundary Conditions Initial Conditions | arkangel | OpenFOAM Running, Solving & CFD | 1 | October 2, 2008 14:48 |
Boundary conditions for turbulent boundary layer | Thomas | FLUENT | 1 | June 17, 2008 05:14 |
boundary conditions for boundary layer flow | A. Al-zoubi | CFX | 0 | November 3, 2007 07:11 |
boundary conditions for compute resistance of ship | Bruce | CFX | 1 | April 18, 2007 11:30 |
Integral boundary conditions turbulent intensitylength boundary conditions | olesen | OpenFOAM Running, Solving & CFD | 0 | July 27, 2006 07:18 |