Using pressureTransmissive BC in reactingFoam
I'm using reactingFoam for a transient simulation where the flow is initially subsonic but then transits to supersonic. My mesh contains some openings to the environment. Initially I set the pressure boundary to a fixedValue (the ambient pressure). This works fine as long as no shock reaches the boundary.
Then, of course, I need a different formulation for the pressure boundary. I thought that pressureTransmissive should be the right choice (to let the shock leave the domain without being reflected).
Unfortunately this BC does not seem to work with reactingFoam, the error message is the following:
I think it's because the name should be waveTransmissive (as for OF 1.5).
If I remember pressureTransmissive was for OF-1.3 or so, but you can search the forum
Thank you, it seems to work!
I use the waveTransmissive BC now in OF 1.6.
I also implemented a routine to compute the local speed of sound from the mixture composition instead of having to supply an averaged value for gamma and psi.
Good to hear it's working.
Perhaps you know, but in OpenFOAM-1.6/src/finiteVolume/fields/fvPatchFields/derived you can find the code for the BC (just in case)
All the best
I have one more question: When you use the waveTransmissive BC for pressure, what do you use for velocity?
I have used inletOutlet so far (as there may be flow directed inwards in a part of the BC). However, after some time, the pressure close to the boundary drops below the ambient pressure (fieldInf) and finally goes to zero which causes a crash.
Is the outflow rate too high?
|All times are GMT -4. The time now is 04:08.|