This file is indexed.

/usr/share/cgnstools/primitive.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 conserved variables to primitive

# Density -> Density
# MomentumX -> VelocityX
# MomentumY -> VelocityY
# MomentumZ -> VelocityZ
# EnergyStagnationDensity -> Pressure

VelocityX = MomentumX / Density
VelocityY = MomentumY / Density
VelocityZ = MomentumZ / Density
qq = VelocityX^2 + VelocityY^2 + VelocityZ^2
Pressure = (gamma-1) * (EnergyStagnationDensity - 0.5*Density*qq)

# add primitive variables
    
+ VelocityX,VelocityY,VelocityZ,Pressure

# remove conserved variables

- MomentumX,MomentumY,MomentumZ,EnergyStagnationDensity