www.mooseframework.org
AddNavierStokesICsAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef ADDNAVIERSTOKESICSACTION_H
8 #define ADDNAVIERSTOKESICSACTION_H
9 
10 #include "NSAction.h"
11 
13 
14 template <>
16 
32 {
33 public:
34  AddNavierStokesICsAction(InputParameters parameters);
35  virtual ~AddNavierStokesICsAction();
36 
37  virtual void act();
38 
39 protected:
40  // Helper function that actually adds the ICs.
41  void addICs(std::vector<std::string> & names);
42 
45  RealVectorValue _initial_velocity;
46  UserObjectName _fp_name;
47 };
48 
49 #endif
void addICs(std::vector< std::string > &names)
InputParameters validParams< AddNavierStokesICsAction >()
This class allows us to have a section of the input file like the following which automatically adds ...
AddNavierStokesICsAction(InputParameters parameters)
This is a base Action class for the Navier-Stokes module which is responsible for building lists of n...
Definition: NSAction.h:23