Loading...
Searching...
No Matches
volFieldsFwd.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) 2018-2025 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Description
28 Forwards and collection of common volume field types
29
30SourceFiles
31 volFields.C
32
33\*---------------------------------------------------------------------------*/
34
35#ifndef Foam_volFieldsFwd_H
36#define Foam_volFieldsFwd_H
37
38#include "fieldTypes.H"
39#include "GeometricFieldFwd.H"
40
41// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43namespace Foam
44{
45
46// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47
48// Forward Declarations
49class volMesh;
50template<class Type> class fvPatchField;
51
52
53//- A volume field for a given type
54template<class Type>
56
57//- A volume boundary field for a given Type
58template<class Type>
60
61//- A volume internal field for a given Type
62template<class Type>
64
66// Typedefs
67
68typedef
71
72typedef
75
76typedef
79
80typedef
83
84typedef
87
89/*---------------------------------------------------------------------------*\
90 Namespace fieldTypes Declaration
91\*---------------------------------------------------------------------------*/
92
93namespace fieldTypes
94{
95
96//- Standard volume internal field types (scalar, vector, tensor, etc)
97extern const wordList internal;
98
99//- Standard volume field types (scalar, vector, tensor, etc)
100extern const wordList volume;
101
102//- Test if the class name appears to be a volume internal field
103bool is_internal(const word& clsName);
104
105//- Test if the class name appears to be a volume field
106bool is_volume(const word& clsName);
107
108} // End namespace fieldTypes
109
110
111// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112
113} // End namespace Foam
114
115// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
116
117#endif
118
119// ************************************************************************* //
Forward declarations related to GeometricField etc.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricBoundaryField class.
Generic GeometricField class.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Mesh data needed to do the Finite Volume discretisation.
Definition volMesh.H:47
A class for handling words, derived from Foam::string.
Definition word.H:66
Collection of common field types.
const wordList volume
Standard volume field types (scalar, vector, tensor, etc).
bool is_volume(const word &clsName)
Test if the class name appears to be a volume field.
Definition volFields.C:165
bool is_internal(const word &clsName)
Test if the class name appears to be a volume internal field.
Definition volFields.C:155
const wordList internal
Standard volume internal field types (scalar, vector, tensor, etc).
Namespace for OpenFOAM.
List< word > wordList
List of word.
Definition fileName.H:60
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< Type, fvPatchField, volMesh > VolumeField
A volume field for a given type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
DimensionedField< Type, volMesh > VolumeInternalField
A volume internal field for a given Type.
GeometricField< tensor, fvPatchField, volMesh > volTensorField
GeometricBoundaryField< Type, fvPatchField, volMesh > VolumeBoundaryField
A volume boundary field for a given Type.
GeometricField< sphericalTensor, fvPatchField, volMesh > volSphericalTensorField
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField