noSlipFvPatchVectorField Class Reference

This boundary condition fixes the velocity to zero at walls and assumes the walls are stationary. 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 updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition fixes the velocity to zero at walls and assumes the walls are stationary.

For stationary walls with sliding vertices, e.g. engine liners, the normal component of the velocity is set from the wall face-flux to ensure continuity.

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

Definition at line 65 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().

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 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 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 117 of file noSlipFvPatchVectorField.H.

References noSlipFvPatchVectorField::noSlipFvPatchVectorField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 83 of file noSlipFvPatchVectorField.C.

References polyMesh::boundaryMesh(), polyBoundaryMesh::mesh(), Foam::fvc::meshPhi(), polyMesh::moving(), n, Field< vector >::operator=(), p, and U.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 109 of file noSlipFvPatchVectorField.C.

References fvPatchField< Type >::write().

Here is the call graph for this function:

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