|
[Sponsors] |
March 7, 2011, 21:04 |
Wall correction for the temperature gradient
|
#1 |
Member
Hagen Müller
Join Date: Nov 2010
Posts: 34
Rep Power: 16 |
Dear all,
I would like to implement a correction for the temperature gradient near the wall in a 2D channel flow. The energy equation is usually formulated as Code:
fvScalarMatrix TEqn ( fvm::div(phi, T) - fvm::Sp(fvc::div(phi), T) - fvm::laplacian(kappaEff, T) ); Code:
surfaceTensorField kappaEffs = fvc::interpolate(kappaEff); surfaceVectorField Sn = mesh.Sf()/mesh.magSf(); surfaceVectorField SfkappaEff = mesh.Sf() & kappaEffs; GeometricField<scalar, fvsPatchField, surfaceMesh> SfkappaEffSn = SfkappaEff & Sn; volScalarField Dif1 ( IOobject ( "Dif1", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), fvc::div(SfkappaEffSn * fvc::snGrad(T)) ); volScalarField Dif2 ( IOobject ( "Dif2", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), fvc::laplacian(kappaEff, T) ); I would be thankful for any suggestion how to express the laplacian in terms of the gradient or any other possibility to correct the temperature gradient at the wall. Thank you. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with zeroGradient wall BC for temperature - Total temperature loss | cboss | OpenFOAM | 12 | October 1, 2018 07:36 |
udf variable for wall temperature | Kiran | FLUENT | 0 | July 31, 2008 09:31 |
how to calculate the temperature gradient of wall | houbaolin | FLUENT | 0 | July 28, 2008 03:51 |
Non-conformal grid interfaces: wall temperature | Evandro | FLUENT | 0 | April 4, 2008 00:43 |
Variable temperature wall boundary condition | Virginie | FLUENT | 2 | October 2, 2007 10:23 |