View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000086||OpenFOAM||[All Projects] Bug||public||2010-11-23 13:42||2010-11-23 13:52|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Platform||Hewlett-Packard cluster||OS||Cent OS||OS Version||10.04|
|Fixed in Version|
|Summary||0000086: Wrong temperature distribution in Ranque-Hilsch vortex tube|
|Description||I use sonicFoam solver for simulating energy separation in Ranque-Hilsch vortex tube. Air flow is supersonic.|
Now I have good solution for velocities and pressures. But temperature instead of separating in hot and cold flows decreases all over the domain.
It means solver gives wrong energy distribution.
I think this problem may be in Energy Equation because
it is a transport equation for static energy, not total energy.
May be changing static energy equation on total energy equation will fix this problem.
|Steps To Reproduce||I tried to correct eEqu.H file in my sonicFoam solver.|
volScalarField u2 = 0.5 * magSqr(U);
+ fvc::ddt(rho, u2)
+ fvm::div(phi, e)
+ fvc::div(phi, u2)
Also I tried some another equations, but it did not give adequate results.
|Tags||No tags attached.|
For some purposes static energy is the preferred choice, particularly in pressure-based solvers. We have solving for total energy in sonicFoam but while this gave improvement in simple cases it caused problems in more complex cases.
If your case required the use of total energy is likely that rhoCentralFoam will be more appropriate than sonicFoam.