Restricting pressure like density
we can limit density as below:
Code:
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.2; Code:
pMax pMax [1 -1 -2 0 0 0 0] 4500000; but no effect on problem seemed.means no limitation is done.whats the correct keywords? |
But have you also changed the source code/solver? Or have you merely but some extract information in a dictionary?
If you have not done the former, obviously it will not have any effect what so ever. Kind regards, Niels |
ok.thus solver codes must be changed.what do you mean by second sentence you said? do you or someone know which compressible solvers have this feature to use directly or i can use them as a pattern to modify sonicFoam solver?
|
ok.thus solver codes must be changed.what do you mean by second sentence you said? do you or someone know which compressible solvers have this feature to use directly or i can use them as a pattern to modify sonicFoam solver?
|
Hi
I have looked into sonicFoam, and it does not look like sonicFoam is even utilising the rhoMax/rhoMin values. With respect to the second sentence, what I mean is that you can give all the variables you want, however, if the code does not know to look for the variables, they are not used for anything; or even read for that matter. Good luck, Niels |
yes you are correct! but rhoPimpleFoam has limitations on density.do you know is there any solver that use limitation on pressure or velocity?
|
Hi Ehsan,
No, I do not know of any such solver. Also, I find it a bit troubling to have to do that, because it will be in direct violation of the pressure-velocity couple/continuity fulfilment; at least if it is done as a explicit correction. / Niels |
All times are GMT -4. The time now is 09:28. |