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

Divergence

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2011, 07:37
Default Divergence
  #1
New Member
 
Join Date: Jan 2011
Posts: 6
Rep Power: 15
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, 06:56
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
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, 08:38
Default
  #3
New Member
 
Join Date: Jan 2011
Posts: 6
Rep Power: 15
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: 21
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 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
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 04: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 10:43


All times are GMT -4. The time now is 08:32.