Public Member Functions | Private Member Functions | Private Attributes | List of all members
OscEllipseProblem< ELEMENT, TIMESTEPPER > Class Template Reference

Navier-Stokes problem in an oscillating ellipse domain. More...

Inheritance diagram for OscEllipseProblem< ELEMENT, TIMESTEPPER >:

Public Member Functions

 OscEllipseProblem ()
 Constructor. More...
 
 ~OscEllipseProblem ()
 Destructor (empty) More...
 
void actions_after_newton_solve ()
 Update the problem specs after solve (empty) More...
 
void actions_before_newton_solve ()
 Update problem specs before solve (empty) More...
 
void actions_before_adapt ()
 Actions before adapt (empty) More...
 
void actions_after_adapt ()
 Actions after adaptation, pin relevant pressures. More...
 
void actions_before_implicit_timestep ()
 Update the problem specs before next timestep. More...
 
void actions_after_implicit_timestep ()
 Update the problem specs after timestep (empty) More...
 
void doc_solution (DocInfo &doc_info)
 Doc the solution. More...
 
void unsteady_run (DocInfo &doc_info)
 Timestepping loop. More...
 
void set_initial_condition ()
 Set initial condition. More...
 

Private Member Functions

void fix_pressure (const unsigned &e, const unsigned &pdof, const double &pvalue)
 Fix pressure in element e at pressure dof pdof and set to pvalue. More...
 

Private Attributes

GeomObject * Wall_pt
 Pointer to GeomObject that specifies the domain bondary. More...
 

Detailed Description

template<class ELEMENT, class TIMESTEPPER>
class OscEllipseProblem< ELEMENT, TIMESTEPPER >

Navier-Stokes problem in an oscillating ellipse domain.

Definition at line 182 of file osc_quarter_ellipse.cc.

Constructor & Destructor Documentation

template<class ELEMENT , class TIMESTEPPER >
OscEllipseProblem< ELEMENT, TIMESTEPPER >::OscEllipseProblem ( )

Constructor.

Constructor for Navier-Stokes problem on an oscillating ellipse domain.

Definition at line 273 of file osc_quarter_ellipse.cc.

References Global_Physical_Variables::A, Global_Physical_Variables::A_hat, Global_Physical_Variables::Re, Global_Physical_Variables::ReSt, and Global_Physical_Variables::T.

template<class ELEMENT, class TIMESTEPPER>
OscEllipseProblem< ELEMENT, TIMESTEPPER >::~OscEllipseProblem ( )
inline

Destructor (empty)

Definition at line 191 of file osc_quarter_ellipse.cc.

Member Function Documentation

template<class ELEMENT, class TIMESTEPPER>
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::actions_after_adapt ( )
inline

Actions after adaptation, pin relevant pressures.

Definition at line 203 of file osc_quarter_ellipse.cc.

template<class ELEMENT, class TIMESTEPPER>
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::actions_after_implicit_timestep ( )
inline

Update the problem specs after timestep (empty)

Definition at line 240 of file osc_quarter_ellipse.cc.

template<class ELEMENT, class TIMESTEPPER>
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::actions_after_newton_solve ( )
inline

Update the problem specs after solve (empty)

Definition at line 194 of file osc_quarter_ellipse.cc.

template<class ELEMENT, class TIMESTEPPER>
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::actions_before_adapt ( )
inline

Actions before adapt (empty)

Definition at line 200 of file osc_quarter_ellipse.cc.

template<class ELEMENT, class TIMESTEPPER>
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::actions_before_implicit_timestep ( )
inline

Update the problem specs before next timestep.

Definition at line 220 of file osc_quarter_ellipse.cc.

template<class ELEMENT, class TIMESTEPPER>
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::actions_before_newton_solve ( )
inline

Update problem specs before solve (empty)

Definition at line 197 of file osc_quarter_ellipse.cc.

template<class ELEMENT , class TIMESTEPPER >
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::doc_solution ( DocInfo &  doc_info)

Doc the solution.

Definition at line 470 of file osc_quarter_ellipse.cc.

References Global_Physical_Variables::get_exact_u().

template<class ELEMENT, class TIMESTEPPER>
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::fix_pressure ( const unsigned &  e,
const unsigned &  pdof,
const double &  pvalue 
)
inlineprivate

Fix pressure in element e at pressure dof pdof and set to pvalue.

Definition at line 254 of file osc_quarter_ellipse.cc.

template<class ELEMENT , class TIMESTEPPER >
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::set_initial_condition ( )

Set initial condition.

Set initial condition: Assign previous and current values from exact solution.

Definition at line 396 of file osc_quarter_ellipse.cc.

References Global_Physical_Variables::get_exact_u().

template<class ELEMENT , class TIMESTEPPER >
void OscEllipseProblem< ELEMENT, TIMESTEPPER >::unsteady_run ( DocInfo &  doc_info)

Timestepping loop.

Unsteady run.

Definition at line 562 of file osc_quarter_ellipse.cc.

Referenced by main().

Member Data Documentation

template<class ELEMENT, class TIMESTEPPER>
GeomObject* OscEllipseProblem< ELEMENT, TIMESTEPPER >::Wall_pt
private

Pointer to GeomObject that specifies the domain bondary.

Definition at line 263 of file osc_quarter_ellipse.cc.


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