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

pressureGradientExplicitSource Class Reference

Creates a cell set pressure gradient source. More...

#include <finiteVolume/pressureGradientExplicitSource.H>


Detailed Description

Creates a cell set pressure gradient source.

Note: Currently only handles kinematic pressure

Source files

Definition at line 55 of file pressureGradientExplicitSource.H.

Collaboration diagram for pressureGradientExplicitSource:

List of all members.

Public Member Functions

 pressureGradientExplicitSource (const word &sourceName, volVectorField &U)
 Construct from explicit source name and mesh.
tmp< DimensionedField< vector,
volMesh > >  
Su () const
 Return a tmp field of the source.
void  update ()
 Correct driving force for a constant mass flow rate.

Constructor & Destructor Documentation

pressureGradientExplicitSource ( const word &   sourceName,
volVectorField &   U  
)

Construct from explicit source name and mesh.

Definition at line 58 of file pressureGradientExplicitSource.C.

References Foam::endl(), IOstream::good(), Foam::Info, dictionary::lookup(), topoSetSource::NEW, Foam::nl, dictionary::null, propsDict(), and Foam::returnReduce().


Member Function Documentation

Return a tmp field of the source.

Definition at line 130 of file pressureGradientExplicitSource.C.

References forAllConstIter, IOobject::NO_READ, IOobject::NO_WRITE, and Vector< Cmpt >::zero.

void update (  )

Correct driving force for a constant mass flow rate.

Definition at line 162 of file pressureGradientExplicitSource.C.

References Foam::endl(), forAllConstIter, Foam::Info, Foam::mag(), Foam::reduce(), rUA, and Foam::tab.


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