units after multipl. with phi
Hi all,
I have an equation like that: Code:
div(phi, H) + Q I had a look at the phi file and the file has the unit [kg/s]. Also I had a look at the createCompressiblePhi.H file and there is phi defined as the mass flow. So after div(phi, H) I should get the unit [J/s] = [W] ... Or am I wrong? If phi = rho then everything would be nice :) I am a bit confused. Tobi |
Could it be that you are missing the cell volume from the finite volume integration in your Q term?
phi = rho would still not solve your problem, because you're still missing [1/s] in that case. |
Hi,
no its implemented in the flamelet tool from alberto. He added an enthalpy defect like that: Code:
Code:
Qrad = 4 * sigma_B * (T_cell^4 - T_env^4) * as Qrad [W/m³] H [J/kg] Well - but you `re right. There is still a s missing :/ I a m confused with taht code. |
Hi Tobi,
Have a look at equation 2.29 in the Programmer's Guide. |
Quote:
do you mean the libOpenSmoke Guide or what programmers guide do you mean? |
Hi Tobias,
the folks at OpenCFD have discontinued Programmers Guide that is correct but you can still find http://openfoam-extend.git.sourcefor...de.pdf;hb=HEAD |
HI,
thanks very much. Thats that what I need :) integration over a volume V - now I know how that works. Thought that the programmers-guide is only the doxygen-code :) Nice to know. Tobi |
Perhaps it's good to know that you can also find it in your $WM_PROJECT_DIR/doc/Guides-a4 directory.
|
Quote:
Nice to know. Working with OF for 3 years now and be in that directory some times but never realized that :) stupid! but thanks! tobi |
All times are GMT -4. The time now is 21:10. |