|
[Sponsors] |
February 8, 2017, 18:56 |
Source term in channel flow
|
#1 |
Member
Jingchang.Shi
Join Date: Aug 2012
Location: Hang Zhou, China
Posts: 78
Rep Power: 14 |
Hi,
For a channel flow, in numerical simulation, I use periodic boundary condition. Thus, the driving force cannot be pressure gradient in the flow field. I add source term to the NS eq. It's reasonable to add source term to both momentum eq and energy eq. However, I find the source term in energy eq causes pressure history going up. I mean the pressure history after the flow reaches statistically steady state. Source term I use in momentum eq and energy eq is The source term in energy eq seems not exactly correct, because it uses the bulk velocity. But that doesn't affect the results. Even corrected s_e causes pressure going up. With source term in energy eq, pressure history is as follows, Without source term in energy eq, pressure history is as follows, Pressure history fluctuating is correct. However, I can't understand why I apply force on the flow while not work on the flow. And I know, it's related to the adiabatic boundary condition I use at the wall. Anyone can explain to me why only force is applied on the channel flow? |
|
February 9, 2017, 04:38 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
I never worked on the system coupled with the energy equation using mass forcing, many year ago I worked with my collegues on the pressure driven condition and the code worked.
I used in my code the constant pressure gradient as forcing in the momentum equation. This term would lead to a work in the form v.Grad p to be taken into account in the kinetic energy equation. Since you are using the compressible form, this term remains in this form and cannot be transformed only in Div (vp). Concerning the internal energy, to tell the true I don't know if such work (that is reversible and is not associated to entropy production) produces anything else in the equation that is shown here https://www.researchgate.net/publica..._with_OpenFOAM Last edited by FMDenaro; February 9, 2017 at 06:19. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
Source term for channel flow | lofty | OpenFOAM Running, Solving & CFD | 5 | April 4, 2008 09:49 |