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 &)
 Construct as copy. More...
 
 noSlipFvPatchVectorField (const noSlipFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchField< vector > > clone () const
 Return a clone. More...
 
virtual tmp< fvPatchField< vector > > clone (const DimensionedField< vector, volMesh > &iF) const
 Clone with an 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 61 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 28 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 38 of file noSlipFvPatchVectorField.C.

References dict.

◆ 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 51 of file noSlipFvPatchVectorField.C.

◆ noSlipFvPatchVectorField() [4/5]

Construct as copy.

Definition at line 63 of file noSlipFvPatchVectorField.C.

◆ noSlipFvPatchVectorField() [5/5]

Construct as copy setting internal field reference.

Definition at line 72 of file noSlipFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "noSlip"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchField<vector> > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 128 of file noSlipFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 137 of file noSlipFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 83 of file noSlipFvPatchVectorField.C.

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

Here is the call graph for this function:

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