/usr/share/cgnstools/conserved.cnv is in cgns-convert 3.3.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # convert primitive variables to conserved
# Density -> Density
# VelocityX -> MomentumX
# VelocityY -> MomentumY
# VelocityZ -> MomentumZ
# Pressure -> EnergyStagnationDensity
MomentumX = VelocityX * Density
MomentumY = VelocityY * Density
MomentumZ = VelocityZ * Density
qq = VelocityX^2 + VelocityY^2 + VelocityZ^2
EnergyStagnationDensity = Pressure / (gamma-1) + 0.5*Density*qq
# add conserved variables
+ MomentumX,MomentumY,MomentumZ,EnergyStagnationDensity
# remove primitive variables
- VelocityX,VelocityY,VelocityZ,Pressure
|