FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

activeBaffleVelocityFvPatchVectorField Class Reference

Boundary condition that modifies mesh areas based on velocity. More...

#include <finiteVolume/activeBaffleVelocityFvPatchVectorField.H>


Detailed Description

Boundary condition that modifies mesh areas based on velocity.

Source files

Definition at line 50 of file activeBaffleVelocityFvPatchVectorField.H.

Collaboration diagram for activeBaffleVelocityFvPatchVectorField:

List of all members.

Public Member Functions

 TypeName ("activeBaffleVelocity")
 Runtime type information.
 activeBaffleVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 activeBaffleVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 activeBaffleVelocityFvPatchVectorField (const activeBaffleVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given activeBaffleVelocityFvPatchVectorField.
 activeBaffleVelocityFvPatchVectorField (const activeBaffleVelocityFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorField >  clone () const
 Construct and return a clone.
 activeBaffleVelocityFvPatchVectorField (const activeBaffleVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchVectorField >  clone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
virtual void  autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void  rmap (const fvPatchVectorField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void  updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 35 of file activeBaffleVelocityFvPatchVectorField.C.

Referenced by activeBaffleVelocityFvPatchVectorField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 79 of file activeBaffleVelocityFvPatchVectorField.C.

References dictionary::found(), and dictionary::lookup().

Construct by mapping given activeBaffleVelocityFvPatchVectorField.

onto a new patch

Definition at line 56 of file activeBaffleVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 128 of file activeBaffleVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "activeBaffleVelocity"    )

Runtime type information.

virtual tmp<fvPatchVectorField> clone (  ) const [inline, virtual]
virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Definition at line 147 of file activeBaffleVelocityFvPatchVectorField.H.

References activeBaffleVelocityFvPatchVectorField::activeBaffleVelocityFvPatchVectorField().

void autoMap ( const fvPatchFieldMapper &   m  ) [virtual]

Map (and resize as needed) from self given a mapping object.

Note: cannot map field from cyclic patch anyway so just recalculate

Areas should be consistent when doing autoMap except in case of topo changes. ! Note: we don't want to use Sf here since triggers rebuilding of /*! fvMesh::S() which will give problems when mapped (since already on new mesh)

Definition at line 150 of file activeBaffleVelocityFvPatchVectorField.C.

void rmap ( const fvPatchVectorField &   ptf,
const labelList &   addr  
) [virtual]

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 171 of file activeBaffleVelocityFvPatchVectorField.C.

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Definition at line 188 of file activeBaffleVelocityFvPatchVectorField.C.

References fvPatch::boundaryMesh(), e, Foam::endl(), forAll, Foam::Info, Foam::mag(), Foam::max(), Foam::min(), Foam::sign(), List< T >::size(), and timeIndex.

void write ( Ostream &   os  ) const [virtual]

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