https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
21public:
23
25
26 virtual Real value(const Point & p) override;
27
28protected:
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 Real p
const InputParameters & parameters() const
Common class for single phase fluid properties.
IC for junction variables in VolumeJunction1Phase.
const Function & _T_fn
Temperature.
const Quantity _quantity
Which quantity to compute.
const Point & _position
Spatial position of center of the junction.
virtual Real value(const Point &p) override
const Function & _vel_x_fn
X velocity.
const SinglePhaseFluidProperties & _fp
Fluid properties.
const Function & _vel_y_fn
Y velocity.
const Function & _vel_z_fn
Z velocity.
static InputParameters validParams()
const Real _volume
Volume of the junction.
const Function & _p_fn
Pressure.