Collapsible channel mesh with algebraic node update. More...
#include <my_alg_channel_mesh.h>
Public Member Functions | |
MyAlgebraicCollapsibleChannelMesh (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... | |
MyAlgebraicCollapsibleChannelMesh (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, function pointer to "boundary layer squash function", and pointer to TimeStepper (defaults to the default timestepper, Steady). More... | |
virtual | ~MyAlgebraicCollapsibleChannelMesh () |
Destructor: empty. 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. This (deliberately broken) function overloads the one in the CollapsibleChannelMesh base class. 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 geometric references that are used to update node after mesh adaptation. Empty – no update of node update required. 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... | |
Collapsible channel mesh with algebraic node update.
Definition at line 52 of file my_alg_channel_mesh.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 64 of file my_alg_channel_mesh.h.
References oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update().
|
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, function pointer to "boundary layer squash function", and pointer to TimeStepper (defaults to the default timestepper, Steady).
Definition at line 92 of file my_alg_channel_mesh.h.
References oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update().
|
inlinevirtual |
Destructor: empty.
Definition at line 122 of file my_alg_channel_mesh.h.
void oomph::MyAlgebraicCollapsibleChannelMesh< 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 359 of file my_alg_channel_mesh.h.
Referenced by oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::bl_squash_fct_pt().
|
inline |
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. This (deliberately broken) function overloads the one in the CollapsibleChannelMesh base class.
Definition at line 130 of file my_alg_channel_mesh.h.
References oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::algebraic_node_update(), and oomph::MyAlgebraicCollapsibleChannelMesh< 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 the wall in its undeformed position.
Definition at line 272 of file my_alg_channel_mesh.h.
Referenced by oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::MyAlgebraicCollapsibleChannelMesh(), and oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::update_node_update().
|
inline |
Update the geometric references that are used to update node after mesh adaptation. Empty – no update of node update required.
Definition at line 156 of file my_alg_channel_mesh.h.
References oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::setup_algebraic_node_update().
|
protected |
Dummy function pointer.
Definition at line 165 of file my_alg_channel_mesh.h.
Referenced by oomph::MyAlgebraicCollapsibleChannelMesh< ELEMENT >::bl_squash_fct_pt().