inlet gas in shockTube (rhoCentralFoam solver)
Hi foamers,
I am investigating a case by using the shockTube tutorial (rhoCentralFoam solver). The shockTube is divided into two parts by a diaphragm. In my case, the left part is filled with hydrogen and the right part with air. Nevertheless, the shockTube can only define one mixture in the thermophysicalProperties. Then how can I define two different kind of gas in my case? Thanks. |
hi
ı have same problem if you solve . can you help me ? |
Quote:
thermoType { type heRhoThermo; mixture reactingMixture; transport sutherland; thermo janaf; energy sensibleEnthalpy; equationOfState perfectGas; specie specie; } you can check out one of the lagrangian tutorial for the setup of thermophysicalProperties file. |
same problem
Hello all,
I am a new user of OpenFoam and doing my case using a shock tube sample in the rhoCentralFoam folder. As with other folks above, I am using a shock tube with two different gases: He and air. The sample, however, used only air in both sides, so the output has a lot of discrepancy. I found that, in a setFieldsDict, we can put initial condition of pressure and temperature in both sides of a shock tube. Is there any way to put specific heat ratio and sound speed of both gases separately? I have looked at the sample using reacting mixture instead of pure mixture but it is too difficult for me to understand. If anyone knows a solution, could you explain to me? Thank you very much in advance. Best regards, Ye |
All times are GMT -4. The time now is 05:16. |