Go to the documentation of this file.
35 namespace incompressible
50 const labelList& ibc = this->ibPatch().ibCells();
52 if (ibcValues.size() != ibc.
size())
56 "template<class Type>\n"
57 "void immersedBoundaryWallFunctionFvPatchField<Type>::"
60 " const Field<Type>& ibcValues\n"
62 ) <<
"Size of ibcValues field not equal to the number of IB cells."
63 <<
nl <<
"ibcValues: " << ibcValues.size()
64 <<
" ibc: " << ibc.
size()
71 if (wallValue_.empty() || wallMask_.empty())
83 psiI[ibc[cellI]] = wallValue_[cellI];
87 psiI[ibc[cellI]] = ibcValues[cellI];
190 this->ibPatch().ibCells().size(),
218 this->ibPatch().ibCells().size(),
bool movingIb() const
Is the immersed boundary patch moving?
#define forAll(list, i)
Loop across all elements in list.
bool moving() const
Is mesh moving.
immersedBoundaryWallFunctionFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Boundary condition for passive turbulence variables (U, k, q, R, nut) when using wall functions on an...
const fvMesh & mesh() const
Return the mesh reference.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
Immersed boundary FV patch.
const immersedBoundaryFvPatch & ibPatch() const
Return reference to immersed boundary patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Field< Type > & wallValue() const
Access to value to fix in IB cell. Note non-const access.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
errorManip< error > abort(error &err)
conserve internalField()+
virtual void setIbCellValues(const Field< Type > &) const
Set IB cell values.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
Foam::immersedBoundaryFvPatchField.
boolList & wallMask() const
Access to indicator on fixed values. Note non-const access.
virtual void setIbCellValues(const Field< Type > &) const
Set IB cell values: contains data manipulation.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Foam::fvPatchFieldMapper.
void size(const label)
Override size to be inconsistent with allocated storage.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...