https://mooseframework.inl.gov
SoundspeedMat.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 "Material.h"
13 
15 
19 class SoundspeedMat : public Material
20 {
21 public:
23 
25 
26 protected:
27  virtual void computeQpProperties() override;
28 
31 
34 
37 
40 };
const ADMaterialProperty< Real > & _temperature
temperature
Definition: SoundspeedMat.h:36
virtual void computeQpProperties() override
Definition: SoundspeedMat.C:38
const ADMaterialProperty< Real > & _pressure
pressure
Definition: SoundspeedMat.h:33
ADMaterialProperty< Real > & _sound_speed
The speed of sound.
Definition: SoundspeedMat.h:30
static InputParameters validParams()
Definition: SoundspeedMat.C:20
Common class for single phase fluid properties.
Computes the speed of sound from other Navier-Stokes material properties.
Definition: SoundspeedMat.h:19
const InputParameters & parameters() const
const SinglePhaseFluidProperties & _fluid
fluid properties user object
Definition: SoundspeedMat.h:39
SoundspeedMat(const InputParameters &parameters)
Definition: SoundspeedMat.C:28