mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: caseDicts: fix pressureDifferencePatch and pressureDifferenceSurface scripts (fixes #2482)
This commit is contained in:
committed by
Kutalmis Bercin
parent
92f38b589a
commit
71a612085b
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user