|
[Sponsors] |
February 1, 2012, 13:20 |
globalContErr
|
#1 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16 |
Hi,
I have a question to following lines in src/finiteVolume/cfdTools/incompressible/continuityErrs.H Code:
volScalarField contErr = fvc::div(phi); scalar globalContErr = runTime.deltaT().value()* contErr.weightedAverage(mesh.V()).value(); Best regards, Ilya Last edited by linch; February 2, 2012 at 04:13. |
|
February 8, 2012, 07:07 |
|
#2 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16 |
No ideas?
|
|
February 9, 2012, 09:06 |
|
#3 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
I don't have any answers for you, except to add my own observation that the localContErr would, I think, be equivalent to the L1-norm of the pressure equation residual were it not for the volume-averaging.
__________________
David A. Boger |
|
July 28, 2012, 08:07 |
|
#4 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 15 |
Quote:
I have a small question which is not related to the topic. I need to calclute a volscalerfield which is the time integral of another volscaler filed during my calculation. (e.g. sigma=int(PhiWE,t) ) I am new in OpenFoam. Should I do sth like this: sigma=(PhiWE-sigma)*runTime.deltaT() I will appreciate if you help me. Best Mahdi |
||
|
|