Example codes
and tutorials
The (Not-so) Quick Guide
List of tutorials/demo codes
Single-Physics Problems
Poisson
Adaptivity illustrated for Poisson
Advection-Diffusion
Unsteady heat equation
Linear wave equation
The Young-Laplace equation
Navier-Stokes
Free-surface Navier-Stokes
Axisymmetric Navier-Stokes
Solid mechanics
Beam structures
Shell structures
Multi-physics Problems
Fluid-structure interaction
Boussinesq convection
Steady thermoelasticity
Methods-based example codes and tutorials
Mesh generation
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
How to write a new element
How to write a new refineable element
Default nonlinear solvers -- the sequence of action functions
...
Documentation
FE theory and top-down discussion of the data structure
The (Not-so) Quick Guide
Comprehensive bottom-up discussion of the data structure
List of available structured and unstructured meshes
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
Coding conventions and C++ style
Creating documentation
Optimisation - robustness vs. "raw speed"
Linear vs. nonlinear problems
Storing shape functions
Changing the default "full" integration scheme
Disabling the ALE formulation of unsteady equations
C vs. C++ output
Different sparse assembly techniques and the STL memory pool
Publications
Publications
Talks
Journal publications
Theses
Picture show
Download
Copyright
Download/installation instructions
Download page
FAQ & Contact
FAQ
Change log
Bugs and other known problems
Completeness of the library & our "To-Do List"
Contact the developers
Get involved

 


Beta release!

Please note that the library has not been "officially" released. While we continue to work on the documentation, these web pages are likely to contain broken links and documents in draft form. Please send an email to

oomph-lib AT maths DOT man DOT ac DOT uk

if you wish to be informed of the library's "official" release.

OscEllipseProblem< ELEMENT, TIMESTEPPER > Class Template Reference

List of all members.

Detailed Description

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

Navier-Stokes problem in an oscillating ellipse domain.

Definition at line 180 of file osc_quarter_ellipse.cc.


Public Member Functions

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

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.

Private Attributes

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

Constructor & Destructor Documentation

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

Constructor.

Definition at line 271 of file osc_quarter_ellipse.cc.

References Global_Physical_Variables::A, Global_Physical_Variables::A_hat, OscEllipseProblem< ELEMENT, TIMESTEPPER >::fix_pressure(), Global_Physical_Variables::Re, Global_Physical_Variables::ReSt, Global_Physical_Variables::T, and OscEllipseProblem< ELEMENT, TIMESTEPPER >::Wall_pt.

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

Destructor (empty).

Definition at line 189 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 201 of file osc_quarter_ellipse.cc.

References OscEllipseProblem< ELEMENT, TIMESTEPPER >::fix_pressure().

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

Update the problem specs after timestep (empty).

Definition at line 238 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 192 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 198 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 218 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 195 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 489 of file osc_quarter_ellipse.cc.

References Global_Physical_Variables::get_exact_u(), and OscEllipseProblem< ELEMENT, TIMESTEPPER >::Wall_pt.

Referenced by OscEllipseProblem< ELEMENT, TIMESTEPPER >::unsteady_run().

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

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

Definition at line 252 of file osc_quarter_ellipse.cc.

Referenced by OscEllipseProblem< ELEMENT, TIMESTEPPER >::actions_after_adapt(), and OscEllipseProblem< ELEMENT, TIMESTEPPER >::OscEllipseProblem().

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

Set initial condition.

Definition at line 415 of file osc_quarter_ellipse.cc.

References Global_Physical_Variables::get_exact_u().

Referenced by OscEllipseProblem< ELEMENT, TIMESTEPPER >::unsteady_run().

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

Timestepping loop.

Definition at line 581 of file osc_quarter_ellipse.cc.

References OscEllipseProblem< ELEMENT, TIMESTEPPER >::doc_solution(), and OscEllipseProblem< ELEMENT, TIMESTEPPER >::set_initial_condition().

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 261 of file osc_quarter_ellipse.cc.

Referenced by OscEllipseProblem< ELEMENT, TIMESTEPPER >::doc_solution(), and OscEllipseProblem< ELEMENT, TIMESTEPPER >::OscEllipseProblem().


The documentation for this class was generated from the following file:
Generated on Mon Aug 10 11:34:05 2009 by  doxygen 1.4.7