createPolyMesh.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 polyMesh (defaultRegion only)
16 
17 Required Variables
18  - runTime [Time]
19 
20 Provided Variables
21  - mesh [polyMesh]
22 
23 \*---------------------------------------------------------------------------*/
24 
26  << "Create polyMesh for time = "
27  << runTime.timeName() << Foam::nl;
28 
30 (
32  (
34  runTime.timeName(),
35  runTime,
37  )
38 );
39 
41 
42 // ************************************************************************* //
constexpr char nl
The newline &#39;\n&#39; character (0x0a)
Definition: Ostream.H:50
engineTime & runTime
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:531
dynamicFvMesh & mesh
static word defaultRegion
Return the default region name.
Definition: polyMesh.H:405
messageStream Info
Information stream (stdout output on master, null elsewhere)
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:74
Defines the attributes of an object for which implicit objectRegistry management is supported...
Definition: IOobject.H:172