OpenFOAM
v2406
The open source CFD toolbox
moveMesh.H
Go to the documentation of this file.
1
{
2
IOobject
io
3
(
4
"points"
,
5
runTime
.timeName(),
6
mesh
.name(),
7
mesh
,
8
IOobject::NO_READ,
9
IOobject::NO_WRITE,
10
IOobject::NO_REGISTER
11
);
12
13
if
(
io
.typeHeaderOk<
pointIOField
>(
true
,
false
))
14
{
15
Info
<<
"new points available"
<<
endl
;
16
// Read new points
17
io
.readOpt(IOobject::MUST_READ);
18
mesh
.movePoints(
pointIOField
(
io
));
19
}
20
}
Foam::pointIOField
vectorIOField pointIOField
pointIOField is a vectorIOField.
Definition:
pointIOField.H:38
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:531
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
io
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
applications
utilities
postProcessing
dataConversion
foamToGMV
moveMesh.H
Generated by
1.8.14