SPH
Public Member Functions | List of all members
MieGruneisenEos Class Reference

Mie-Gruneisen equation of state. More...

#include <Eos.h>

Inheritance diagram for MieGruneisenEos:
IEos Polymorphic

Public Member Functions

 MieGruneisenEos (const BodySettings &settings)
 
virtual Pair< Floatevaluate (const Float rho, const Float u) const override
 Computes pressure and local sound speed from given density rho and specific internal energy u. More...
 
virtual Float getInternalEnergy (const Float UNUSED(rho), const Float UNUSED(p)) const override
 
virtual Float getDensity (const Float UNUSED(p), const Float UNUSED(u)) const override
 
- Public Member Functions inherited from IEos
virtual Float getInternalEnergy (const Float rho, const Float p) const =0
 Inverted function; computes specific internal energy u from given density rho and pressure p. More...
 
virtual Float getDensity (const Float p, const Float u) const =0
 Inverted function; computes density from pressure p and internal energy u. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Mie-Gruneisen equation of state.

Simple equation of state describing solids. It consists of two separated terms, first (reference curve) depending solely on pressure. Uses extension of R. Menikoff [Menikoff_1962] which makes the equation of state complete; it is therefore possible to compute temperature from known internal energy.

Definition at line 77 of file Eos.h.

Constructor & Destructor Documentation

◆ MieGruneisenEos()

MieGruneisenEos::MieGruneisenEos ( const BodySettings settings)
explicit

Definition at line 55 of file Eos.cpp.

Member Function Documentation

◆ evaluate()

Pair< Float > MieGruneisenEos::evaluate ( const Float  rho,
const Float  u 
) const
overridevirtual

Computes pressure and local sound speed from given density rho and specific internal energy u.

Todo:
derive the sound speed

Implements IEos.

Definition at line 62 of file Eos.cpp.

◆ getDensity()

virtual Float MieGruneisenEos::getDensity ( const Float   UNUSEDp,
const Float   UNUSED
) const
inlineoverridevirtual

Definition at line 93 of file Eos.h.

◆ getInternalEnergy()

virtual Float MieGruneisenEos::getInternalEnergy ( const Float   UNUSEDrho,
const Float   UNUSED
) const
inlineoverridevirtual

Definition at line 89 of file Eos.h.


The documentation for this class was generated from the following files: