OpenFOAM
9
The OpenFOAM Foundation
moveMesh.H
Go to the documentation of this file.
1
IOobject
ioPoints
2
(
3
"points"
,
4
runTime
.timeName(),
5
mesh
.name(),
6
mesh
7
);
8
9
if
(
ioPoints
.typeHeaderOk<
pointIOField
>(
true
))
10
{
11
Info
<<
"new points available"
<<
endl
;
12
// Reading new points
13
pointIOField
newPoints
14
(
15
IOobject
16
(
17
"points"
,
18
runTime
.timeName(),
19
mesh
.name(),
20
mesh
,
21
IOobject::MUST_READ,
22
IOobject::NO_WRITE
23
)
24
);
25
26
mesh
.movePoints(newPoints);
27
}
ioPoints
IOobject ioPoints("points", runTime.timeName(), mesh.name(), mesh)
Foam::pointIOField
vectorIOField pointIOField
pointIOField is a vectorIOField.
Definition:
pointIOField.H:42
runTime
engineTime & runTime
Definition:
createEngineTime.H:14
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:251
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:18
Foam::Info
messageStream Info
applications
utilities
postProcessing
dataConversion
foamToGMV
moveMesh.H
Generated by
1.8.13