CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Restricting pressure like density

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ngj
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2013, 06:20
Default Restricting pressure like density
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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;
I know its possible for p too.but how?is this notation correct?
Code:
pMax            pMax   [1 -1 -2 0 0 0 0] 4500000;
    pMin            pMin   [1 -1 -2 0 0 0 0] 600000;
to someones that its important to them.I've tested it!
but no effect on problem seemed.means no limitation is done.whats the correct keywords?
immortality is offline   Reply With Quote

Old   February 13, 2013, 06:40
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
immortality likes this.
ngj is offline   Reply With Quote

Old   February 13, 2013, 07:21
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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?
immortality is offline   Reply With Quote

Old   February 13, 2013, 07:47
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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?
immortality is offline   Reply With Quote

Old   February 13, 2013, 09:51
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
ngj is offline   Reply With Quote

Old   February 13, 2013, 12:17
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
yes you are correct! but rhoPimpleFoam has limitations on density.do you know is there any solver that use limitation on pressure or velocity?
immortality is offline   Reply With Quote

Old   February 13, 2013, 15:15
Default
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
immortality likes this.
ngj is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 20:07.