OpenFOAM
v2512
The open source CFD toolbox
Loading...
Searching...
No Matches
convertVolumeFields.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) 2018-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 volume and dimensioned fields
15
included by foamToEnsight.
16
17
\*---------------------------------------------------------------------------*/
18
19
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
20
21
// Volume field data output
22
if
(doBoundary || doInternal)
23
{
24
Info<<
" volume field ("
;
25
26
writeAllVolFields(ensCase, ensMesh, objects, nearCellValue);
27
writeAllDimFields
(ensCase, ensMesh, objects);
28
29
Info<<
" )"
<< nl;
30
31
// PointData
32
// - only construct pointMesh on request (it constructs edge addressing)
33
if
(doPointValues)
34
{
35
Info<<
" point field ("
;
36
writeAllPointFields(ensCase, ensMesh, objects);
37
Info<<
" )"
<< nl;
38
}
39
}
40
41
42
// ************************************************************************* //
writeAllDimFields
writeAllDimFields(internalWriter, meshProxy, objects, true, cacheFieldsPtr.get())
applications
utilities
postProcessing
dataConversion
foamToEnsight
convertVolumeFields.H
Generated by
1.16.1