OpenFOAM: API Guide
v2112
The open source CFD toolbox
convertAreaFields.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) 2021 OpenCFD Ltd.
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
12
13
Description
14
Code chunk for converting area fields
15
included by foamToEnsight.
16
17
\*---------------------------------------------------------------------------*/
18
19
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
20
21
// Area fields (finiteArea)
22
if
(doFiniteArea && ensFaCasePtr && ensFaMeshPtr)
23
{
24
Info
<<
" area field ("
;
25
26
writeAllAreaFields
(*ensFaCasePtr, *ensFaMeshPtr, objects);
27
28
Info
<<
" )"
<<
nl
;
29
}
30
31
32
// ************************************************************************* //
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::nl
constexpr char nl
Definition:
Ostream.H:404
Foam::writeAllAreaFields
label writeAllAreaFields(ensightCase &ensCase, const ensightFaMesh &ensMesh, const IOobjectList &objects)
Definition:
writeAreaFields.H:105
applications
utilities
postProcessing
dataConversion
foamToEnsight
convertAreaFields.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.