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

@ -27,7 +27,7 @@ baffles
{
//- Select faces and orientation through a searchableSurface
type searchableSurface;
surface searchablePlate;
surface plate;
origin (0.061 -0.3 -0.3);
span (0.0 0.6 0.6);

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\ / O peration | Version: v2206 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -23,42 +23,34 @@ actions
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-0.1001 -100 -100 )(0.0 100 100);
}
box (-0.1001 -100 -100 )(0.0 100 100);
}
{
name leftSolid;
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set heaterCellSet;
}
set heaterCellSet;
}
// rightFluid
{
name rightFLuidCellSet;
name rightFluidCellSet;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (0.00 -100 -100 )(0.1001 100 100);
}
box (0.00 -100 -100 )(0.1001 100 100);
}
{
name rightFluid;
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set rightFLuidCellSet;
}
set rightFluidCellSet;
}
);

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2112 |
| \\ / A nd | Web: www.openfoam.com |
| \\ / O peration | Version: v2206 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -23,35 +23,31 @@ actions
type cellSet;
action new;
source zoneToCell;
zones (leftSolid);
zones (leftSolid);
}
{
{
name f1;
type faceSet;
action new;
source cellToFace;
option all;
sets (c1);
sets (c1);
}
{
{
name c2;
type cellSet;
action new;
source zoneToCell;
zones (rightFluid);
zones (rightFluid);
}
{
{
name f2;
type faceSet;
action new;
source cellToFace;
option all;
sets (c2);
sets (c2);
}
);