CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Momentum source coefficient and convergence

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2010, 04:26
Default Momentum source coefficient and convergence
  #1
meh
New Member
 
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 15
meh is on a distinguished road
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
meh is offline   Reply With Quote

Old   November 19, 2010, 12:44
Default
  #2
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 168
Rep Power: 15
joey2007 is on a distinguished road
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.
joey2007 is offline   Reply With Quote

Old   November 19, 2010, 16:57
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,044
Rep Power: 134
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 8, 2020, 23:49
Default
  #4
New Member
 
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 22
Rep Power: 5
Saeef is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
Hi, ghorrocks.

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!

Saeef is offline   Reply With Quote

Old   October 8, 2020, 23:59
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,044
Rep Power: 134
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 9, 2020, 00:14
Default
  #6
New Member
 
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 22
Rep Power: 5
Saeef is on a distinguished road
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.
Saeef is offline   Reply With Quote

Old   October 9, 2020, 00:21
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,044
Rep Power: 134
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 9, 2020, 14:07
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,539
Rep Power: 27
Opaque will become famous soon enough
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
Saeef likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   October 10, 2020, 03:23
Default
  #9
New Member
 
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 22
Rep Power: 5
Saeef is on a distinguished road
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.
Saeef is offline   Reply With Quote

Old   October 12, 2020, 08:37
Default
  #10
Senior Member
 
Join Date: Jun 2009
Posts: 1,539
Rep Power: 27
Opaque will become famous soon enough
Quote:
Originally Posted by Saeef View Post

Thus, CEL is usually unnecessary.
Giving a negative number is a simple and effective method.
Though it will work, it may not be efficient to use a single uniform negative source coefficient.

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.
Opaque is offline   Reply With Quote

Reply

Tags
coefficient, convergence, momentum source, velocity dependent

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Drag Coefficient Convergence Problem John FLUENT 17 May 2, 2018 05:34
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Simulation of a Silo Attesz CFX 20 October 15, 2010 08:11
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
how to set velocity in certain place in CFX5 cfxbeginer CFX 6 July 7, 2003 18:38


All times are GMT -4. The time now is 06:41.