OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
olb::FreeSurfaceToGasCellConversionPostProcessor3D< T, DESCRIPTOR > Class Template Reference

Free Surface Processor 5 ToGas Converts cells to interface from fluid if a neighbouring cell was converted to a gas cell. More...

#include <freeSurfacePostProcessor3D.h>

+ Collaboration diagram for olb::FreeSurfaceToGasCellConversionPostProcessor3D< T, DESCRIPTOR >:

Public Member Functions

int getPriority () const
 
template<typename CELL >
void apply (CELL &cell) any_platform
 

Static Public Attributes

static constexpr OperatorScope scope = OperatorScope::PerCell
 

Detailed Description

template<typename T, typename DESCRIPTOR>
class olb::FreeSurfaceToGasCellConversionPostProcessor3D< T, DESCRIPTOR >

Free Surface Processor 5 ToGas Converts cells to interface from fluid if a neighbouring cell was converted to a gas cell.

Definition at line 91 of file freeSurfacePostProcessor3D.h.

Member Function Documentation

◆ apply()

template<typename T , typename DESCRIPTOR >
template<typename CELL >
void olb::FreeSurfaceToGasCellConversionPostProcessor3D< T, DESCRIPTOR >::apply ( CELL & cell)

Definition at line 294 of file freeSurfacePostProcessor3D.hh.

294 {
295 using namespace olb::FreeSurface;
296 /*
297 * For the to be converted toGas cells, set the neighbours to interface cells
298 */
302 T rho = cell.computeRho();
303 cell.template setField<FreeSurface::MASS>(rho);
304 }
305}
void setCellFlags(CELL &cell, const FreeSurface::Flags &flags)
bool hasNeighbourFlags(CELL &cell, const FreeSurface::Flags &flags)
bool isCellType(CELL &cell, const FreeSurface::Type &type)

References olb::FreeSurface::Fluid, olb::FreeSurface::NewInterface, and olb::FreeSurface::ToGas.

◆ getPriority()

template<typename T , typename DESCRIPTOR >
int olb::FreeSurfaceToGasCellConversionPostProcessor3D< T, DESCRIPTOR >::getPriority ( ) const
inline

Definition at line 95 of file freeSurfacePostProcessor3D.h.

95 {
96 return 5;
97 }

Member Data Documentation

◆ scope

template<typename T , typename DESCRIPTOR >
constexpr OperatorScope olb::FreeSurfaceToGasCellConversionPostProcessor3D< T, DESCRIPTOR >::scope = OperatorScope::PerCell
staticconstexpr

Definition at line 93 of file freeSurfacePostProcessor3D.h.


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