This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/multiphase/cavitatingFoam/throttle/0/k
Philippose Rajan bc6ff7b9e3 Fix tutorials: cavitatingFoam tutorial throttle now works fine.
* allRun modified to use cavitatingFoam instead of rasCavitatingFoam
* turbulenceProperties file added, with simulationType entry
* pFinal entry appended to fvSolution
* fvSolution modified to new solver specification format
* Modified k and omega fields to use the new wall functions
* nut field added
2010-10-17 13:58:33 +02:00

48 lines
1.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 10.0;
boundaryField
{
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.05;
value uniform 0.05;
}
outlet
{
type zeroGradient;
}
walls
{
type kqRWallFunction;
value uniform 10.0;
}
frontBack
{
type empty;
}
}
// ************************************************************************* //