BUG: caseDicts: fix pressureDifferencePatch and pressureDifferenceSurface scripts (fixes #2482)
This commit is contained in:
parent
92f38b589a
commit
71a612085b
@ -22,12 +22,14 @@ functions
|
||||
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg"
|
||||
operation areaAverage;
|
||||
fields (p);
|
||||
$region1;
|
||||
}
|
||||
region2
|
||||
{
|
||||
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg"
|
||||
operation areaAverage;
|
||||
fields (p);
|
||||
$region2;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||
|
||||
region1
|
||||
{
|
||||
regionType patch;
|
||||
@ -19,4 +17,6 @@ region2
|
||||
name $patch2;
|
||||
}
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -6,16 +6,14 @@
|
||||
\\/ M anipulation |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||
|
||||
region1
|
||||
{
|
||||
regionType sampledSurface;
|
||||
|
||||
regionType sampledSurface;
|
||||
name $triSurface1;
|
||||
sampledSurfaceDict
|
||||
{
|
||||
type meshedSurface;
|
||||
regionType cells;
|
||||
source cells;
|
||||
interpolate true;
|
||||
surface $triSurface1;
|
||||
}
|
||||
@ -24,10 +22,13 @@ region1
|
||||
region2
|
||||
{
|
||||
$region1;
|
||||
name $triSurface2;
|
||||
sampledSurfaceDict
|
||||
{
|
||||
surface $triSurface2;
|
||||
}
|
||||
}
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
Loading…
Reference in New Issue
Block a user