|
[Sponsors] |
short question: zeroGradient equal fixedGradient=(0 0 0) ?! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2013, 08:54 |
short question: zeroGradient equal fixedGradient=(0 0 0) ?!
|
#1 |
Member
Andreas Ruopp
Join Date: Aug 2009
Location: Stuttgart / Germany
Posts: 31
Rep Power: 17 |
Hello,
I looked at fixedGradientFvPatchField.C and zeroGradientFvPatchField.C and for me Code:
type fixedGradient; value uniform (0 0 0); Code:
type zeroGradient; Or do I draw the wrong conclusion? Best regards, Andy |
|
July 16, 2013, 09:34 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
They are not the same. zeroGradient only garantuees the wall-normal derivative to be zero, not the complete gradient.
|
|
July 16, 2013, 13:52 |
|
#3 |
Member
Andreas Ruopp
Join Date: Aug 2009
Location: Stuttgart / Germany
Posts: 31
Rep Power: 17 |
Thank you for the fast answer. I got it.
Next little question: A given fixedGradient value (a b c) will specify the gradient of for example U in the standard Coordinate-System(x,y,z) on a patch HTML Code:
http://foam.sourceforge.net/docs/cpp/a00671.html#details where = patch values = internal field values = gradient (user-specified) = inverse distance from patch face centre to cell centre Hence, x_p is independent from the normal patch face vector? Thanks for the answer in advance, Andy |
|
Tags |
boundary, condition, fixedgradient, zerogradient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
second order schemes | marine | OpenFOAM | 67 | April 11, 2022 19:19 |
A newbie's question -- NaN in icoFoam | BigMatilda | OpenFOAM Running, Solving & CFD | 1 | July 13, 2012 07:22 |
Short course: Modeling of Water Resources and Environmental Problems using OpenFOAM | liu | OpenFOAM Announcements from Other Sources | 0 | March 14, 2012 17:32 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 18:08 |
Short question on command in user fortran | Franz Thomsen | CFX | 2 | June 20, 2000 07:35 |