Loading...
Searching...
No Matches
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-2023 OpenCFD Ltd.
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
12
13Description
14 Code chunk for converting area fields
15 included by foamToEnsight.
16
17 Possible objects to convert are given in faObjects
18
19\*---------------------------------------------------------------------------*/
20
21// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
22
23// Area fields (finiteArea)
24if (doFiniteArea && ensFaCasePtr && ensFaMeshPtr)
26 Info<< " area field (";
27
28 writeAllAreaFields(*ensFaCasePtr, *ensFaMeshPtr, faObjects);
29
30 Info<< " )" << nl;
31}
32
33
34// ************************************************************************* //