Loading...
Searching...
No Matches
coupledFvsPatchField.C
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-2015 OpenFOAM Foundation
9 Copyright (C) 2024 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
27\*---------------------------------------------------------------------------*/
28
30
31// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
32
33template<class Type>
35(
36 const fvPatch& p,
39:
40 fvsPatchField<Type>(p, iF)
41{}
42
43
44template<class Type>
46(
47 const fvPatch& p,
49 const Field<Type>& f
51:
52 fvsPatchField<Type>(p, iF, f)
53{}
54
55
56template<class Type>
58(
59 const fvPatch& p,
61 const dictionary& dict,
64:
65 fvsPatchField<Type>(p, iF, dict, requireValue)
66{}
67
68
69template<class Type>
71(
73 const fvPatch& p,
75 const fvPatchFieldMapper& mapper
77:
78 fvsPatchField<Type>(ptf, p, iF, mapper)
79{}
80
81
82template<class Type>
84(
87:
88 fvsPatchField<Type>(ptf)
89{}
90
91
92template<class Type>
94(
97)
98:
99 fvsPatchField<Type>(ptf, iF)
100{}
101
102
103// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
104
105template<class Type>
107{
110}
111
112
113// ************************************************************************* //
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Definition Field.H:172
readOption
Enumeration defining read preferences.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition Ostream.H:59
Abstract base class for coupled patches.
virtual void write(Ostream &) const
Write includes "value" entry.
coupledFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Definition fvPatch.H:71
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
fvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &os) const
Write the patch "type".
volScalarField & p
OBJstream os(runTime.globalPath()/outputName)
labelList f(nPoints)
dictionary dict