www.mooseframework.org
INSExplicitTimestepSelector.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 INSEXPLICITTIMESTEPSELECTOR_H
8 #define INSEXPLICITTIMESTEPSELECTOR_H
9 
10 #include "ElementPostprocessor.h"
11 
13 
14 template <>
16 
21 class INSExplicitTimestepSelector : public ElementPostprocessor
22 {
23 public:
24  INSExplicitTimestepSelector(const InputParameters & parameters);
26 
27  virtual void initialize();
28  virtual void execute();
29  virtual Real getValue();
30  virtual void threadJoin(const UserObject & uo);
31 
32 protected:
34  Real _value;
35 
37  const VariableValue & _vel_mag;
38 
44  Real _beta;
45 
48  const MaterialProperty<Real> & _mu;
49  const MaterialProperty<Real> & _rho;
50 };
51 
52 #endif /* INSEXPLICITTIMESTEPSELECTOR_H */
Real _beta
We can compute maximum stable timesteps based on the linearized theory, but even those timesteps are ...
const MaterialProperty< Real > & _mu
Material properties: the explicit time scheme limit for the viscous problem also depends on the kinem...
const MaterialProperty< Real > & _rho
Postprocessor that computes the minimum value of h_min/|u|, where |u| is coupled in as an aux variabl...
const VariableValue & _vel_mag
Velocity magnitude. Hint: Use VectorMagnitudeAux in Moose for this.
INSExplicitTimestepSelector(const InputParameters &parameters)
virtual void threadJoin(const UserObject &uo)
Real _value
The value of dt (NOTE: _dt member variable is already defined)
InputParameters validParams< INSExplicitTimestepSelector >()