|
[Sponsors] |
November 19, 2010, 05:26 |
Momentum source coefficient and convergence
|
#1 |
New Member
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Hi
I'm applying momentum source coefficients over a sub domain which are dependent on velocity. Without a momentum source coefficient I was not getting convergence. I've found that a momentum source coefficient of -100000 allows the model to converge, and the results are accurate. I did this based on what the manual says: General Momentum Source Momentum sources can be specified directly in terms of a momentum value per unit volume in a specified direction. To obtain good convergence when the source is a function of velocity, the source should be linearized by including a Momentum Source Coefficient. However I don't understand why this works - can anyone explain? Or suggest a reference? Why does the momentum source coefficient improve convergence? Thanks, Matt |
|
November 19, 2010, 13:44 |
|
#2 |
Senior Member
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17 |
This required by the specific solver technology of CFX. I guess it is describbed in the manual how to linearize. If not you have to ask the service.
|
|
November 19, 2010, 17:57 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144 |
This is a complex question. I will have to refer you to CFD text books like "Introduction to Computational FLuid Dynamics" by Versteeg and Malalasekera.
|
|
October 9, 2020, 00:49 |
|
#4 | |
New Member
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 26
Rep Power: 8 |
Quote:
I have 3 CEL souece terms in 3 directions. How could I define 3 Mom. source term coefficients in diffferent Directions? It seems that CFX can only define one Mom. source term coefficient. Thank you! |
||
October 9, 2020, 00:59 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144 |
Define your own general momentum source, and then you can define any function you like, and can define a different function for X, Y or Z directions.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
October 9, 2020, 01:14 |
|
#6 |
New Member
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 26
Rep Power: 8 |
Sorry, I'm fail to present the problem.
I need to define 3 Mom. Source Coefficients, not 3 Mom. source terms (In fact, I have done it). such as, partial Sx/partial x, partial Sy/partial y, partial Sz/partial z. However, it seems can define only one Mom. Source Coefficient, not 3 components. |
|
October 9, 2020, 01:21 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144 |
Yes, that is what I understood. The momentum source coefficient just gets turned into a source term and applied as a source term. So I suggesting you write the source term yourself directly using the functions described in the CFX documentation. Then you have the ability to define a different source term in each direction.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
October 9, 2020, 15:07 |
|
#8 |
Senior Member
Join Date: Jun 2009
Posts: 1,865
Rep Power: 33 |
The source coefficient has no impact on the final solution. So, you are free to do as you will.
The advice to obtain a decent source coefficient is to linearize your source term with respect to the variable you are solving for, i.e. dS/dVelocity But, because the variable is a vector, you end up with a tensor of source coefficients; therefore, your assumption that only 3 coefficients are needed is also incomplete unless you know the off-diagonals of that tensor are exactly 0. ANSYS CFX only exposes diagonal linearization, i.e. same source coefficient for all equations of the vector variable being solved. What do you do? Anything is possible, but you can try different approaches: 1 - Max of the diagonal in the tensor 2 - Trace of the diagonal in the tensor if all the diagonal are of the same sign 3 - Some kind of norm for the matrix 4 - One of the above times some heuristic value
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
October 10, 2020, 04:23 |
|
#9 |
New Member
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 26
Rep Power: 8 |
Thanks ghortocks and Opaque.
As Opaque pointed out, the Mom. source Coef. should be a tensor (not a vector). The source coefficient has no impact on the final solution. Thus, CEL is usually unnecessary. Giving a negative number is a simple and effective method. |
|
October 12, 2020, 09:37 |
|
#10 | |
Senior Member
Join Date: Jun 2009
Posts: 1,865
Rep Power: 33 |
Quote:
For optimal convergence, we want a dynamic negative source coefficient only where is needed, and only the mathematics/physics knows when it is needed. Summary: an appropriate problem-dependent negative value will help you converge the setup for this specific flow conditions while the correct negative expression will consistently help you converge the problem w/o further baby-sitting/monitoring the treatment of this specific source
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
||
Tags |
coefficient, convergence, momentum source, velocity dependent |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drag Coefficient Convergence Problem | John | FLUENT | 18 | June 24, 2023 10:22 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Simulation of a Silo | Attesz | CFX | 20 | October 15, 2010 09:11 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
how to set velocity in certain place in CFX5 | cfxbeginer | CFX | 6 | July 7, 2003 19:38 |