|
[Sponsors] |
Missing gravity in new Teqn in compressibleInterFoam, OpenFOAM v2.2.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 7, 2013, 09:29 |
Missing gravity in new Teqn in compressibleInterFoam, OpenFOAM v2.2.0
|
#1 |
New Member
Daniel Duque
Join Date: Jan 2011
Location: ETSIN, Madrid
Posts: 28
Rep Power: 15 |
Hi everybody.
We were greatly pleased by the modifications in compressibleInterFoam introduced in the new OpenFOAM v2.2.0 release. We were precisely working in extending the EOS to include non-isoT simulations, and the task is now basically done for us. However, I notice the equation for temperatura in the new Teqn.H reads: Code:
fvm::ddt(rho, T) + fvm::div(rhoPhi, T) - fvm::laplacian(kByCv, T) + p*fvc::div(phi)*(alpha1/Cv1 + alpha2/Cv2) rho g·u / c_v on the right hand side of this eq? This is the power production due to gravity (well, rho g·u is the power, divided by c_v gives a temperature variation). Thanks. Best, Daniel |
|
March 11, 2013, 10:42 |
|
#2 |
New Member
Daniel Duque
Join Date: Jan 2011
Location: ETSIN, Madrid
Posts: 28
Rep Power: 15 |
No answers? Well, I'll try to implement it myself, while listening to this tune: Gravity's Gone.
|
|
March 12, 2013, 07:59 |
|
#3 |
New Member
Daniel Duque
Join Date: Jan 2011
Location: ETSIN, Madrid
Posts: 28
Rep Power: 15 |
OK, I have just modified Teqn.H to solve this equation, including the
gravity power term, and it seems to be working. Code:
solve ( fvm::ddt(rho, T) + fvm::div(rhoPhi, T) - fvm::laplacian(kByCv, T) + p*fvc::div(phi)*(alpha1/Cv1 + alpha2/Cv2) - rho*(U & g) *(alpha1/Cv1 + alpha2/Cv2) ); |
|
March 12, 2013, 17:26 |
|
#4 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hi Daniel,
consider posting a bug report to the Mantis: http://www.openfoam.org/mantisbt I am not sure if the developers follow the forum. Markus |
|
March 20, 2013, 14:50 |
|
#5 |
New Member
Daniel Duque
Join Date: Jan 2011
Location: ETSIN, Madrid
Posts: 28
Rep Power: 15 |
Actually, I was wrong: there is NO gravity term in the energy equation. At least, in this energy equation. There is one in the conservation version of the energy equation (for E=rho e + rho u^2/2), but dissapears in this version. Sorry!
|
|
June 21, 2015, 00:37 |
|
#6 |
Member
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 64
Rep Power: 16 |
Yes. However, I did not see any gravity term, rho g&U, in the "total energy form".
|
|
Tags |
compressibleinterfoam, gravity, openfoam v2.2.0, temperature, teqn |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 06:51 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
OpenFoam gravity bug? | Whyman | OpenFOAM | 7 | June 21, 2010 05:10 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |