mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Automatic hole closure: - introduces 'holeToFace' topoSet source - used when detecting a 'leak-path' - creates additional baffles to close the leak Multi-stage layer addition: - Can add layers in multiple passes See issues: #2403, #2404
83 lines
1.9 KiB
C++
83 lines
1.9 KiB
C++
/*--------------------------------*- 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 topoSetDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
actions
|
|
(
|
|
{
|
|
name f0;
|
|
type faceSet;
|
|
action new;
|
|
source boxToFace;
|
|
sourceInfo
|
|
{
|
|
box (-100 -100 -100) (1.01 1.01 1.01);
|
|
}
|
|
}
|
|
{
|
|
name f0;
|
|
type faceSet;
|
|
action delete;
|
|
source boundaryToFace;
|
|
sourceInfo
|
|
{
|
|
}
|
|
}
|
|
|
|
////- Remove internal faces; do boundary faces only
|
|
//{
|
|
// name f0;
|
|
// type faceSet;
|
|
// action clear;
|
|
//}
|
|
|
|
//- Add single external face
|
|
{
|
|
name f0;
|
|
type faceSet;
|
|
action add;
|
|
source boxToFace;
|
|
sourceInfo
|
|
{
|
|
// Minz face
|
|
box (-100 -100 -100) (1.01 1.01 0.01);
|
|
}
|
|
}
|
|
|
|
{
|
|
name c0;
|
|
type cellSet;
|
|
action new;
|
|
source nearestToCell;
|
|
sourceInfo
|
|
{
|
|
points ((0.5 0.5 0.5));
|
|
}
|
|
}
|
|
{
|
|
name f0Zone;
|
|
type faceZoneSet;
|
|
action new;
|
|
source setsToFaceZone;
|
|
sourceInfo
|
|
{
|
|
faceSet f0;
|
|
cellSet c0;
|
|
}
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|