Public Member Functions | Protected Member Functions | List of all members
oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT > Class Template Reference

/ Alebraic node update version of FSIDrivenCavityMesh More...

#include <fsi_driven_cavity_mesh.template.h>

Inheritance diagram for oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >:
oomph::FSIDrivenCavityMesh< ELEMENT > oomph::SimpleRectangularQuadMesh< ELEMENT > oomph::RefineableAlgebraicFSIDrivenCavityMesh< ELEMENT >

Public Member Functions

 AlgebraicFSIDrivenCavityMesh (const unsigned &nx, const unsigned &ny, const double &lx, const double &ly, const double &gap_fraction, GeomObject *wall_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements, lengths, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More...
 
virtual ~AlgebraicFSIDrivenCavityMesh ()
 Destructor: empty. More...
 
void algebraic_node_update (const unsigned &t, AlgebraicNode *&node_pt)
 Update nodal position at time level t (t=0: present; t>0: previous) More...
 
void update_node_update (AlgebraicNode *&node_pt)
 Update the node-udate data after mesh adaptation. Empty – no update of node update required as this is non-refineable mesh. More...
 
- Public Member Functions inherited from oomph::FSIDrivenCavityMesh< ELEMENT >
 FSIDrivenCavityMesh (const unsigned &nx, const unsigned &ny, const double &lx, const double &ly, const double &gap_fraction, GeomObject *wall_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements, number of elements, fractional height of the gap above the moving wall, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More...
 
- Public Member Functions inherited from oomph::SimpleRectangularQuadMesh< ELEMENT >
 SimpleRectangularQuadMesh (const unsigned &Nx, const unsigned &Ny, const double &Lx, const double &Ly, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper)
 Constructor: Pass number of elements in the horizontal and vertical directions, and the corresponding dimensions. Timestepper defaults to Steady. More...
 
const unsigned & nx () const
 Access function for number of elements in x directions. More...
 
const unsigned & ny () const
 Access function for number of elements in y directions. More...
 

Protected Member Functions

void setup_algebraic_node_update ()
 Function to setup the algebraic node update. More...
 

Additional Inherited Members

- Protected Attributes inherited from oomph::FSIDrivenCavityMesh< ELEMENT >
unsigned Nx
 Number of elements in x direction. More...
 
unsigned Ny
 Number of elements in y direction. More...
 
double Gap_fraction
 Fraction of the gap next to moving lid, relative to the height of the domain. More...
 
GeomObject * Wall_pt
 Pointer to geometric object that represents the moving wall. More...
 

Detailed Description

template<class ELEMENT>
class oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >

/ Alebraic node update version of FSIDrivenCavityMesh

Definition at line 158 of file fsi_driven_cavity_mesh.template.h.

Constructor & Destructor Documentation

◆ AlgebraicFSIDrivenCavityMesh()

template<class ELEMENT >
oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::AlgebraicFSIDrivenCavityMesh ( const unsigned &  nx,
const unsigned &  ny,
const double &  lx,
const double &  ly,
const double &  gap_fraction,
GeomObject *  wall_pt,
TimeStepper *  time_stepper_pt = &Mesh::Default_TimeStepper 
)
inline

Constructor: Pass number of elements, lengths, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady).

Definition at line 166 of file fsi_driven_cavity_mesh.template.h.

References oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::setup_algebraic_node_update().

◆ ~AlgebraicFSIDrivenCavityMesh()

template<class ELEMENT >
virtual oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::~AlgebraicFSIDrivenCavityMesh ( )
inlinevirtual

Destructor: empty.

Definition at line 185 of file fsi_driven_cavity_mesh.template.h.

Member Function Documentation

◆ algebraic_node_update()

template<class ELEMENT >
void oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::algebraic_node_update ( const unsigned &  t,
AlgebraicNode *&  node_pt 
)

Update nodal position at time level t (t=0: present; t>0: previous)

//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////

Perform algebraic mesh update at time level t (t=0: present; t>0: previous)

Definition at line 201 of file fsi_driven_cavity_mesh.template.cc.

◆ setup_algebraic_node_update()

template<class ELEMENT >
void oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::setup_algebraic_node_update
protected

Function to setup the algebraic node update.

Setup algebraic mesh update – assumes that mesh has initially been set up with a flush upper wall.

Definition at line 283 of file fsi_driven_cavity_mesh.template.cc.

Referenced by oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::AlgebraicFSIDrivenCavityMesh().

◆ update_node_update()

template<class ELEMENT >
void oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::update_node_update ( AlgebraicNode *&  node_pt)
inline

Update the node-udate data after mesh adaptation. Empty – no update of node update required as this is non-refineable mesh.

Definition at line 194 of file fsi_driven_cavity_mesh.template.h.


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