# 7.6.4.2.22. General_Ideal_Gas_Extract_Average_Pressure

Syntax

  Density [{of} SpeciesName] = General_Ideal_Gas_Extract_Average_Pressure (R = r | [Pref = pref] | [Poffset = poffset])

Scope

  Aria Material

Summary

  General ideal gas density that subtracts off the average pressure value as a constant every time step so that the pressure dof stays O(1) throughout the simulation.

Description

  See General_Ideal_Gas for the equation.

Parameter | Value | Default
--- | --- | ---
{of} | {of | species | subindex} | –
SpeciesName | string | –
r | real | –
pref | real | 0
poffset | real | 0