noSlipFvPatchVectorField Class Reference

This boundary condition fixes the velocity to zero at walls. More...

Inheritance diagram for noSlipFvPatchVectorField:
Collaboration diagram for noSlipFvPatchVectorField:

Public Member Functions

 TypeName ("noSlip")
 Runtime type information. More...
 
 noSlipFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 noSlipFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 noSlipFvPatchVectorField (const noSlipFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given noSlipFvPatchVectorField. More...
 
 noSlipFvPatchVectorField (const noSlipFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 noSlipFvPatchVectorField (const noSlipFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition fixes the velocity to zero at walls.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            noSlip;
}
See also
Foam::fixedValueFvPatchVectorField
Source files

Definition at line 60 of file noSlipFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ noSlipFvPatchVectorField() [1/5]

noSlipFvPatchVectorField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF 
)

Construct from patch and internal field.

Definition at line 32 of file noSlipFvPatchVectorField.C.

References Foam::operator==(), and Foam::Zero.

Referenced by noSlipFvPatchVectorField::clone(), and noSlipFvPatchVectorField::noSlipFvPatchVectorField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noSlipFvPatchVectorField() [2/5]

noSlipFvPatchVectorField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 44 of file noSlipFvPatchVectorField.C.

References noSlipFvPatchVectorField::noSlipFvPatchVectorField(), Foam::operator==(), and Foam::Zero.

Here is the call graph for this function:

◆ noSlipFvPatchVectorField() [3/5]

noSlipFvPatchVectorField ( const noSlipFvPatchVectorField ptf,
const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given noSlipFvPatchVectorField.

onto a new patch

Definition at line 57 of file noSlipFvPatchVectorField.C.

References noSlipFvPatchVectorField::noSlipFvPatchVectorField(), Foam::operator==(), and Foam::Zero.

Here is the call graph for this function:

◆ noSlipFvPatchVectorField() [4/5]

Disallow copy without setting internal field reference.

◆ noSlipFvPatchVectorField() [5/5]

Copy constructor setting internal field reference.

Definition at line 71 of file noSlipFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "noSlip"  )

Runtime type information.

◆ clone()

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 113 of file noSlipFvPatchVectorField.H.

References noSlipFvPatchVectorField::noSlipFvPatchVectorField(), and noSlipFvPatchVectorField::write().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 82 of file noSlipFvPatchVectorField.C.

References Foam::makePatchTypeField(), and fvPatchField< Type >::write().

Referenced by noSlipFvPatchVectorField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: