////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// More...
#include <collapsible_channel_mesh.template.h>
Public Member Functions | |
AlgebraicCollapsibleChannelMesh (const unsigned &nup, const unsigned &ncollapsible, const unsigned &ndown, const unsigned &ny, const double &lup, const double &lcollapsible, const double &ldown, const double &ly, GeomObject *wall_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More... | |
virtual | ~AlgebraicCollapsibleChannelMesh () |
Destructor: empty. More... | |
AlgebraicCollapsibleChannelMesh (const unsigned &nup, const unsigned &ncollapsible, const unsigned &ndown, const unsigned &ny, const double &lup, const double &lcollapsible, const double &ldown, const double &ly, GeomObject *wall_pt, CollapsibleChannelDomain::BLSquashFctPt bl_squash_function_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More... | |
CollapsibleChannelDomain::BLSquashFctPt & | bl_squash_fct_pt () |
Function pointer for function that squashes the mesh near the walls. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up! More... | |
CollapsibleChannelDomain::BLSquashFctPt & | axial_spacing_fct_pt () |
Function pointer for function that redistributes nodes axially. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up! 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::CollapsibleChannelMesh< ELEMENT > | |
CollapsibleChannelMesh (const unsigned &nup, const unsigned &ncollapsible, const unsigned &ndown, const unsigned &ny, const double &lup, const double &lcollapsible, const double &ldown, const double &ly, GeomObject *wall_pt, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady). More... | |
~CollapsibleChannelMesh () | |
destructor More... | |
GeomObject *& | wall_pt () |
Access function to GeomObject representing wall. More... | |
CollapsibleChannelDomain * | domain_pt () |
Access function to domain. More... | |
CollapsibleChannelDomain::BLSquashFctPt | bl_squash_fct_pt () const |
Function pointer for function that squashes the mesh near the walls. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Const version. More... | |
virtual CollapsibleChannelDomain::AxialSpacingFctPt & | axial_spacing_fct_pt () const |
Function pointer for function that redistributes the elements in the axial direction. Const version. 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... | |
Protected Attributes | |
CollapsibleChannelDomain::BLSquashFctPt | Dummy_fct_pt |
Dummy function pointer. More... | |
Protected Attributes inherited from oomph::CollapsibleChannelMesh< ELEMENT > | |
CollapsibleChannelDomain * | Domain_pt |
Pointer to domain. More... | |
unsigned | Nup |
Number of element columns in upstream part. More... | |
unsigned | Ncollapsible |
Number of element columns in collapsible part. More... | |
unsigned | Ndown |
Number of element columns in downstream part. More... | |
unsigned | Ny |
Number of element rows across channel. More... | |
GeomObject * | Wall_pt |
Pointer to geometric object that represents the moving wall. More... | |
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
Collapsible channel mesh with algebraic node update
Definition at line 426 of file collapsible_channel_mesh.template.h.
|
inline |
Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady).
Definition at line 436 of file collapsible_channel_mesh.template.h.
References oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update(), and oomph::CollapsibleChannelMesh< ELEMENT >::wall_pt().
|
inlinevirtual |
Destructor: empty.
Definition at line 466 of file collapsible_channel_mesh.template.h.
|
inline |
Constructor: Pass number of elements in upstream/collapsible/ downstream segment and across the channel; lengths of upstream/ collapsible/downstream segments and width of channel, pointer to GeomObject that defines the collapsible segment and pointer to TimeStepper (defaults to the default timestepper, Steady).
Definition at line 474 of file collapsible_channel_mesh.template.h.
References oomph::CollapsibleChannelDomain::bl_squash_fct_pt(), oomph::CollapsibleChannelMesh< ELEMENT >::Domain_pt, oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update(), and oomph::CollapsibleChannelMesh< ELEMENT >::wall_pt().
void oomph::AlgebraicCollapsibleChannelMesh< 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 242 of file collapsible_channel_mesh.template.cc.
|
inlinevirtual |
Function pointer for function that redistributes nodes axially. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up!
Reimplemented from oomph::CollapsibleChannelMesh< ELEMENT >.
Definition at line 542 of file collapsible_channel_mesh.template.h.
References oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::Dummy_fct_pt.
|
inlinevirtual |
Function pointer for function that squashes the mesh near the walls. Default trivial mapping (the identity) leaves vertical nodal positions unchanged. Mapping is used in underlying CollapsibleChannelDomain. Broken function that overloads the version in the CollapsibleChannelMesh. It does not make sense to specify the function pointer after the mesh has been set up!
Reimplemented from oomph::CollapsibleChannelMesh< ELEMENT >.
Definition at line 517 of file collapsible_channel_mesh.template.h.
References oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::Dummy_fct_pt.
|
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 324 of file collapsible_channel_mesh.template.cc.
Referenced by oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::AlgebraicCollapsibleChannelMesh().
|
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 567 of file collapsible_channel_mesh.template.h.
|
protected |
Dummy function pointer.
Definition at line 574 of file collapsible_channel_mesh.template.h.
Referenced by oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::axial_spacing_fct_pt(), and oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::bl_squash_fct_pt().