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

Restricting pressure like density

Register Blogs Members List Search Today's Posts Mark Forums Read

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 13, 2013, 07:20
Default Restricting pressure like density
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
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, 07:40
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,548
Rep Power: 23
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, 08:21
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
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, 08:47
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
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, 10:51
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,548
Rep Power: 23
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, 13:17
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
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, 16:15
Default
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,548
Rep Power: 23
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

Thread Tools
Display Modes

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 On
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 06:43
Density of fluid with respect to temperature and pressure akash_max CFX 4 November 6, 2011 10:00
Fluent Vs CFX, density and pressure Omer CFX 9 June 28, 2007 05:13
conservative total pressure and density Atit Koonsrisuk CFX 0 June 24, 2007 13:45
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


All times are GMT -4. The time now is 11:12.