mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: splitMeshRegions now fills in coupling information in directMapped patch.
- added directMapped*Patch constructors with uniform offset - changed splitMeshRegions to use it - adapted chtMultiRegionFoam tutorials
This commit is contained in:
@ -18,30 +18,13 @@ dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
".*"
|
||||
minX
|
||||
{
|
||||
type wall;
|
||||
}
|
||||
bottomAir_to_leftSolid
|
||||
maxX
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion leftSolid;
|
||||
samplePatch leftSolid_to_bottomAir;
|
||||
}
|
||||
bottomAir_to_rightSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion rightSolid;
|
||||
samplePatch rightSolid_to_bottomAir;
|
||||
}
|
||||
bottomAir_to_heater
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_bottomAir;
|
||||
type wall;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -18,37 +18,17 @@ dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
".*"
|
||||
minY
|
||||
{
|
||||
type patch;
|
||||
}
|
||||
heater_to_bottomAir
|
||||
minZ
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion bottomAir;
|
||||
samplePatch bottomAir_to_heater;
|
||||
type patch;
|
||||
}
|
||||
heater_to_leftSolid
|
||||
maxZ
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion leftSolid;
|
||||
samplePatch leftSolid_to_heater;
|
||||
}
|
||||
heater_to_rightSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion rightSolid;
|
||||
samplePatch rightSolid_to_heater;
|
||||
}
|
||||
heater_to_topAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion topAir;
|
||||
samplePatch topAir_to_heater;
|
||||
type patch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -18,30 +18,13 @@ dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
".*"
|
||||
minZ
|
||||
{
|
||||
type patch;
|
||||
}
|
||||
leftSolid_to_bottomAir
|
||||
maxZ
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion bottomAir;
|
||||
samplePatch bottomAir_to_leftSolid;
|
||||
}
|
||||
leftSolid_to_heater
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_leftSolid;;
|
||||
}
|
||||
leftSolid_to_topAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion topAir;
|
||||
samplePatch topAir_to_leftSolid;;
|
||||
type patch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -18,30 +18,13 @@ dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
".*"
|
||||
minZ
|
||||
{
|
||||
type patch;
|
||||
}
|
||||
rightSolid_to_heater
|
||||
maxZ
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_rightSolid;
|
||||
}
|
||||
rightSolid_to_bottomAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion bottomAir;
|
||||
samplePatch bottomAir_to_rightSolid;
|
||||
}
|
||||
rightSolid_to_topAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion topAir;
|
||||
samplePatch topAir_to_rightSolid;
|
||||
type patch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -16,43 +16,6 @@ FoamFile
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
".*"
|
||||
{
|
||||
type wall;
|
||||
}
|
||||
minX
|
||||
{
|
||||
type patch;
|
||||
}
|
||||
maxX
|
||||
{
|
||||
type patch;
|
||||
}
|
||||
topAir_to_leftSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion leftSolid;
|
||||
samplePatch leftSolid_to_topAir;
|
||||
}
|
||||
topAir_to_heater
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_topAir;
|
||||
}
|
||||
topAir_to_rightSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion rightSolid;
|
||||
samplePatch rightSolid_to_topAir;
|
||||
}
|
||||
}
|
||||
|
||||
U
|
||||
{
|
||||
internalField uniform (0.01 0 0);
|
||||
|
||||
@ -16,31 +16,6 @@ FoamFile
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
bottomAir_to_leftSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion leftSolid;
|
||||
samplePatch leftSolid_to_bottomAir;
|
||||
}
|
||||
bottomAir_to_rightSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion rightSolid;
|
||||
samplePatch rightSolid_to_bottomAir;
|
||||
}
|
||||
bottomAir_to_heater
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_bottomAir;
|
||||
}
|
||||
}
|
||||
|
||||
U
|
||||
{
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
@ -16,38 +16,6 @@ FoamFile
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
heater_to_bottomAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion bottomAir;
|
||||
samplePatch bottomAir_to_heater;
|
||||
}
|
||||
heater_to_leftSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion leftSolid;
|
||||
samplePatch leftSolid_to_heater;
|
||||
}
|
||||
heater_to_rightSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion rightSolid;
|
||||
samplePatch rightSolid_to_heater;
|
||||
}
|
||||
heater_to_topAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion topAir;
|
||||
samplePatch topAir_to_heater;
|
||||
}
|
||||
}
|
||||
|
||||
T
|
||||
{
|
||||
internalField uniform 300;
|
||||
|
||||
@ -16,31 +16,6 @@ FoamFile
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
leftSolid_to_bottomAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion bottomAir;
|
||||
samplePatch bottomAir_to_leftSolid;
|
||||
}
|
||||
leftSolid_to_heater
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_leftSolid;;
|
||||
}
|
||||
leftSolid_to_topAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion topAir;
|
||||
samplePatch topAir_to_leftSolid;;
|
||||
}
|
||||
}
|
||||
|
||||
T
|
||||
{
|
||||
internalField uniform 300;
|
||||
|
||||
@ -16,31 +16,6 @@ FoamFile
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
rightSolid_to_heater
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_rightSolid;
|
||||
}
|
||||
rightSolid_to_bottomAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion bottomAir;
|
||||
samplePatch bottomAir_to_rightSolid;
|
||||
}
|
||||
rightSolid_to_topAir
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion topAir;
|
||||
samplePatch topAir_to_rightSolid;
|
||||
}
|
||||
}
|
||||
|
||||
T
|
||||
{
|
||||
internalField uniform 300;
|
||||
|
||||
@ -16,31 +16,6 @@ FoamFile
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
boundary
|
||||
{
|
||||
topAir_to_leftSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion leftSolid;
|
||||
samplePatch leftSolid_to_topAir;
|
||||
}
|
||||
topAir_to_heater
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion heater;
|
||||
samplePatch heater_to_topAir;
|
||||
}
|
||||
topAir_to_rightSolid
|
||||
{
|
||||
offset ( 0 0 0 );
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion rightSolid;
|
||||
samplePatch rightSolid_to_topAir;
|
||||
}
|
||||
}
|
||||
|
||||
U
|
||||
{
|
||||
internalField uniform ( 0.01 0 0 );
|
||||
|
||||
Reference in New Issue
Block a user