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.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).
 
virtual ~AlgebraicFSIDrivenCavityMesh ()
 Destructor: empty.
 
void algebraic_node_update (const unsigned &t, AlgebraicNode *&node_pt)
 Update nodal position at time level t (t=0: present; t>0: previous)
 
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.
 
- 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).
 
- 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.
 
const unsignednx () const
 Access function for number of elements in x directions.
 
const unsignedny () const
 Access function for number of elements in y directions.
 

Protected Member Functions

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

Additional Inherited Members

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

Detailed Description

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

/ Alebraic node update version of FSIDrivenCavityMesh

Definition at line 153 of file fsi_driven_cavity_mesh.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 161 of file fsi_driven_cavity_mesh.h.

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

◆ ~AlgebraicFSIDrivenCavityMesh()

Destructor: empty.

Definition at line 180 of file fsi_driven_cavity_mesh.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 202 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 189 of file fsi_driven_cavity_mesh.h.


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