https://mooseframework.inl.gov
VolumeJunction1PhaseIC.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 "InitialCondition.h"
13 
15 
20 {
21 public:
23 
25 
26  virtual Real value(const Point & p) override;
27 
28 protected:
30  enum class Quantity
31  {
32  RHOV,
33  RHOUV,
34  RHOVV,
35  RHOWV,
36  RHOEV,
37  P,
38  T,
39  VEL
40  };
43 
45  const Function & _p_fn;
47  const Function & _T_fn;
54 
56  const Real _volume;
58  const Point & _position;
59 
62 };
const Function & _T_fn
Temperature.
virtual Real value(const Point &p) override
const Function & _vel_y_fn
Y velocity.
const Quantity _quantity
Which quantity to compute.
const SinglePhaseFluidProperties & _fp
Fluid properties.
const Function & _vel_x_fn
X velocity.
const Real _volume
Volume of the junction.
VolumeJunction1PhaseIC(const InputParameters &parameters)
Common class for single phase fluid properties.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Point & _position
Spatial position of center of the junction.
const Function & _vel_z_fn
Z velocity.
const InputParameters & parameters() const
IC for junction variables in VolumeJunction1Phase.
static InputParameters validParams()
const Function & _p_fn
Pressure.