parcelClouds.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2022 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include "parcelClouds.H"
27 
28 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
29 
31 (
32  const fvMesh& mesh,
33  const volScalarField& rho,
34  const volVectorField& U,
35  const volScalarField& mu,
36  const dimensionedVector& g
37 )
38 :
40  parcelCloudList(rho, U, mu, g)
41 {}
42 
43 
45 (
46  const fvMesh& mesh,
47  const volScalarField& rho,
48  const volVectorField& U,
49  const dimensionedVector& g,
50  const fluidThermo& carrierThermo
51 )
52 :
54  parcelCloudList(rho, U, g, carrierThermo)
55 {}
56 
57 
58 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
59 
61 {}
62 
63 
64 // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
65 
67 {
69 }
70 
71 
73 {
74  return true;
75 }
76 
77 
79 {
81 }
82 
83 
85 {
87 }
88 
89 
91 {
93 }
94 
95 
96 // ************************************************************************* //
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
Generic GeometricField class.
Base-class for fluid thermodynamic properties.
Definition: fluidThermo.H:57
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:101
List of parcel clouds, with the same interface as an individual parcel cloud. This is the object that...
void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
void storeGlobalPositions()
Call this before a topology change. Stores the particles global.
List of parcel clouds, with the same interface as an individual parcel cloud. Is a mesh object,...
Definition: parcelClouds.H:60
virtual bool movePoints()
Update for mesh motion.
Definition: parcelClouds.C:72
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
Definition: parcelClouds.C:78
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
Definition: parcelClouds.C:90
virtual void preUpdateMesh()
Prepare for mesh update.
Definition: parcelClouds.C:66
parcelClouds(const fvMesh &mesh, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g)
Construct with given mesh and carrier fields.
Definition: parcelClouds.C:31
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
Definition: parcelClouds.C:84
virtual ~parcelClouds()
Destructor.
Definition: parcelClouds.C:60
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Definition: polyMeshMap.H:51
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
U
Definition: pEqn.H:72
const dimensionedScalar mu
Atomic mass unit.