TUT: remove superfluous 'sourceInfo' (topo sets)

- update annotated dicts, remove tabs

- use point1/point2 for cylinder sources
This commit is contained in:
Mark Olesen
2022-05-25 10:48:24 +02:00
parent 832fbd954f
commit 500c7047b2
30 changed files with 197 additions and 331 deletions

View File

@ -12,7 +12,7 @@ _planes
type patchEdge;
axis xyz;
patches ( bottom );
surfaceType searchablePlane;
surfaceType plane;
planeType pointAndNormal;
origin ( 0 0 1.57079632679 );
}

View File

@ -22,7 +22,7 @@ geometry
{
cylinder
{
type searchableCylinder;
type cylinder;
point1 (0 0 -0.00375);
point2 (0 0 0.00375);
radius 0.06;

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / O peration | Version: v2206 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -92,25 +92,14 @@ actions
}
{
name cylinderAnnulus1;
type cellSet;
action new;
source cylinderAnnulusToCell;
p1 (0.05 0.05 0);
p2 (0.05 0.05 0.01);
outerRadius 0.06;
innerRadius 0.01;
}
{
name cylinder1;
type cellSet;
action new;
source cylinderToCell;
p1 (0.05 0.05 0);
p2 (0.05 0.05 0.01);
radius 0.06;
innerRadius 0.01;
name cylinder1;
type cellSet;
action new;
source cylinderToCell;
point1 (0.05 0.05 0);
point2 (0.05 0.05 0.01);
radius 0.06;
innerRadius 0.01;
}
{
@ -315,25 +304,14 @@ actions
}
{
name faceCylinderAnnulus1;
type faceSet;
action new;
source cylinderAnnulusToFace;
p1 (0.05 0.05 0);
p2 (0.05 0.05 0.01);
outerRadius 0.06;
innerRadius 0.01;
}
{
name faceCylinder1;
type faceSet;
action new;
source cylinderToFace;
p1 (0.05 0.05 0);
p2 (0.05 0.05 0.01);
radius 0.06;
innerRadius 0.01;
name faceCylinder1;
type faceSet;
action new;
source cylinderToFace;
point1 (0.05 0.05 0);
point2 (0.05 0.05 0.01);
radius 0.06;
innerRadius 0.01;
}
{
@ -343,7 +321,6 @@ actions
source faceToFace;
sets
(
faceCylinderAnnulus1
faceCylinder1
);
}
@ -484,8 +461,8 @@ actions
type pointSet;
action new;
source cylinderToPoint;
p1 (0.05 0.05 0);
p2 (0.05 0.05 0.01);
point1 (0.05 0.05 0);
point2 (0.05 0.05 0.01);
radius 0.06;
innerRadius 0.01;
}

View File

@ -60,8 +60,8 @@ subset
{
action subtract;
source cylinder;
p1 (125 100 0);
p2 (125 100 100);
point1 (125 100 0);
point2 (125 100 100);
radius 20;
}
outlet