mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: ddtScheme::fvcDdtPhiCoeff: Improved formulation providing better stability/accuracy balance
Resolves problem with pressure "staggering" when running with a very Courant number.
This commit is contained in:
committed by
Andrew Heather
parent
4272820fca
commit
fe4752d28a
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -148,7 +148,7 @@ int main(int argc, char *argv[])
|
||||
volScalarField rAB(1.0/BEqn.A());
|
||||
surfaceScalarField rABf("rABf", fvc::interpolate(rAB));
|
||||
|
||||
phiB = fvc::flux(B) + rABf*fvc::ddtCorr(B, phiB);
|
||||
phiB = fvc::flux(B);
|
||||
|
||||
while (bpiso.correctNonOrthogonal())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user