Public Member Functions | Protected Attributes | List of all members
CNSFVFreeOutflowBCUserObject Class Reference

A user object that computes the ghost cell values based on the free outflow boundary condition. More...

#include <CNSFVFreeOutflowBCUserObject.h>

Inheritance diagram for CNSFVFreeOutflowBCUserObject:

Public Member Functions

 CNSFVFreeOutflowBCUserObject (const InputParameters &parameters)
virtual std::vector< Real > getGhostCellValue (unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave) const
 compute the ghost cell variable values More...
virtual void initialize ()
virtual void execute ()
virtual void finalize ()

Protected Attributes

const SinglePhaseFluidProperties_fp

Detailed Description

A user object that computes the ghost cell values based on the free outflow boundary condition.

Definition at line 22 of file CNSFVFreeOutflowBCUserObject.h.

Constructor & Destructor Documentation

CNSFVFreeOutflowBCUserObject::CNSFVFreeOutflowBCUserObject ( const InputParameters &  parameters)

Definition at line 25 of file CNSFVFreeOutflowBCUserObject.C.

26  : BCUserObject(parameters), _fp(getUserObject<SinglePhaseFluidProperties>("fluid_properties"))
27 {
28 }
BCUserObject(const InputParameters &parameters)
Definition: BCUserObject.C:18
const SinglePhaseFluidProperties & _fp

Member Function Documentation

void BCUserObject::execute ( )

Definition at line 26 of file BCUserObject.C.

27 {
28 }
void BCUserObject::finalize ( )

Definition at line 31 of file BCUserObject.C.

32 {
33 }
std::vector< Real > CNSFVFreeOutflowBCUserObject::getGhostCellValue ( unsigned int  iside,
dof_id_type  ielem,
const std::vector< Real > &  uvec1,
const RealVectorValue &  dwave 
) const

compute the ghost cell variable values

[in]isidelocal index of current side
[in]ielemglobal index of the current element
[in]uvec1vector of variables on the host side
[in]dwavevector of unit normal

Implements BCUserObject.

Definition at line 31 of file CNSFVFreeOutflowBCUserObject.C.

35 {
36  return uvec1;
37 }
void BCUserObject::initialize ( )

Definition at line 21 of file BCUserObject.C.

22 {
23 }

Member Data Documentation

const SinglePhaseFluidProperties& CNSFVFreeOutflowBCUserObject::_fp

Definition at line 33 of file CNSFVFreeOutflowBCUserObject.h.

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