|
[Sponsors] |
How to Handle Momentum Source Adjacent to Inlet? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 1, 2019, 16:00 |
How to Handle Momentum Source Adjacent to Inlet?
|
#1 |
New Member
Join Date: Mar 2019
Posts: 4
Rep Power: 7 |
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 |
|
March 1, 2019, 16:14 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71 |
- 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 |
|
March 1, 2019, 16:17 |
|
#3 | |
New Member
Join Date: Mar 2019
Posts: 4
Rep Power: 7 |
Quote:
|
||
March 1, 2019, 16:25 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71 |
Quote:
But if it is constante it has no variation in any direction... |
||
March 1, 2019, 16:32 |
|
#5 |
New Member
Join Date: Mar 2019
Posts: 4
Rep Power: 7 |
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 |
|
March 1, 2019, 16:35 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71 |
Quote:
What should be the problem if the source is a constant??? |
||
March 1, 2019, 16:38 |
|
#7 |
New Member
Join Date: Mar 2019
Posts: 4
Rep Power: 7 |
||
Tags |
momentum kick; |
|
|
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 |