|
[Sponsors] |
February 13, 2013, 06:20 |
Restricting pressure like density
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
we can limit density as below:
Code:
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.2; rhoMax rhoMax [ 1 -3 0 0 0 ] 8.5; Code:
pMax pMax [1 -1 -2 0 0 0 0] 4500000; pMin pMin [1 -1 -2 0 0 0 0] 600000; but no effect on problem seemed.means no limitation is done.whats the correct keywords? |
|
February 13, 2013, 06:40 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
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 |
|
February 13, 2013, 07:21 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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?
|
|
February 13, 2013, 07:47 |
|
#4 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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?
|
|
February 13, 2013, 09:51 |
|
#5 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
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 |
|
February 13, 2013, 12:17 |
|
#6 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
yes you are correct! but rhoPimpleFoam has limitations on density.do you know is there any solver that use limitation on pressure or velocity?
|
|
February 13, 2013, 15:15 |
|
#7 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Density Gradient C_R_G(c,t), Pressure Based Solver | Anirudh_Deodhar | Fluent UDF and Scheme Programming | 1 | October 25, 2013 05:43 |
Density of fluid with respect to temperature and pressure | akash_max | CFX | 4 | November 6, 2011 09:00 |
Fluent Vs CFX, density and pressure | Omer | CFX | 9 | June 28, 2007 04:13 |
conservative total pressure and density | Atit Koonsrisuk | CFX | 0 | June 24, 2007 12:45 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |