
[Sponsors] 
January 29, 2010, 11:21 
sonicFoam #include[s] rhoEqn.H...

#1 
Member

...but the rhoEqn.H cannot be found in the solver directory (version 1.6). I was curious when I was using the solver before, it gave results for everything, but the rho was always calculated as 0. Does anybody know the purpose of this? Is this intentional? Can I incorporate some other rhoEqn.H easily?


February 15, 2010, 10:14 

#3 
Member

Revisiting this thread after some time:
I am running a case at the moment, using sonicFoam. The case is pretty much the same as /home/username/OpenFOAM/OpenFOAM1.6/tutorials/compressible/sonicFoam/ras/prism/ but instead of "prismWall", I have "wall" which is the wall of my domain. While running, in each time step, I get: Code:
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 My questions are:


April 26, 2010, 13:57 

#4 
Senior Member
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 102
Rep Power: 8 
Hi,
Any solution for this problem. 

October 30, 2013, 05:17 

#5 
New Member
Richard Mathie
Join Date: Oct 2012
Posts: 3
Rep Power: 5 
Probably you need to supply an equation of state in your case dir? that is dont you need a thermoPhysicalProperties dict? I cant say for shure as I am looking at engineFoam and rhoPimpleFOAM at the moment, but that seems to be what's happening there. rhoEqn.h is just the mass conservation equation.


March 18, 2015, 12:58 

#6  
New Member
Xinguang Wang
Join Date: Feb 2015
Posts: 26
Rep Power: 2 
Quote:
But still don't know how to get the rho values of the fields, two options: 1. state equation 2. phi=rho*velocity*A 

October 2, 2015, 10:18 
Solved?

#7 
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 50
Rep Power: 4 
Do you guys solved this issue? Why is rho equation not being calculated?


October 5, 2015, 06:27 

#8  
New Member
Xinguang Wang
Join Date: Feb 2015
Posts: 26
Rep Power: 2 
Hi Maders
Try to add these extra sentence at the end of controlDict, and the rho will output in the calculation folder. Quote:


October 5, 2015, 07:13 
Worked!

#9 
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 50
Rep Power: 4 

October 5, 2015, 07:18 
Actually the answer is..

#10 
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 50
Rep Power: 4 
Actually the main answer iin this topic was about the rho calculation.. That seemed not to be doing by the "0" values of iterations and residuals. Here is the aswer, which is very logic by the way: rho euation in rhoPisoFoam
Regards, Lisandro 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Setting a case with sonicFoam  achilleslaststand  OpenFOAM PreProcessing  0  December 4, 2009 12:29 
define walls in sonicFoam  shangzung  OpenFOAM  0  October 21, 2009 08:18 
Different response from 1.5 and 1.6 version of sonicFoam solver  nishant_hull  OpenFOAM Running, Solving & CFD  1  October 12, 2009 13:45 
energy in sonicFoam  joern  OpenFOAM Running, Solving & CFD  0  June 16, 2009 15:53 
SonicFoam forwardStepTutorial doesnbt complete the run  alberto  OpenFOAM Bugs  1  June 10, 2007 15:35 