mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
new pointMesh construction
This commit is contained in:
@ -48,8 +48,6 @@ int main(int argc, char *argv[])
|
|||||||
# include "createTime.H"
|
# include "createTime.H"
|
||||||
# include "createPolyMesh.H"
|
# include "createPolyMesh.H"
|
||||||
|
|
||||||
pointMesh pMesh(mesh);
|
|
||||||
|
|
||||||
const polyBoundaryMesh& patches = mesh.boundaryMesh();
|
const polyBoundaryMesh& patches = mesh.boundaryMesh();
|
||||||
|
|
||||||
// Get name of patch
|
// Get name of patch
|
||||||
@ -99,7 +97,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
PointEdgeWave<pointEdgePoint> wallCalc
|
PointEdgeWave<pointEdgePoint> wallCalc
|
||||||
(
|
(
|
||||||
pMesh,
|
mesh,
|
||||||
wallPoints,
|
wallPoints,
|
||||||
wallInfo,
|
wallInfo,
|
||||||
|
|
||||||
@ -119,7 +117,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
pMesh,
|
pointMesh::New(mesh),
|
||||||
dimensionedScalar("wallDist", dimLength, 0.0)
|
dimensionedScalar("wallDist", dimLength, 0.0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user