TUT: nonOrthogonalChannel/skewnessCavity: migrate under verificationAndValidation

TUT: nonOrthogonalChannel: refactor productionRate computation (fixes #2285)
This commit is contained in:
Kutalmis Bercin
2021-12-13 14:10:06 +00:00
committed by Andrew Heather
parent 4c2728a45c
commit beea7ba62f
316 changed files with 25 additions and 38 deletions

View File

@ -0,0 +1,100 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
alpha 80;
nx 5;
ny 100;
nz 1;
xMin 0;
xMax 1;
yMin 0;
yMax 1;
zMin 0;
zMax 1;
yExpansion 9.987905978;
sin0 #eval{sin(degToRad($alpha))};
cos0 #eval{cos(degToRad($alpha))};
xMindx #eval{$xMin + $sin0};
xMaxdx #eval{$xMax + $sin0};
yMaxdy #eval{$yMax*$cos0};
vertices
(
($xMin $yMin $zMin)
($xMax $yMin $zMin)
($xMaxdx $yMaxdy $zMin)
($xMindx $yMaxdy $zMin)
($xMin $yMin $zMax)
($xMax $yMin $zMax)
($xMaxdx $yMaxdy $zMax)
($xMindx $yMaxdy $zMax)
);
blocks
(
hex (0 1 2 3 4 5 6 7) ($nx $ny $nz) simpleGrading (1 $yExpansion 1)
);
boundary
(
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(2 6 5 1)
);
}
top
{
type symmetry;
faces
(
(3 7 6 2)
);
}
bottom
{
type wall;
faces
(
(1 5 4 0)
);
}
leftAndRight
{
type empty;
faces
(
(0 3 2 1)
(4 5 6 7)
);
}
);
// ************************************************************************* //

View File

@ -0,0 +1 @@
../../common/system/controlDict

View File

@ -0,0 +1 @@
../../common/system/decomposeParDict

View File

@ -0,0 +1 @@
../../common/system/fvSchemes

View File

@ -0,0 +1 @@
../../common/system/fvSolution

View File

@ -0,0 +1 @@
../../common/system/sample

View File

@ -0,0 +1 @@
../../common/system/sampleEpsilon

View File

@ -0,0 +1 @@
../../common/system/sampleG