CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Source term in channel flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2017, 17:56
Default Source term in channel flow
  #1
Member
 
Jingchang.Shi
Join Date: Aug 2012
Location: Hang Zhou, China
Posts: 78
Rep Power: 13
aerosjc is on a distinguished road
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?
aerosjc is offline   Reply With Quote

Old   February 9, 2017, 03:38
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
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
juliom likes this.

Last edited by FMDenaro; February 9, 2017 at 05:19.
FMDenaro is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
Source term for channel flow lofty OpenFOAM Running, Solving & CFD 5 April 4, 2008 08:49


All times are GMT -4. The time now is 19:29.