CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Parameters of turbulence in the laminar simulation buoyantBoussineqPimpleFoam (http://www.cfd-online.com/Forums/openfoam-solving/92503-parameters-turbulence-laminar-simulation-buoyantboussineqpimplefoam.html)

 mdmoura September 15, 2011 18:13

Parameters of turbulence in the laminar simulation buoyantBoussineqPimpleFoam

Hello everyone. I'm trying to simulate the transient and laminar natural convection in a cube. I'm using buoyantBoussinesqPimpleFoam solver. I wonder why even as a RANS model by setting must specify values ​​for laminar alphat, kappat, nut, etc..? Thank you!

 romant September 16, 2011 03:10

even the laminar case is a turbulence model. laminar is a dummy turbulence model that does not use these values.

according to the source of laminar, you don't actually need to create nut or any of the other fields, since the fields k, nut, and epsilon are created internally. the only field you need to specify is kappat, because it is not really part of the turbulence model but the temperature equation. it is used to create the effective conductivity

Code:

```{     kappat = turbulence->nut()/Prt;     kappat.correctBoundaryConditions();     volScalarField kappaEff("kappaEff", turbulence->nu()/Pr + kappat);     fvScalarMatrix TEqn     (         fvm::ddt(T)       + fvm::div(phi, T)       - fvm::laplacian(kappaEff, T)     );     TEqn.relax();     TEqn.solve();     rhok = 1.0 - beta*(T - TRef); }```

 All times are GMT -4. The time now is 23:08.