mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected output of patch area.
This commit is contained in:
@ -75,7 +75,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Give patch area
|
// Give patch area
|
||||||
Info<< " Patch area = " << sum(mesh.Sf()) << endl;
|
Info<< " Patch area = " << sum(mesh.Sf().boundaryField()[patchi]) << endl;
|
||||||
|
|
||||||
if (fieldHeader.headerClassName() == "volScalarField")
|
if (fieldHeader.headerClassName() == "volScalarField")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user