mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: more flexible finiteArea patch selection (#2084)
- support wordRes for selecting patch names
- ownerPolyPatch specification is now optional, which simplifies input
and also supports a faMesh spanning different patches but with a
single boundary condition.
Alternatively, can specify more granularity if required.
```
polyMeshPatches ( "top.*" );
boundary
{
inlet1
{
type patch;
ownerPolyPatch top1; // <- specific to this portion
neighbourPolyPatch inlet;
}
inlet2
{
type patch;
ownerPolyPatch top2; // <- specific to this portion
neighbourPolyPatch inlet;
}
outlet
{
type patch;
neighbourPolyPatch outflow;
}
bound
{
type symmetry;
neighbourPolyPatch bound;
}
}
```
This commit is contained in:
@ -21,21 +21,18 @@ boundary
|
||||
left
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch top;
|
||||
neighbourPolyPatch left;
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch top;
|
||||
neighbourPolyPatch right;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
ownerPolyPatch top;
|
||||
neighbourPolyPatch frontAndBack;
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,7 +21,6 @@ boundary
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
ownerPolyPatch freeSurface;
|
||||
neighbourPolyPatch frontAndBack;
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,21 +21,18 @@ boundary
|
||||
left
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch top;
|
||||
neighbourPolyPatch left;
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch top;
|
||||
neighbourPolyPatch right;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
ownerPolyPatch top;
|
||||
neighbourPolyPatch frontAndBack;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user