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

How to Handle Momentum Source Adjacent to Inlet?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2019, 16:00
Default How to Handle Momentum Source Adjacent to Inlet?
  #1
New Member
 
Join Date: Mar 2019
Posts: 4
Rep Power: 7
w.tian is on a distinguished road
Dear all,

I have a fundamental question regarding the handling of the momentum source that is applied to the inlet. See the channel flow in the attached schematic (just one row of the grid, and staggered grid is used). The upper schematic is the problem statement, in which the user specifies a momentum source in the first scalar cell. Since we use staggered grid (U cell marked be green dash line), when solving the momentum (U) equation, then it seems like we have to move the source location specified by the user a-half-cell forward, as shown in the lower schematic. Physically, this solution is targeting a different flow than the one specified by the user. Does anyone have any experience on this problem?

You can check my schematic of this problem in researchgate: https://www.researchgate.net/post/Ho...acent_to_Inlet

Thanks.

Last edited by w.tian; March 1, 2019 at 16:01. Reason: add a link
w.tian is offline   Reply With Quote

Old   March 1, 2019, 16:14
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
- A source term is specified as a volume internal quantity not prescribed as a flux BC.

- The u and v components have two different control volumes, you have to prescribe the source in the cell for each of both.


I cannot say more if you do not describe the expression of the source
FMDenaro is online now   Reply With Quote

Old   March 1, 2019, 16:17
Default
  #3
New Member
 
Join Date: Mar 2019
Posts: 4
Rep Power: 7
w.tian is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
- A source term is specified as a volume internal quantity not prescribed as a flux BC.

- The u and v components have two different control volumes, you have to prescribe the source in the cell for each of both.


I cannot say more if you do not describe the expression of the source
The source term is a constant, for example, 10 N/m^3. Normally, user can specify the source term in the scalar cells. My question is how I can specify them in the u or v control volume. If I just directly move a half-cell, I feel like it is not right.
w.tian is offline   Reply With Quote

Old   March 1, 2019, 16:25
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by w.tian View Post
The source term is a constant, for example, 10 N/m^3. Normally, user can specify the source term in the scalar cells. My question is how I can specify them in the u or v control volume. If I just directly move a half-cell, I feel like it is not right.



But if it is constante it has no variation in any direction...
FMDenaro is online now   Reply With Quote

Old   March 1, 2019, 16:32
Default
  #5
New Member
 
Join Date: Mar 2019
Posts: 4
Rep Power: 7
w.tian is on a distinguished road
Yes. The schematic is just one row of the grid. What I am worried about is if user specifies the source term in the scalar cell, can I/should I move it to the u/v control volume directly, as such move will place the momentum source a half-cell different as user defines. I hope I make my question clear .

Last edited by w.tian; March 1, 2019 at 16:34. Reason: fix typos
w.tian is offline   Reply With Quote

Old   March 1, 2019, 16:35
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by w.tian View Post
Yes. The schematic is just one row of the grid. What I am worried about is if user specifies the source term in the scalar cell, can I/should I move it to the u/v control volume directly, as such move will place the momentum source a half-cell different as user defines. I hope I make my question clear .



What should be the problem if the source is a constant???
FMDenaro is online now   Reply With Quote

Old   March 1, 2019, 16:38
Default
  #7
New Member
 
Join Date: Mar 2019
Posts: 4
Rep Power: 7
w.tian is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
What should be the problem if the source is a constant???
The location of the momentum source...User specifies the source in the scalar cell, not u/v control volume.
w.tian is offline   Reply With Quote

Reply

Tags
momentum kick;


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] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X gschaider OpenFOAM Installation 136 October 10, 2017 17:25
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41


All times are GMT -4. The time now is 15:18.