|
[Sponsors] |
June 22, 2015, 22:44 |
alphaEff
|
#1 |
New Member
zahra
Join Date: Jun 2014
Location: Iran-Tehran
Posts: 28
Rep Power: 11 |
Hello foamers,
I would like to find the difinition of alphaEff() wich is used in hEqn.H in following form : fvm::laplacian(turb.alphaEff(), h) Does anyone know where "alphaEff()" is defined? |
|
June 23, 2015, 02:27 |
|
#2 |
Senior Member
|
Hi,
I guess, turb in your message is compressible turbulent model, so for RAS alphaEff is defined as Code:
virtual tmp<volScalarField> alphaEff() const { return thermo().alphaEff(alphat()); } Code:
virtual tmp<volScalarField> alphaEff() const { return thermo().alphaEff(alphaSgs()); } |
|
August 19, 2016, 12:47 |
|
#3 |
New Member
Paul
Join Date: May 2012
Posts: 23
Rep Power: 13 |
It took me a very long time to figure this one out. The reason why it took me (and probably you) so long is because of the complicated structure of openFoam's thermophysical classes.
As alexeym indicates, no matter which type of turbulence model you choose (RAS or LES), the turbulence model will have a call to a thermophysical model. Searching through the various files, i figured out that in /src/thermophysicalModels/basic/heThermo/heThermo.C you will find a line that says something along the lines that alphaEff = CpByCpv* (alpha + alphat) I haven't found any other thermophysical model that also says this (if anyone discovers another one like this, please post a reply!!) Note: alpha is defined in the /src/thermophysicalModels/basic/basicThermo/basicThermo.H as having the units kg/m/s. This probably looks strange to you knowing that thermal conductivity (kappa) usually has units of kg*m/s^3/k, where k is the degrees in kelvin. In effect, alpha is known as the thermal diffusivity for the enthalpy of a mixture, where as kappa is the thermal diffusivity for temperature. The relation between the two is that kappa = alpha * Cp, where Cp is the specific heat capacity at constant pressure. You may also notice that the definition of alphaEff above is also scaled by a factor of CpByCpv. CpByCpv = Cp/Cpv, where Cpv is the specific heat capacity at constant pressure/volume. Depending on which energy model you use, e.g. sensibleEnthalpy, then cpbycpv = 1 since it is assumed that cp=cpv. If you use sensibleInternalEnergy, then cpbycpv = Cp/Cv, where cv is the specific heat capacity at constant volume. The different types of energy models can be found in the directory src/thermophysicalModels/specie/thermo However, keep in mind that some solvers limit which of these energy models that you can use. |
|
September 1, 2016, 06:37 |
|
#4 | |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22 |
Quote:
You mean that kappa is the thermal conductivity, right? |
||
December 8, 2016, 16:13 |
|
#5 |
Member
Hasan Celik
Join Date: Sep 2016
Posts: 64
Rep Power: 9 |
Dear Paritosh,
kappa is thermal diffusivity in OpenFOAM, isn't it correct? And I think it is Alpha / Cp as OpenFOAM SIMPLE solvers neglect the rho. |
|
May 17, 2020, 08:43 |
|
#6 | |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 130
Rep Power: 10 |
Quote:
The link has been corrupted. Please include a new one, as your description is insightful. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall with fixed heatFlux boundary condition | Martin Lorenz (Lorenz) | OpenFOAM Running, Solving & CFD | 33 | December 21, 2020 05:59 |
Fixed heat flux BC in buoyantPimpleFoam | bhh | OpenFOAM Running, Solving & CFD | 39 | January 12, 2019 08:51 |
Heat flux calculating with wallHeatFlux utility and alphaEff | tanshihaj | OpenFOAM Post-Processing | 0 | March 12, 2014 05:55 |
Accessing fields and dictionaries from within a BC implementation | alberto | OpenFOAM Running, Solving & CFD | 12 | December 6, 2011 09:30 |
alphaEff scalarField | deji | OpenFOAM | 1 | July 29, 2010 14:12 |