STYLE: update tutorials

- use simpler decomposeParDict in tutorials, several had old
  'boilerplate' decomposeParDict

- use simpler libs () format

- update surface sampling to use dictionary format
This commit is contained in:
Mark Olesen
2020-06-17 10:11:33 +02:00
parent 5225697542
commit 5982a1aab4
29 changed files with 76 additions and 515 deletions

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2006 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -85,14 +85,14 @@ functions
interpolationScheme cellPoint;
surfaces
(
{
walls
{
type patch;
patches (walls);
triangulate false;
}
);
}
}
}

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / O peration | Version: v2006 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -85,14 +85,14 @@ functions
interpolationScheme cellPoint;
surfaces
(
{
walls
{
type patch;
patches (walls);
triangulate false;
}
);
}
}
}