GRINS-0.6.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
solver
include
grins
grins_unsteady_solver.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------bl-
2
//--------------------------------------------------------------------------
3
//
4
// GRINS - General Reacting Incompressible Navier-Stokes
5
//
6
// Copyright (C) 2014-2015 Paul T. Bauman, Roy H. Stogner
7
// Copyright (C) 2010-2013 The PECOS Development Team
8
//
9
// This library is free software; you can redistribute it and/or
10
// modify it under the terms of the Version 2.1 GNU Lesser General
11
// Public License as published by the Free Software Foundation.
12
//
13
// This library is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
// Lesser General Public License for more details.
17
//
18
// You should have received a copy of the GNU Lesser General Public
19
// License along with this library; if not, write to the Free Software
20
// Foundation, Inc. 51 Franklin Street, Fifth Floor,
21
// Boston, MA 02110-1301 USA
22
//
23
//-----------------------------------------------------------------------el-
24
25
26
#ifndef GRINS_UNSTEADY_SOLVER_H
27
#define GRINS_UNSTEADY_SOLVER_H
28
29
//GRINS
30
#include "
grins/grins_solver.h
"
31
32
//libMesh
33
#include "libmesh/system_norm.h"
34
35
namespace
GRINS
36
{
37
class
UnsteadySolver
:
public
Solver
38
{
39
public
:
40
41
UnsteadySolver
(
const
GetPot& input );
42
virtual
~UnsteadySolver
();
43
44
virtual
void
solve
(
SolverContext
& context );
45
46
protected
:
47
48
virtual
void
init_time_solver
(
GRINS::MultiphysicsSystem
* system);
49
50
unsigned
int
_n_timesteps
;
51
unsigned
int
_backtrack_deltat
;
52
double
_theta
;
53
double
_deltat
;
54
55
// Options for adaptive time solvers
56
double
_target_tolerance
;
57
double
_upper_tolerance
;
58
double
_max_growth
;
59
libMesh::SystemNorm
_component_norm
;
60
};
61
62
}
// end namespace GRINS
63
#endif // GRINS_UNSTEADY_SOLVER_H
GRINS::UnsteadySolver::_upper_tolerance
double _upper_tolerance
Definition:
grins_unsteady_solver.h:57
GRINS::UnsteadySolver::_theta
double _theta
Definition:
grins_unsteady_solver.h:52
GRINS::UnsteadySolver::_deltat
double _deltat
Definition:
grins_unsteady_solver.h:53
GRINS::Solver
Definition:
grins_solver.h:58
GRINS::UnsteadySolver::_n_timesteps
unsigned int _n_timesteps
Definition:
grins_unsteady_solver.h:50
GRINS::UnsteadySolver::_target_tolerance
double _target_tolerance
Definition:
grins_unsteady_solver.h:56
GRINS::UnsteadySolver::_max_growth
double _max_growth
Definition:
grins_unsteady_solver.h:58
GRINS::UnsteadySolver
Definition:
grins_unsteady_solver.h:37
GRINS::UnsteadySolver::UnsteadySolver
UnsteadySolver(const GetPot &input)
Definition:
grins_unsteady_solver.C:47
GRINS
GRINS namespace.
Definition:
axisym_heat_transfer_bc_handling.h:31
GRINS::UnsteadySolver::init_time_solver
virtual void init_time_solver(GRINS::MultiphysicsSystem *system)
Definition:
grins_unsteady_solver.C:80
GRINS::UnsteadySolver::_backtrack_deltat
unsigned int _backtrack_deltat
Definition:
grins_unsteady_solver.h:51
GRINS::MultiphysicsSystem
Interface with libMesh for solving Multiphysics problems.
Definition:
multiphysics_sys.h:81
GRINS::UnsteadySolver::solve
virtual void solve(SolverContext &context)
Definition:
grins_unsteady_solver.C:110
GRINS::UnsteadySolver::_component_norm
libMesh::SystemNorm _component_norm
Definition:
grins_unsteady_solver.h:59
GRINS::SolverContext
Simple class to hold objects passed to Solver::solve.
Definition:
solver_context.h:49
grins_solver.h
GRINS::UnsteadySolver::~UnsteadySolver
virtual ~UnsteadySolver()
Definition:
grins_unsteady_solver.C:75
Generated on Mon Jun 22 2015 21:32:20 for GRINS-0.6.0 by
doxygen
1.8.9.1