MaMiCo 1.2
Loading...
Searching...
No Matches
coupling::solvers::AbstractCouetteSolver< dim > Class Template Referenceabstract

interface for continuum/macro fluid solvers for the Couette scenario More...

#include <CouetteSolver.h>

Inheritance diagram for coupling::solvers::AbstractCouetteSolver< dim >:

Public Member Functions

virtual ~AbstractCouetteSolver ()
 a dummy destructor
 
virtual void advance (double dt)=0
 advances the solver in time
 
virtual tarch::la::Vector< dim, double > getVelocity (tarch::la::Vector< dim, double > pos) const =0
 returns the current velocity at the given position
 
virtual void setWallVelocity (const tarch::la::Vector< dim, double > wallVelocity)=0
 changes the velocity at the moving for, refers to Couette scenario
 

Detailed Description

template<unsigned int dim>
class coupling::solvers::AbstractCouetteSolver< dim >

interface for continuum/macro fluid solvers for the Couette scenario

Author
Philipp Neumann
Template Parameters
dimrefers to the spacial dimension of the simulation, can be 1, 2, or 3

Constructor & Destructor Documentation

◆ ~AbstractCouetteSolver()

template<unsigned int dim>
virtual coupling::solvers::AbstractCouetteSolver< dim >::~AbstractCouetteSolver ( )
inlinevirtual

a dummy destructor

Todo
Why a dummy destructor buut not a constructor

Member Function Documentation

◆ advance()

template<unsigned int dim>
virtual void coupling::solvers::AbstractCouetteSolver< dim >::advance ( double dt)
pure virtual

advances the solver in time

Parameters
dtthe solver will be advanced from the current time t to t+dt

Implemented in coupling::solvers::CouetteSolver< dim >, coupling::solvers::FiniteDifferenceSolver, coupling::solvers::IcoFoamInterface, and coupling::solvers::LBCouetteSolver.

◆ getVelocity()

template<unsigned int dim>
virtual tarch::la::Vector< dim, double > coupling::solvers::AbstractCouetteSolver< dim >::getVelocity ( tarch::la::Vector< dim, double > pos) const
pure virtual

returns the current velocity at the given position

Parameters
posposition to return the velocity for
Returns
a velocity vector

Implemented in coupling::solvers::CouetteSolver< dim >.

◆ setWallVelocity()

template<unsigned int dim>
virtual void coupling::solvers::AbstractCouetteSolver< dim >::setWallVelocity ( const tarch::la::Vector< dim, double > wallVelocity)
pure virtual

changes the velocity at the moving for, refers to Couette scenario

Parameters
wallVelocityvalue to which the veloctiy will be set

Implemented in coupling::solvers::CouetteSolver< dim >.


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