Go to the documentation of this file.
40 #ifndef fvMeshSubsetProxy_H
41 #define fvMeshSubsetProxy_H
83 label exposedPatchId_;
122 const word& selectionName,
123 label exposedPatchId = -1
131 label exposedPatchId = -1
139 label exposedPatchId = -1
168 return type_ != subsetType::NONE;
191 return selectedCells_;
202 bool correct(
bool verbose =
false);
212 static tmp<GeometricField<Type, fvPatchField, volMesh>>
215 const DimensionedField<Type, volMesh>& df
220 static tmp<GeometricField<Type, fvPatchField, volMesh>>
224 const DimensionedField<Type, volMesh>& df
230 static tmp<GeometricField<Type, fvPatchField, volMesh>>
234 const tmp<DimensionedField<Type, volMesh>>& tdf
239 template<
class GeoField>
248 template<
class GeoField>
252 const tmp<GeoField>&
fld
260 tmp<GeometricField<Type, fvPatchField, volMesh>>
263 const DimensionedField<Type, volMesh>& df
269 tmp<GeometricField<Type, fvPatchField, volMesh>>
272 const tmp<DimensionedField<Type, volMesh>>& tdf
278 template<
class GeoField>
283 template<
class GeoField>
A class for handling words, derived from Foam::string.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const fvMeshSubset & subsetter() const noexcept
A class for managing temporary objects.
Given the original mesh and the list of selected cells, it creates the mesh consisting only of the de...
const fvMesh & mesh() const
static tmp< GeometricField< Type, fvPatchField, volMesh > > interpolateInternal(const fvMeshSubset &subsetter, const DimensionedField< Type, volMesh > &df)
static tmp< GeoField > interpolate(const fvMeshSubset &subsetter, const GeoField &fld)
const bitSet & selectedCells() const noexcept
fvMeshSubset & subsetter() noexcept
static tmp< GeometricField< Type, fvPatchField, volMesh > > zeroGradientField(const DimensionedField< Type, volMesh > &df)
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
@ ZONES
Subset with multiple cellZones.
bool useSubMesh() const noexcept
Mesh data needed to do the Finite Volume discretisation.
Simple proxy for holding a mesh, or mesh-subset. The subMeshes are currently limited to cellSet or ce...
@ ZONE
Subset with a cellZone.
const word & name() const noexcept
void resetZones(const wordRes &zoneNames)
fileName::Type type(const fileName &name, const bool followLink=true)
A List of wordRe with additional matching capabilities.
const fvMesh & subMesh() const
@ SET
Subset with a cellSet.
bool correct(bool verbose=false)
polyMesh::readUpdateState readUpdate()
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const fvMesh & baseMesh() const noexcept