www.mooseframework.org
LevelSetCFLCondition.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 
8 #ifndef LEVELSETCFLCONDITION_H
9 #define LEVELSETCFLCONDITION_H
10 
11 // MOOSE includes
12 #include "ElementPostprocessor.h"
14 
15 // Forward declarations
17 
18 template <>
19 InputParameters validParams<LevelSetCFLCondition>();
20 
24 class LevelSetCFLCondition : public LevelSetVelocityInterface<ElementPostprocessor>
25 {
26 public:
27  LevelSetCFLCondition(const InputParameters & parameters);
28  void initialize() override {}
29  void execute() override;
30  void finalize() override;
31  void threadJoin(const UserObject & user_object) override;
32  virtual PostprocessorValue getValue() override;
33 
34 private:
37 
40 };
41 
42 #endif // LEVELSETCFLCONDITION_H
virtual PostprocessorValue getValue() override
Real _cfl_timestep
The minimum timestep computed using CFL condition.
Computes the maximum timestep based on the CFL condition.
A helper class for defining the velocity as coupled variables for the levelset equation.
void threadJoin(const UserObject &user_object) override
LevelSetCFLCondition(const InputParameters &parameters)
void initialize() override
InputParameters validParams< LevelSetCFLCondition >()
Real _max_velocity
The max velocity on an element, this is done simply to avoid creating temporary calls to execute...