- **OpenFOAM Post-Processing**
(*http://www.cfd-online.com/Forums/openfoam-post-processing/*)

- - **velocity of sound for rhoReactingFoam solver**
(*http://www.cfd-online.com/Forums/openfoam-post-processing/123275-velocity-sound-rhoreactingfoam-solver.html*)

velocity of sound for rhoReactingFoam solverHi All,
I wanted to calculate the velocity of sound for the rhoreactingfoam solver. For this I'm using the following formula, . cSound = sqrt((Cp/(Cp-R))*R*T) Now for finding R I'm calculating it via psi = 1/(RT) therefore R = (1/psi *T). So the formulation looks as below. cSound = sqrt((thermo.Cp()/(thermo.Cp()-(1/(thermo.psi()*thermo.T()))))*(1/(thermo.psi()*thermo.T()))*thermo.T()) Can anyone correct me if I'm doing anything wrong in this. Thanks in Advance |

All times are GMT -4. The time now is 15:56. |