|
[Sponsors] |
May 27, 2013, 08:03 |
Study of the EEqn.H in rhoPimpleDyMFoam.
|
#1 |
New Member
Join Date: May 2013
Location: Santa Fé, Argentina
Posts: 5
Rep Power: 13 |
Hi,
I'm working with the solver "rhoPimpleDyMFoam" from the OpenFOAM 2-2-x version. In specific i was trying to replicate the polytropic process in an adiabatic compression. The case i studied is a pistone-cylinder sistem where air is compressed by the pistone patch which is a moving wall. The pistone velocity is adjusted to 0,1(m/s) to aproximate a reversible process. When i choose energy "he" as internal energy i could reproduce the polytropic process in an adiabatic compression. However when i choose energy "he" as entalphy I couldn't achieve the theoretical expression for air. Instead the system looks as it would be non adiabatic or like the conversion between work and internal energy was not made properly. Therefore i started to study the EEqn.H. I compare the theoretical balance of total energy in terms of entalphy with what is written in the EEqn.H. Balance of a tensorial property in an arbritary moving domain. Balance of mechanical energy. Balance of internal energy. The balance of internal energy can be expressed in terms of entalphy. Replacing in the balance of internal energy. Balance of total energy. The sum of the balances of mechanical and internal energy results in the balance of total energy. If the terms of work of viscous forces and the gravity are neglected, the balance is: rhoPimpleDyMFoam: EEqn.H The balance of total energy in the EEqn.H file with considered as entalphy is: Code:
fvm::ddt(rho, he) + fvm::div(phi, he) + fvc::ddt(rho, K) + fvc::div(phi, K) - dpdt - fvm::laplacian(turbulence ->alphaEff(), he) == fvOptions(rho, he) If fvOptions(rho, he) are considered as zero, the term from the final balance is no considered in EEqn.H. Then i try adding in the EEqn.H the therm . Code:
fvm::ddt(rho, he) + fvm::div(phi, he) + fvc::ddt(rho, K) + fvc::div(phi, K) - dpdt + fvc::div(fvc::meshPhi(U),p) - fvm::laplacian(turbulence ->alphaEff(), he) == fvOptions(rho, he) The question is, should the term be introduced in any way in fvOptions(rho, he) or it must be explicit in the EEqn.H? Thanks, Horacio |
|
Tags |
rhopimpledymfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
grid study, important question | hamid1 | FLUENT | 1 | August 4, 2013 00:14 |
[ANSYS Meshing] grid study, important questions | hamid1 | ANSYS Meshing & Geometry | 2 | February 10, 2012 13:28 |
Loop outlet data to inlet of new study | pggow | FLUENT | 0 | December 21, 2011 14:31 |
dpm study of solid-liquid study. | bhanwar | Main CFD Forum | 0 | September 29, 2011 08:21 |
Study | Mario | Main CFD Forum | 0 | August 24, 2009 09:59 |