|
[Sponsors] |
Error in turbulentHeatFluxTemperatureFvPatchScalarField v1.6 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 16, 2009, 08:06 |
Error in turbulentHeatFluxTemperatureFvPatchScalarField v1.6
|
#1 |
Senior Member
|
I noticed an error in turbulentHeatFluxTemperatureFvPatchScalarField class for temperature gradient calculation:
Code:
00146 void turbulentHeatFluxTemperatureFvPatchScalarField::updateCoeffs() 00147 { 00148 if (updated()) 00149 { 00150 return; 00151 } 00152 00153 const scalarField& alphaEffp = 00154 patch().lookupPatchField<volScalarField, scalar>(alphaEffName_); 00155 00156 const scalarField& Cpp = 00157 patch().lookupPatchField<volScalarField, scalar>(CpName_); 00158 00159 gradient() = q_/(Cpp*alphaEffp); 00160 00161 fixedGradientFvPatchScalarField::updateCoeffs(); 00162 } q = lambda * grad (T) = alpha * rho * Cp * grad (T) where lambda - thermal conductivity alpha - thermal diffusivity Cp - cpecific heat capacity rho - density Thus temperature gradient should be grad (T) = q / (alpha * rho * Cp) Please correct me if I'm wrong!
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at Last edited by makaveli_lcf; September 17, 2009 at 08:47. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forces in V1.6 | terrybarnaby | OpenFOAM Post-Processing | 72 | September 2, 2015 16:49 |
installing v1.6 and keeping v1.5 | Gavin | OpenFOAM | 9 | October 23, 2009 04:16 |
nutRoughWallFunction v1.6 | Schag | OpenFOAM | 2 | October 1, 2009 16:28 |
icoDyMFoam v1.6 | shyam | OpenFOAM Bugs | 1 | September 5, 2009 04:22 |
Postprocessing and uniformDensityHydrostaticPressure in v1.6 | Schag | OpenFOAM Bugs | 2 | July 28, 2009 13:41 |