NeoN
WIP Prototype of a modern OpenFOAM core
|
Namespaces | |
namespace | surfaceBoundary |
namespace | volumeBoundary |
Classes | |
class | BasicGeometryScheme |
class | BoundaryPatchMixin |
A base class for implementing derived boundary conditions. More... | |
class | CellToFaceStencil |
class | CreateFromExistingVector |
Creates a VectorDocument from an existing field. More... | |
class | DdtOperator |
class | DivOperator |
class | DivOperatorFactory |
class | DomainMixin |
This class represents a mixin for a geometric field. More... | |
class | Expression |
class | FaceNormalGradient |
class | FaceNormalGradientFactory |
class | GaussGreenDiv |
class | GaussGreenGrad |
class | GaussGreenLaplacian |
class | GeometryScheme |
class | GeometrySchemeFactory |
class | LaplacianOperator |
class | LaplacianOperatorFactory |
class | Linear |
class | OldTimeCollection |
class | OldTimeDocument |
class | SourceTerm |
class | SparsityPattern |
class | SurfaceBoundary |
Represents a surface boundary field for a cell-centered finite volume method. More... | |
class | SurfaceBoundaryFactory |
class | SurfaceField |
Represents a surface field in a finite volume method. More... | |
class | SurfaceIntegrate |
class | SurfaceInterpolation |
class | SurfaceInterpolationFactory |
class | Uncorrected |
class | Upwind |
class | VectorCollection |
A class representing a collection of field documents in a database. More... | |
class | VectorDocument |
A class representing a field document in a database. More... | |
class | VolumeBoundary |
Represents a volume boundary field for a cell-centered finite volume method. More... | |
class | VolumeBoundaryFactory |
class | VolumeField |
Represents a volume field in a finite volume method. More... | |
Typedefs | |
using | CreateFunction = std::function< VectorDocument(NeoN::Database &db)> |
A function type for creating a VectorDocument. | |
Functions | |
bool | validateVectorDoc (const Document &doc) |
Validates a VectorDocument. | |
template<typename VectorType > | |
VectorType & | oldTime (VectorType &field) |
Retrieves the old time field of a given field. | |
template<typename VectorType > | |
const VectorType & | oldTime (const VectorType &field) |
Retrieves the old time field of a given field (const version). | |
scalar | computeCoNum (const SurfaceField< scalar > &faceFlux, const scalar dt) |
template<typename BoundaryType > | |
std::vector< BoundaryType > | createCalculatedBCs (const UnstructuredMesh &mesh) |
template<typename BoundaryType > | |
std::vector< BoundaryType > | createExtrapolatedBCs (const UnstructuredMesh &mesh) |
template<typename ValueType , typename IndexType = localIdx> | |
VolumeField< ValueType > | operator& (const Expression< ValueType, IndexType > expr, const VolumeField< ValueType > &psi) |
template<typename ValueType > | |
void | computeFaceNormalGrad (const VolumeField< ValueType > &volVector, const std::shared_ptr< GeometryScheme > geometryScheme, SurfaceField< ValueType > &surfaceVector) |
template<typename ValueType > | |
void | computeLinearInterpolation (const VolumeField< ValueType > &src, const SurfaceField< scalar > &weights, SurfaceField< ValueType > &dst) |
template<typename ValueType > | |
void | computeUpwindInterpolation (const VolumeField< ValueType > &src, const SurfaceField< scalar > &flux, const SurfaceField< scalar > &weights, SurfaceField< ValueType > &dst) |
template<typename ValueType > | |
void | computeDivExp (const SurfaceField< scalar > &faceFlux, const VolumeField< ValueType > &phi, const SurfaceInterpolation< ValueType > &surfInterp, Vector< ValueType > &divPhi, const dsl::Coeff operatorScaling) |
template<typename ValueType > | |
void | computeDivImp (la::LinearSystem< ValueType, localIdx > &ls, const SurfaceField< scalar > &faceFlux, const VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling, const SparsityPattern &sparsityPattern) |
template<typename ValueType > | |
void | computeLaplacianExp (const FaceNormalGradient< ValueType > &, const SurfaceField< scalar > &, VolumeField< ValueType > &, Vector< ValueType > &, const dsl::Coeff) |
template<typename ValueType > | |
void | computeLaplacianImpl (la::LinearSystem< ValueType, localIdx > &ls, const SurfaceField< scalar > &gamma, VolumeField< ValueType > &phi, const dsl::Coeff operatorScaling, const SparsityPattern &sparsityPattern, const FaceNormalGradient< ValueType > &faceNormalGradient) |
template<typename ValueType > | |
void | surfaceIntegrate (const Executor &exec, localIdx nInternalFaces, View< const int > neighbour, View< const int > owner, View< const int > faceCells, View< const ValueType > flux, View< const scalar > v, View< ValueType > res, const dsl::Coeff operatorScaling) |
using NeoN::finiteVolume::cellCentred::CreateFunction = typedef std::function<VectorDocument(NeoN::Database& db)> |
A function type for creating a VectorDocument.
This function type is used to create a VectorDocument and creates a registered VectorType
db | The database to create the VectorDocument in. |
Definition at line 198 of file fieldCollection.hpp.
scalar NeoN::finiteVolume::cellCentred::computeCoNum | ( | const SurfaceField< scalar > & | faceFlux, |
const scalar | dt | ||
) |
void NeoN::finiteVolume::cellCentred::computeDivExp | ( | const SurfaceField< scalar > & | faceFlux, |
const VolumeField< ValueType > & | phi, | ||
const SurfaceInterpolation< ValueType > & | surfInterp, | ||
Vector< ValueType > & | divPhi, | ||
const dsl::Coeff | operatorScaling | ||
) |
void NeoN::finiteVolume::cellCentred::computeDivImp | ( | la::LinearSystem< ValueType, localIdx > & | ls, |
const SurfaceField< scalar > & | faceFlux, | ||
const VolumeField< ValueType > & | phi, | ||
const dsl::Coeff | operatorScaling, | ||
const SparsityPattern & | sparsityPattern | ||
) |
void NeoN::finiteVolume::cellCentred::computeFaceNormalGrad | ( | const VolumeField< ValueType > & | volVector, |
const std::shared_ptr< GeometryScheme > | geometryScheme, | ||
SurfaceField< ValueType > & | surfaceVector | ||
) |
void NeoN::finiteVolume::cellCentred::computeLaplacianExp | ( | const FaceNormalGradient< ValueType > & | , |
const SurfaceField< scalar > & | , | ||
VolumeField< ValueType > & | , | ||
Vector< ValueType > & | , | ||
const dsl::Coeff | |||
) |
void NeoN::finiteVolume::cellCentred::computeLaplacianImpl | ( | la::LinearSystem< ValueType, localIdx > & | ls, |
const SurfaceField< scalar > & | gamma, | ||
VolumeField< ValueType > & | phi, | ||
const dsl::Coeff | operatorScaling, | ||
const SparsityPattern & | sparsityPattern, | ||
const FaceNormalGradient< ValueType > & | faceNormalGradient | ||
) |
void NeoN::finiteVolume::cellCentred::computeLinearInterpolation | ( | const VolumeField< ValueType > & | src, |
const SurfaceField< scalar > & | weights, | ||
SurfaceField< ValueType > & | dst | ||
) |
void NeoN::finiteVolume::cellCentred::computeUpwindInterpolation | ( | const VolumeField< ValueType > & | src, |
const SurfaceField< scalar > & | flux, | ||
const SurfaceField< scalar > & | weights, | ||
SurfaceField< ValueType > & | dst | ||
) |
std::vector< BoundaryType > NeoN::finiteVolume::cellCentred::createCalculatedBCs | ( | const UnstructuredMesh & | mesh | ) |
Definition at line 27 of file boundary.hpp.
std::vector< BoundaryType > NeoN::finiteVolume::cellCentred::createExtrapolatedBCs | ( | const UnstructuredMesh & | mesh | ) |
Definition at line 41 of file boundary.hpp.
const VectorType & NeoN::finiteVolume::cellCentred::oldTime | ( | const VectorType & | field | ) |
Retrieves the old time field of a given field (const version).
This function retrieves the old time field of a given field
field | The field to retrieve the old time field from. |
Definition at line 163 of file oldTimeCollection.hpp.
VectorType & NeoN::finiteVolume::cellCentred::oldTime | ( | VectorType & | field | ) |
Retrieves the old time field of a given field.
This function retrieves the old time field of a given field
field | The field to retrieve the old time field from. |
Definition at line 147 of file oldTimeCollection.hpp.
VolumeField< ValueType > NeoN::finiteVolume::cellCentred::operator& | ( | const Expression< ValueType, IndexType > | expr, |
const VolumeField< ValueType > & | psi | ||
) |
Definition at line 189 of file expression.hpp.
void NeoN::finiteVolume::cellCentred::surfaceIntegrate | ( | const Executor & | exec, |
localIdx | nInternalFaces, | ||
View< const int > | neighbour, | ||
View< const int > | owner, | ||
View< const int > | faceCells, | ||
View< const ValueType > | flux, | ||
View< const scalar > | v, | ||
View< ValueType > | res, | ||
const dsl::Coeff | operatorScaling | ||
) |
bool NeoN::finiteVolume::cellCentred::validateVectorDoc | ( | const Document & | doc | ) |
Validates a VectorDocument.
This function validates a VectorDocument by checking if it contains the required fields.
doc | The Document to validate. |