Backported laplacianFoam and tutorials (vanilla OF 3.0.1)

This commit is contained in:
Vanja Skuric 2016-05-08 09:17:22 +02:00
parent f698306f06
commit 30644bf3b0
6 changed files with 6 additions and 30 deletions

View file

@ -30,7 +30,7 @@ Description
\*---------------------------------------------------------------------------*/
#include "fvCFD.H"
#include "simpleControl.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -41,6 +41,9 @@ int main(int argc, char *argv[])
# include "createTime.H"
# include "createMesh.H"
simpleControl simple(mesh);
# include "createFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -51,9 +54,7 @@ int main(int argc, char *argv[])
{
Info<< "Time = " << runTime.timeName() << nl << endl;
# include "readSIMPLEControls.H"
for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
while (simple.correctNonOrthogonal())
{
solve
(

View file

@ -35,7 +35,6 @@ divSchemes
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(grad(U).T()))) Gauss linear;
}
laplacianSchemes
@ -62,12 +61,6 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p;
}
mixingPlane
{
default areaAveraging;

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | For copyright notice see file Copyright |
\*---------------------------------------------------------------------------*/

View file

@ -47,10 +47,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
T ;
}
// ************************************************************************* //

View file

@ -46,12 +46,6 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
T;
}
mixingPlane
{
default zeroGradient;

View file

@ -46,12 +46,6 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
T;
}
mixingPlane
{
default zeroGradient;