|
[Sponsors] |
deltaT in calculation of time step continuity errors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 27, 2010, 10:13 |
deltaT in calculation of time step continuity errors
|
#1 |
New Member
Join Date: Nov 2009
Posts: 17
Rep Power: 16 |
Hi,
Right now I'm inspecting the code in "continuityErrs.H" and couldn't figure out what deltaT is doing there? Does somebody know why we are multiplying weighted sum of the fluxes with deltaT? Thanks. Code:
volScalarField contErr = fvc::div(phi); scalar sumLocalContErr = runTime.deltaT().value()* mag(contErr)().weightedAverage(mesh.V()).value(); scalar globalContErr = runTime.deltaT().value()* contErr.weightedAverage(mesh.V()).value(); cumulativeContErr += globalContErr; |
|
Tags |
continuity error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 10:04 |
Problems with simulating TurbFOAM | barath.ezhilan | OpenFOAM | 13 | July 16, 2009 05:55 |
SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 1 | November 25, 2008 20:21 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |