Skip to content
Snippets Groups Projects
Commit 8f03a325 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: updated buoyantBoussinesqPimpleFoam solver to include thermal wall functions

     on (kinematic) turbulent thermal conductivity, kappat and updated tutorial
parent 6ab81bf3
Branches
Tags
No related merge requests found
{ {
volScalarField kappaEff kappat = turbulence->nut()/Prt;
( kappat.correctBoundaryConditions();
"kappaEff",
turbulence->nu()/Pr + turbulence->nut()/Prt volScalarField kappaEff("kappaEff", turbulence->nu()/Pr + kappat);
);
fvScalarMatrix TEqn fvScalarMatrix TEqn
( (
......
...@@ -52,6 +52,21 @@ ...@@ -52,6 +52,21 @@
incompressible::RASModel::New(U, phi, laminarTransport) incompressible::RASModel::New(U, phi, laminarTransport)
); );
// kinematic turbulent thermal thermal conductivity m2/s
Info<< "Reading field kappat\n" << endl;
volScalarField kappat
(
IOobject
(
"kappat",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
);
label pRefCell = 0; label pRefCell = 0;
scalar pRefValue = 0.0; scalar pRefValue = 0.0;
setRefCell setRefCell
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object kappat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
floor
{
type kappatJayatillekeWallFunction;
Prt 0.85;
value uniform 0;
}
ceiling
{
type kappatJayatillekeWallFunction;
Prt 0.85;
value uniform 0;
}
fixedWalls
{
type kappatJayatillekeWallFunction;
Prt 0.85;
value uniform 0;
}
}
// ************************************************************************* //
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment