|
[Sponsors] |
How to change simulated fluid from air to C02 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 27, 2011, 07:03 |
How to change simulated fluid from air to C02
|
#1 |
New Member
Juanito
Join Date: Oct 2010
Posts: 27
Rep Power: 16 |
Hello everybody!
I would like to make a heat transfer simulation with BuoyantBoussinesqSimpleFoam but I need to employ CO2 as simulated fluid. Which is the easiest way to change from air to CO2? Notice that BuoyantBoussinesqSimpleFoam doesn't employ thermophysicalProperties file. Thank you very much in advance! |
|
May 27, 2011, 07:47 |
|
#2 |
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
I'm not an expert of the buoyantBoussinesqSimpleFoam solver, but I think that you simply have to set properly your transportProperties file, changing the air properties with the CO2 properties (such as kinematic viscosity, thermal expansion coefficient and Prandtl number) at a reference temperature and pressure suitable for your case.
Regards V. |
|
May 27, 2011, 08:38 |
|
#3 | |
New Member
Juanito
Join Date: Oct 2010
Posts: 27
Rep Power: 16 |
Quote:
First, thank you very much for your answer. I agree with you but, what about the heat capacity (Cp)? I think that you can't change it in the transportProperties because there you can only define nu, beta, Tref and Pradtl numbers. |
||
May 27, 2011, 09:40 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
look for definition of prandtl
http://en.wikipedia.org/wiki/Prandtl_number besides in source code, you have: fvScalarMatrix TEqn ( fvm::div(phi, T) - fvm::Sp(fvc::div(phi), T) - fvm::laplacian(kappaEff, T) ); which kappaEff is calculated like below: volScalarField kappaEff ( "kappaEff", turbulence->nu()/Pr + turbulence->nut()/Prt ); so you just need to have pr and nu for energy equation calculation |
|
May 27, 2011, 09:44 |
|
#5 | |
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
Quote:
Hope this helps V. { volScalarField kappaEff ( "kappaEff", turbulence->nu()/Pr + turbulence->nut()/Prt ); fvScalarMatrix TEqn ( fvm::div(phi, T) - fvm::Sp(fvc::div(phi), T) - fvm::laplacian(kappaEff, T) ); TEqn.relax(); eqnResidual = TEqn.solve().initialResidual(); maxResidual = max(eqnResidual, maxResidual); rhok = 1.0 - beta*(T - TRef); } |
||
May 27, 2011, 09:45 |
|
#6 |
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
Oops, someone's been faster than me!
|
|
May 27, 2011, 13:26 |
|
#7 |
New Member
Juanito
Join Date: Oct 2010
Posts: 27
Rep Power: 16 |
Thank you very much, both are perfect answers to my question!!!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with Min/max rho | tH3f0rC3 | OpenFOAM | 8 | July 31, 2019 10:48 |
air change effectiveness overhead HVAC system | guillaume | Main CFD Forum | 0 | February 27, 2007 21:20 |
Water vapour condensation in CFX-5.7.1 | hdj | CFX | 1 | November 27, 2005 08:15 |
Air Volume Change with Pressure | Walt Muller | Main CFD Forum | 3 | December 12, 2000 08:09 |
Simulated air velocity near ceiling | Apple L S Chan | Main CFD Forum | 1 | July 1, 1999 22:13 |