https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LevelSetOlssonVortex.h
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#pragma once
11
12#include "Function.h"
13
18{
19public:
21
23
24 RealVectorValue vectorValue(Real t, const Point & p) const override;
25
26protected:
28 const Real & _reverse_time;
29
32
33 // Convenience for libMesh::pi
34 const Real _pi;
35};
const Real p
Defines a vortex velocity field in the x-y plane.
const MooseEnum & _reverse_type
Type of reverse (instantaneous or smooth)
static InputParameters validParams()
RealVectorValue vectorValue(Real t, const Point &p) const override
const Real & _reverse_time
Total time for the velocity field to complete reverse.
const InputParameters & parameters() const