BUG: caseDicts: fix pressureDifferencePatch and pressureDifferenceSurface scripts (fixes #2482)

This commit is contained in:
Robin Knowles 2022-05-23 11:24:53 +00:00 committed by Kutalmis Bercin
parent 92f38b589a
commit 71a612085b
3 changed files with 10 additions and 7 deletions

View File

@ -22,12 +22,14 @@ functions
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg" #includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg"
operation areaAverage; operation areaAverage;
fields (p); fields (p);
$region1;
} }
region2 region2
{ {
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg" #includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg"
operation areaAverage; operation areaAverage;
fields (p); fields (p);
$region2;
} }
} }

View File

@ -6,8 +6,6 @@
\\/ M anipulation | \\/ M anipulation |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
region1 region1
{ {
regionType patch; regionType patch;
@ -19,4 +17,6 @@ region2
name $patch2; name $patch2;
} }
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
// ************************************************************************* // // ************************************************************************* //

View File

@ -6,16 +6,14 @@
\\/ M anipulation | \\/ M anipulation |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
region1 region1
{ {
regionType sampledSurface; regionType sampledSurface;
name $triSurface1;
sampledSurfaceDict sampledSurfaceDict
{ {
type meshedSurface; type meshedSurface;
regionType cells; source cells;
interpolate true; interpolate true;
surface $triSurface1; surface $triSurface1;
} }
@ -24,10 +22,13 @@ region1
region2 region2
{ {
$region1; $region1;
name $triSurface2;
sampledSurfaceDict sampledSurfaceDict
{ {
surface $triSurface2; surface $triSurface2;
} }
} }
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
// ************************************************************************* // // ************************************************************************* //