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

Flow pass 2D square cylinder using LES-channel 395 question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2016, 18:46
Question Flow pass 2D square cylinder using LES-channel 395 question
  #1
Member
 
Bashar
Join Date: Jul 2015
Posts: 74
Rep Power: 10
Bashar is on a distinguished road
Dear All,
I am currently working on simulation for 2D square cylinder with Re=50000. I am trying to use LES with WALE SGS. I used the setup in the case "channel 395" in tutorial to build my own case, unfortunately I have been using openFoam for 3 months only, so I have a question regarding the data in the "0" folder inside this case: are they related to the WALE model? i.e can I use different setup for the variables inside this folder like ( P,U,K,B,..etc) from another model like Smagorinsky? the reason for that is related to the nature of this tutorial,"channel 395", for example the variable "k" is filled with data like shown below:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField nonuniform List<scalar>
60000
(
0.000546979
0.000539726
0.000522268
0.000486501
0.00042352
0.000340779
0.000261349
0.000205418
0.000176593
0.000165225
0.000161396
0.00016139
0.000166469
0.000177507
0.000193931
0.000215604
0.000243705
0.000278988
.....

5.34299e-05
5.57113e-05
5.80269e-05
6.14485e-05
6.61096e-05
7.18528e-05
7.79562e-05
8.41191e-05
)
;

boundaryField
{
bottomWall
{
type fixedValue;
value uniform 0;
}
topWall
{
type fixedValue;
value uniform 0;
}
sides1_half0
{
type cyclic;
}
sides2_half0
{
type cyclic;
}
inout1_half0
{
type cyclic;
}
inout2_half0
{
type cyclic;
}
sides2_half1
{
type cyclic;
}
sides1_half1
{
type cyclic;
}
inout1_half1
{
type cyclic;
}
inout2_half1
{
type cyclic;
}
}


// ************************************************** *********************** //

Which I could not understand how to use my data in this file . and I saw that other LES tutorial is much easier to work with it when it come to the variables inside the "0" folder.

So sorry for this long questions , I hope some one have any advice.

Regards,

Bashar
Bashar is offline   Reply With Quote

Old   January 8, 2021, 01:53
Default
  #2
Member
 
Join Date: Jan 2017
Posts: 71
Rep Power: 9
sadsid is on a distinguished road
Hi Bashar,

I am facing the same thing. How you resolved this issue? did you get the idea for obtaining these non-uniform internal fields?
sadsid is offline   Reply With Quote

Reply


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
Flow past a 2D cylinder - High Re (1E+05) - Cd too high Pervispasco OpenFOAM Running, Solving & CFD 4 March 14, 2022 02:19
Applyinga one phase LES to rectangular channel flow roi247 FLUENT 5 January 30, 2020 14:59
LES: Turbulent Channel Flow without initial solution (BC) DaSh OpenFOAM Running, Solving & CFD 21 February 8, 2015 16:09
LES of a turbulent channel flow stays laminar liu OpenFOAM Running, Solving & CFD 2 May 27, 2010 13:53
Slug flow in square channel PaulC FLUENT 0 December 5, 2005 02:03


All times are GMT -4. The time now is 20:44.