|
[Sponsors] |
November 18, 2012, 08:08 |
How to set heat in the enthalpy equation?
|
#1 |
Member
Zifei Yin
Join Date: Sep 2012
Location: Shanghai & Ames
Posts: 33
Rep Power: 13 |
Hello, world. I have costumed the enthalpy in hEqn.H which is included rhoSimpleFoam. The problem is, I inserted a scalarField Q in it. But it is a steady-state solver, but I don't know the relation of scalarField Q and the heat(unit Joule) I need to add per second per volume. And, what should I set the Q's unit?
The hEqn.H I costumed is: { fvScalarMatrix hEqn ( fvm::div(phi, h) - fvm::Sp(fvc::div(phi), h) - fvm::laplacian(turbulence->alphaEff(), h) - Q == fvc::div(phi/fvc::interpolate(rho), rho/psi, "div(U,p)") - (rho/psi)*fvc::div(phi/fvc::interpolate(rho)) ); hEqn.relax(); hEqn.solve(); thermo.correct(); } |
|
December 1, 2012, 06:03 |
|
#2 |
Member
Zifei Yin
Join Date: Sep 2012
Location: Shanghai & Ames
Posts: 33
Rep Power: 13 |
OK, I have solved this, the unit of Q is J/(M^3*s)
|
|
January 21, 2022, 22:22 |
How did you insert the Q with unit J/(m3*s)
|
#3 |
New Member
ZhuangLi
Join Date: Jan 2022
Posts: 13
Rep Power: 4 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFL condition heat equation 2D/3D | pepgma | Main CFD Forum | 2 | February 4, 2012 07:51 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 08:56 |
Turbulent Heat Transfer Transport Equation | Flo.duck | Main CFD Forum | 0 | May 6, 2009 03:37 |
Concentric tube heat exchanger (Air-Water) | Young | CFX | 5 | October 6, 2008 23:17 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 04:27 |