CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Divergence

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 20, 2011, 08:37
Default Divergence
  #1
New Member
 
Join Date: Jan 2011
Posts: 6
Rep Power: 6
aPostrophic is on a distinguished road
Could anybody tell me what die fvm::div(phi,U) scheme is doing in OpenFoam?



Is div(-phi,U) the same as -div(phi,U) ?
aPostrophic is offline   Reply With Quote

Old   February 21, 2011, 07:56
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
I suggest having a look at the Programmers Guide (P-38ff).
akidess is offline   Reply With Quote

Old   February 21, 2011, 09:38
Default
  #3
New Member
 
Join Date: Jan 2011
Posts: 6
Rep Power: 6
aPostrophic is on a distinguished road
I read it already, but it does not help me.
According to the Programmers Guide -fvm::div(phi,U) und fvm::div(-phi,U)
should make no difference, but in my case it does.
aPostrophic is offline   Reply With Quote

Old   April 5, 2011, 20:13
Default
  #4
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
It depends on what convection scheme you are using. If it is symmetric (linear or harmonic) it shouldn't make a difference. If it is upwind or downwind biased, adding the minus will obviously switch the bias direction to the other cell bordering the face.
eugene is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF divergence of a vector cris FLUENT 3 September 4, 2014 18:06
Divergence problem for species transport model MY FLUENT 3 January 11, 2014 05:46
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 11:34
Role of divergence shekharc Main CFD Forum 7 July 5, 2005 12:08
divergence in MAC Method Maciej Matyka Main CFD Forum 2 December 19, 2000 11:43


All times are GMT -4. The time now is 07:48.