CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Smagorinsky LES of Channel Flow Using PisoFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2023, 17:38
Default Smagorinsky LES of Channel Flow Using PisoFOAM
  #1
New Member
 
HS
Join Date: Sep 2022
Posts: 9
Rep Power: 4
ChaldExals is on a distinguished road
Hello All,

I am new to OpenFOAM and currently trying to run a test case of turbulent channel flow with Smagorinsky LES (using pisoFoam solver). My geometry domain is 6.4m*1m*2.4m. Bulk reynolds number in terms of half channel height is 125000. I am using a simple mesh by using 50,40, and 40 cells in x,y,and z directions respectively. I am applying streamwise and spanwise cyclic boundary conditions so that i can simulate a fully developed flow. The simulation runs without any error. However, the pressure in the entire flow domain is almost 0 (around 10^-8). There should be some pressure gradient. Also, i can't get any visible eddies in the flow field. I know my mesh isn't that fine but i guess there should be something to see. Could you help me with this situation? Initial conditions for p,U, and nut are given as can be seen below.

Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type cyclic;
}

outlet
{
type cyclic;

}

upperWall
{
type zeroGradient;
}

lowerWall
{
type zeroGradient;
}

leftWall
{
type cyclic;
}

rightWall
{
type cyclic;
}
}

// ************************************************** *********************** //
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (3.7 0 0);

boundaryField
{
inlet
{
type cyclic;
}

outlet
{
type cyclic;
}

upperWall
{
type noSlip;
}

lowerWall
{
type noSlip;
}

leftWall
{
type cyclic;
}

rightWall
{
type cyclic;
}
}

// ************************************************** *********************** //
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -1 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type cyclic;
}

outlet
{
type cyclic;
}

upperWall
{
type zeroGradient;
}

lowerWall
{
type zeroGradient;
}

leftWall
{
type cyclic;
}

rightWall
{
type cyclic;
}
}

// ************************************************** *********************** //
I used meanVelocityForce in fvSolutions as seen below.

Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

momentumSource
{
type meanVelocityForce;
active yes;

meanVelocityForceCoeffs
{
selectionMode all;

fields (U);
Ubar (3.7 0 0);
}
}


// ************************************************** *********************** //
Thank you in advance.
Regards,
ChaldExals is offline   Reply With Quote

Reply

Tags
channel flow, les, periodic


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LES Setup of a cyclic channel flow for compressible solver Phil910 OpenFOAM Running, Solving & CFD 3 November 14, 2024 08:42
LES of turbulent channel flow (overprediction) nathanricks FLUENT 1 March 3, 2024 22:47
unable to run dynamic mesh(6dof) and wave UDF shedo Fluent UDF and Scheme Programming 0 July 1, 2022 18:22
Applyinga one phase LES to rectangular channel flow roi247 FLUENT 5 January 30, 2020 15:59
pisoFOAM (LES) - internal pipe flow - convergence gu1 OpenFOAM Running, Solving & CFD 19 August 10, 2018 08:00


All times are GMT -4. The time now is 12:10.