OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
olb::FreeSurfaceToGasCellConversionPostProcessor2D< 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 <freeSurfacePostProcessor2D.h>

+ Collaboration diagram for olb::FreeSurfaceToGasCellConversionPostProcessor2D< 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::FreeSurfaceToGasCellConversionPostProcessor2D< 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 101 of file freeSurfacePostProcessor2D.h.

Member Function Documentation

◆ apply()

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

Definition at line 286 of file freeSurfacePostProcessor2D.hh.

286 {
287
288 using namespace olb::FreeSurface;
289
290
291 // For the to be converted toGas cells, set the neighbours to interface cells
295 T rho = cell.computeRho();
296 cell.template setField<FreeSurface::MASS>(rho);
297 }
298}
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::FreeSurfaceToGasCellConversionPostProcessor2D< T, DESCRIPTOR >::getPriority ( ) const
inline

Definition at line 105 of file freeSurfacePostProcessor2D.h.

105 {
106 return 5;
107 }

Member Data Documentation

◆ scope

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

Definition at line 103 of file freeSurfacePostProcessor2D.h.


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