https://mooseframework.inl.gov
SIMPLE.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 // MOOSE includes
11 #include "SIMPLE.h"
12 #include "FEProblem.h"
13 
14 using namespace libMesh;
15 
16 registerMooseObject("NavierStokesApp", SIMPLE);
17 
20 {
22  params.addClassDescription("Solves the Navier-Stokes equations using the SIMPLE algorithm and "
23  "linear finite volume variables.");
24  params += SIMPLESolve::validParams();
25 
26  return params;
27 }
28 
29 SIMPLE::SIMPLE(const InputParameters & parameters) : SteadyBase(parameters), _simple_solve(*this)
30 {
31  _fixed_point_solve->setInnerSolve(_simple_solve);
32 }
33 
34 void
36 {
42 }
virtual void init() override
Definition: SIMPLE.C:35
registerMooseObject("NavierStokesApp", SIMPLE)
static InputParameters validParams()
Executioner set up to solve a thermal-hydraulics problem using the SIMPLE algorithm.
Definition: SIMPLE.h:19
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
static InputParameters validParams()
Definition: SIMPLESolve.C:18
SIMPLESolve _simple_solve
Definition: SIMPLE.h:29
virtual void execute(const ExecFlagType &exec_type)
const ExecFlagType EXEC_PRE_MULTIAPP_SETUP
void initialSetup() override
virtual void linkRhieChowUserObject() override
Fetch the Rhie Chow user object that is reponsible for determining face velocities and mass flux...
virtual void checkIntegrity() override
Check if the user defined time kernels, if yes error out.
Definition: SIMPLESolve.C:37
FEProblemBase & _problem
SIMPLE(const InputParameters &parameters)
Definition: SIMPLE.C:29
static InputParameters validParams()
Definition: SIMPLE.C:19
void addClassDescription(const std::string &doc_string)
void setupPressurePin()
Setup pressure pin if there is need for one.
std::unique_ptr< FixedPointSolve > _fixed_point_solve