A How can I calculate the R value for a solid in OpenFOAM CFD modeling?

AI Thread Summary
In CFD modeling of gas-solid flow using OpenFOAM, the solid's flow is modeled as a perfect fluid, with density calculated using the equation ρ = P/RT + ρo. The challenge lies in determining the value of R for solids, as existing OpenFOAM documentation primarily provides values for fluids like water and mercury. Attempts to derive R through plotting density against pressure and temperature have been inconclusive, and there is a lack of resources on this topic. The user suggests that finding a database for specific solids' densities could help approximate R. Overall, there is a need for clearer guidance on applying the ideal gas law to solids in OpenFOAM.
rasikaj
Messages
2
Reaction score
0
During CFD modeling of a gas-solid flow, flow of solid was modeled as a perfect fluid using OpenFOAM.

The density of the perfect fluid is calculated using the following equation as given in the documentation.

ρ = P/RT + ρo , where ρo is the density at T = 0 kelvin, ρ is the density of the perfect fluid at pressure P (Pa) and temperature T (K). There is no other mention about this in the documentation of OpenFOAM.

My struggle is to calculate the R (J kg -1 K-1) for the solid. In the OpenFOAM tutorials for the normal conditions of water R = 3000 with ρo = 1027 kg m-3.

Also for mercury
R = 6818 with ρo = 13529 kg m-3.

I tried to plot the ρ with P/T for water and the linear equation was

ρ = 0.4321 (P/T) + 848.78, where R = 2.314

So could anyone please tell me how to calculate R for a certain fluid or solid. I have searched the internet for days and still didn't find any reference to this equation.
 
Physics news on Phys.org
I'm still tryng to figure out how you are applying the ideal gas law to solids and liquids.
 
  • Like
Likes rasikaj
Actually this is the equation, OpenFOAM has mentioned in their user guide. Not my idea. I thought this is some physics that I cannot understand.

You can see the equation in page U-203 of their user guide. Here is the link.
http://foam.sourceforge.net/docs/Guides-a4/OpenFOAMUserGuide-A4.pdf

I have seen the same problem asked in cfd-online.com, but with no answers

https://www.cfd-online.com/Forums/o...velopment/195068-r-constant-perfet-fluid.html

Thanks for your comment anyway. I would be grateful if you could give me a solution.
 
I have no idea too, but the only thing that you can do -i think- is to look in some database for ##\rho_0## and ##\rho## for the solid you are interested in and then calculate an approximation of R.
 
Thread 'Gauss' law seems to imply instantaneous electric field propagation'
Imagine a charged sphere at the origin connected through an open switch to a vertical grounded wire. We wish to find an expression for the horizontal component of the electric field at a distance ##\mathbf{r}## from the sphere as it discharges. By using the Lorenz gauge condition: $$\nabla \cdot \mathbf{A} + \frac{1}{c^2}\frac{\partial \phi}{\partial t}=0\tag{1}$$ we find the following retarded solutions to the Maxwell equations If we assume that...
Thread 'Griffith, Electrodynamics, 4th Edition, Example 4.8. (First part)'
I am reading the Griffith, Electrodynamics book, 4th edition, Example 4.8 and stuck at some statements. It's little bit confused. > Example 4.8. Suppose the entire region below the plane ##z=0## in Fig. 4.28 is filled with uniform linear dielectric material of susceptibility ##\chi_e##. Calculate the force on a point charge ##q## situated a distance ##d## above the origin. Solution : The surface bound charge on the ##xy## plane is of opposite sign to ##q##, so the force will be...
Dear all, in an encounter of an infamous claim by Gerlich and Tscheuschner that the Greenhouse effect is inconsistent with the 2nd law of thermodynamics I came to a simple thought experiment which I wanted to share with you to check my understanding and brush up my knowledge. The thought experiment I tried to calculate through is as follows. I have a sphere (1) with radius ##r##, acting like a black body at a temperature of exactly ##T_1 = 500 K##. With Stefan-Boltzmann you can calculate...
Back
Top