OpenFOAM: API Guide
v2112
The open source CFD toolbox
createMeshNoClear.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2011 OpenFOAM Foundation
9
Copyright (C) 2021 OpenCFD Ltd.
10
-------------------------------------------------------------------------------
11
License
12
This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
13
14
Description
15
Create a fvMesh (defaultRegion)
16
17
Required Variables
18
- runTime [Time]
19
20
Provided Variables
21
- mesh [fvMesh]
22
23
Notes
24
Currently identical to non-dry-run version of createMesh.H
25
26
\*---------------------------------------------------------------------------*/
27
28
Foam::Info
29
<<
"Create mesh, no clear-out for time = "
30
<<
runTime
.timeName() <<
Foam::nl
<<
Foam::endl
;
31
32
Foam::fvMesh
mesh
33
(
34
Foam::IOobject
35
(
36
Foam::polyMesh::defaultRegion
,
37
runTime
.timeName(),
38
runTime
,
39
Foam::IOobject::MUST_READ
40
)
41
);
42
43
44
// ************************************************************************* //
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
Foam::IOobject
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Definition:
IOobject.H:169
Foam::polyMesh::defaultRegion
static word defaultRegion
Return the default region name.
Definition:
polyMesh.H:318
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:369
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition:
fvMesh.H:85
Foam::nl
constexpr char nl
Definition:
Ostream.H:404
Foam::IOobject::MUST_READ
Definition:
IOobject.H:185
src
OpenFOAM
include
createMeshNoClear.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.