https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
14using namespace libMesh;
15
16registerMooseObject("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
29SIMPLE::SIMPLE(const InputParameters & parameters) : SteadyBase(parameters), _simple_solve(*this)
30{
31 _fixed_point_solve->setInnerSolve(_simple_solve);
32}
33
34void
const ExecFlagType EXEC_PRE_MULTIAPP_SETUP
registerMooseObject("NavierStokesApp", SIMPLE)
std::unique_ptr< FixedPointSolve > _fixed_point_solve
virtual void execute(const ExecFlagType &exec_type)
void initialSetup() override
void addClassDescription(const std::string &doc_string)
virtual void linkRhieChowUserObject() override
Fetch the Rhie Chow user object that is reponsible for determining face velocities and mass flux.
void setupPressurePin()
Setup pressure pin if there is need for one.
static InputParameters validParams()
Definition SIMPLESolve.C:18
virtual void checkIntegrity() override
Check if the user defined time kernels, if yes error out.
Definition SIMPLESolve.C:37
Executioner set up to solve a thermal-hydraulics problem using the SIMPLE algorithm.
Definition SIMPLE.h:20
static InputParameters validParams()
Definition SIMPLE.C:19
virtual void init() override
Definition SIMPLE.C:35
SIMPLE(const InputParameters &parameters)
Definition SIMPLE.C:29
SIMPLESolve _simple_solve
Definition SIMPLE.h:29
static InputParameters validParams()
FEProblemBase & _problem
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...