BUG: applyBoundaryLayer: consistent boundary values

This commit is contained in:
mattijs
2012-08-17 16:04:37 +01:00
parent 831bcdc6b9
commit b0835d2195

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -93,6 +93,7 @@ int main(int argc, char *argv[])
U[celli] *= ::pow(y[celli]/yblv, (1.0/7.0)); U[celli] *= ::pow(y[celli]/yblv, (1.0/7.0));
} }
} }
U.correctBoundaryConditions();
Info<< "Writing U\n" << endl; Info<< "Writing U\n" << endl;
U.write(); U.write();