mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
- use polyMesh::defaultRegion instead of fvMesh::defaultRegion and others via static inheritance. (92 vs ~25 occurrences)
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/*---------------------------------------------------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | www.openfoam.com
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Copyright (C) 2011 OpenFOAM Foundation
|
|
Copyright (C) 2021 OpenCFD Ltd.
|
|
-------------------------------------------------------------------------------
|
|
License
|
|
This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
|
|
|
Description
|
|
Create a fvMesh (defaultRegion)
|
|
|
|
Required Variables
|
|
- runTime [Time]
|
|
|
|
Provided Variables
|
|
- mesh [fvMesh]
|
|
|
|
Notes
|
|
Currently identical to non-dry-run version of createMesh.H
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
Foam::Info
|
|
<< "Create mesh, no clear-out for time = "
|
|
<< runTime.timeName() << Foam::nl << Foam::endl;
|
|
|
|
Foam::fvMesh mesh
|
|
(
|
|
Foam::IOobject
|
|
(
|
|
Foam::polyMesh::defaultRegion,
|
|
runTime.timeName(),
|
|
runTime,
|
|
Foam::IOobject::MUST_READ
|
|
)
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|