Skip to content
Snippets Groups Projects
Commit bece8ad2 authored by mattijs's avatar mattijs
Browse files

BUG: LESDelta: parallel inconsistent

Internal values get set but never swapped on processor boundaries. Fixes #49.
parent 18bc62a3
Branches
Tags
No related merge requests found
......@@ -207,10 +207,10 @@ class DEShybrid
max(sigmaMax_*tanh(pow(A, CH1_)), sigmaMin_)
);
// if (this->mesh().time().outputTime())
// {
// factor.write();
// }
if (blendedSchemeBaseName::debug)
{
factor.write();
}
return tmp<surfaceScalarField>
(
......
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -127,6 +127,9 @@ void Foam::LESModels::IDDESDelta::calcDelta()
),
hmax
);
// Handle coupled boundaries
delta_.correctBoundaryConditions();
}
......
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -76,6 +76,9 @@ void Foam::LESModels::cubeRootVolDelta::calcDelta()
<< "Case is not 3D or 2D, LES is not applicable"
<< exit(FatalError);
}
// Handle coupled boundaries
delta_.correctBoundaryConditions();
}
......
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -102,6 +102,9 @@ void Foam::LESModels::maxDeltaxyz::calcDelta()
<< "Case is not 3D or 2D, LES is not applicable"
<< exit(FatalError);
}
// Handle coupled boundaries
delta_.correctBoundaryConditions();
}
......
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -134,6 +134,9 @@ void Foam::LESModels::smoothDelta::calcDelta()
{
delta_[cellI] = cellDeltaData[cellI].delta();
}
// Handle coupled boundaries
delta_.correctBoundaryConditions();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment