velocity of sound for rhoReactingFoam solver
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 02:18.|