noSlipFvPatchVectorField Class Reference

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

Inheritance diagram for noSlipFvPatchVectorField:
[legend]
Collaboration diagram for noSlipFvPatchVectorField:
[legend]

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 &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 noSlipFvPatchVectorField (const noSlipFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy 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 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 34 of file noSlipFvPatchVectorField.C.

◆ 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 dict, dictionary::getOrDefault(), and word::null.

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.

◆ noSlipFvPatchVectorField() [4/5]

Construct as copy.

Definition at line 69 of file noSlipFvPatchVectorField.C.

◆ noSlipFvPatchVectorField() [5/5]

Construct as copy setting internal field reference.

Definition at line 78 of file noSlipFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "noSlip"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchVectorField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 110 of file noSlipFvPatchVectorField.H.

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 126 of file noSlipFvPatchVectorField.H.

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 90 of file noSlipFvPatchVectorField.C.

References os(), and ObukhovLength::write().

Here is the call graph for this function:

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