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

Click For Summary
SUMMARY

The calculation of the R value for solids in OpenFOAM CFD modeling involves using the equation ρ = P/RT + ρo, where ρo is the density at 0 Kelvin. For water, R is established as 3000 J kg-1 K-1 with a density of 1027 kg m-3, while for mercury, R is 6818 J kg-1 K-1 with a density of 13529 kg m-3. The user struggles to find references for calculating R for different solids and suggests looking into databases for specific densities to approximate R. The ideal gas law's application to solids and liquids remains a point of confusion.

PREREQUISITES
  • Understanding of OpenFOAM CFD modeling
  • Familiarity with the ideal gas law
  • Knowledge of thermodynamic properties of fluids
  • Ability to interpret scientific documentation and equations
NEXT STEPS
  • Research how to derive R values for various solids using density data
  • Explore OpenFOAM user guides for advanced fluid modeling techniques
  • Investigate databases for thermodynamic properties of different materials
  • Learn about the application of the ideal gas law in non-ideal conditions
USEFUL FOR

Researchers, engineers, and students involved in computational fluid dynamics, particularly those using OpenFOAM for modeling gas-solid flows and seeking to understand thermodynamic properties of materials.

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.
 
Science 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   Reactions: 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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
3
Views
2K
Replies
5
Views
5K
  • · Replies 21 ·
Replies
21
Views
9K
  • · Replies 1 ·
Replies
1
Views
3K