|
[Sponsors] |
August 23, 2016, 02:39 |
|
#61 |
New Member
Tsuyoshi Koyama
Join Date: Oct 2012
Posts: 6
Rep Power: 14 |
Dear all,
Does anyone know what the boundary conditions for velocity(U) and pressure(p) used in Joachims example ( Lund Recycled Method for LES (flat plate)) are? |
|
August 23, 2016, 04:00 |
|
#62 |
New Member
Christoph Wenzel
Join Date: May 2014
Location: Germany
Posts: 21
Rep Power: 12 |
Yes, the boundary condition for the velocity is:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (1 0 0); boundaryField { inlet { type scaledMappedVelocity; deltaInlet 0.243; thetaInlet 0.028; Ue 1; nu 2e-5; t 2e-2; UMeanSpanTime uniform (0 0 0); value uniform (1 0 0); } outlet { type advective; } plate0 { type fixedValue; value uniform (0 0 0); } plate1 { type fixedValue; value uniform (0 0 0); } top0 { type zeroGradient; } top1 { type zeroGradient; } front0 { type cyclic; } front1 { type cyclic; } back0 { type cyclic; } back1 { type cyclic; } interface0 { type cyclic; } interface1 { type cyclic; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ 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 zeroGradient; } outlet { type fixedValue; value uniform 0; } plate0 { type zeroGradient; } plate1 { type zeroGradient; } top0 { type fixedValue; value uniform 0; } top1 { type fixedValue; value uniform 0; } front0 { type cyclic; } front1 { type cyclic; } back0 { type cyclic; } back1 { type cyclic; } interface0 { type cyclic; } interface1 { type cyclic; } } // ************************************************************************* // Christoph |
|
August 23, 2016, 04:04 |
|
#63 |
New Member
Tsuyoshi Koyama
Join Date: Oct 2012
Posts: 6
Rep Power: 14 |
Dear Christoph,
Thank you so much for your quick reply!!! I have really been struggling to get the boundary conditions right for this problem. I will try them right away! |
|
August 24, 2016, 23:15 |
|
#64 |
New Member
Tsuyoshi Koyama
Join Date: Oct 2012
Posts: 6
Rep Power: 14 |
Dear Christoph,
Thank you for uploading the BC files. I tried them with my case and was able to get the problem working after some modifications. The major problem other than the BC's was the accuracy in my solves at each time step. The lack of accuracy was creating artificial turbulence and corrupting my solution. Sincerely, -Tsuyoshi Koyama Last edited by t.koyama; August 26, 2016 at 05:28. |
|
October 19, 2016, 01:22 |
|
#65 |
New Member
James Zh
Join Date: Mar 2016
Posts: 3
Rep Power: 10 |
Hi Foamers,
I'm really curious about this method, but unfortunately there is nothing in the dropbox link...Can anyone send me a copy of the test case to the address zfr2078@gmail.com ? Thanks in advance!! Regards J Zhang |
|
October 19, 2016, 07:53 |
|
#66 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Dear all,
You might be interested in looking at a python package I have written, it allows to rescale sampled velocity fields using the Lund's rescaling procedure and save them in a format readable by OpenFOAM. There is a User guide available here: http://eddylicious.readthedocs.io/ And the code is here https://github.com/timofeymukha/eddylicious |
|
November 7, 2016, 23:10 |
|
#67 |
New Member
Wenkun Zhao
Join Date: Mar 2015
Location: Nanjing, China
Posts: 14
Rep Power: 11 |
Hi Joachim,
I am very interested in Lund's recycling methods but unfortunately it is used for incompressible flows. So I studied recaling-recycling method and extend it for compressible flows just by adding Van Driest velocity to scaledMappedVelocity and creating scaledMappedTemperature. But I have encountered a problem: I run these boundary conditions well using single processor but failed in parallel calculating. By the way, have you ever calculated in parallel using your code? I just modified your code by adding some extra codes and I think it doesn't affect parallel process. Here's my attached codes for compressible flows. P.S. my OpenFOAM version is 2.4.0 |
|
November 8, 2016, 10:38 |
|
#68 | |
New Member
Wenkun Zhao
Join Date: Mar 2015
Location: Nanjing, China
Posts: 14
Rep Power: 11 |
Quote:
I wonder where perturbU utility is, there's no such utility in offical version of OpenFOAM, and I don't know how to calculate the initial field for following LES calculation. Any suggestions? Best, Eric |
||
November 9, 2016, 14:23 |
|
#69 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
That utility has been taken out of the standard version (not sure why?) but there's a link in the wiki explaining how to add it back:
https://openfoamwiki.net/index.php/Contrib/perturbU it's very simple and straightforward. |
|
November 10, 2016, 03:34 |
|
#70 |
New Member
Wenkun Zhao
Join Date: Mar 2015
Location: Nanjing, China
Posts: 14
Rep Power: 11 |
Hi Mahdi,
Thanks for your quick response, I have download perturbU and successfully compiled it on OpenFOAM-2.4.0. I opened the perturbU.C and after scanning the code I know that Code:
if (setBulk) {} Code:
if (perturb) {} Code:
if (perturb) { // streak streamwise velocity U[celli][streamDir] += (utau * duplus/2.0) * (yplus/40.0) * Foam::exp(-sigma * Foam::sqr(yplus) + 0.5) * Foam::cos(betaPlus*zplus)*deviation; // streak spanwise perturbation U[celli][spanDir] = epsilon * Foam::sin(alphaPlus*xplus) * yplus * Foam::exp(-sigma*Foam::sqr(yplus)) * deviation; } Is there any perturbation theory or related references? Best |
|
November 14, 2016, 14:24 |
|
#71 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
Random perturbations will be easily damped out if they lack a spatial correlation. Also to initialize don't use turbulent profile, use laminar.
Those streaks are based on a paper by Schoppa and Hussain: https://www.researchgate.net/publica...all_turbulence They are the best way to excite the near wall fluctuations and transient into turbulent. |
|
April 13, 2018, 03:54 |
|
#72 | |
New Member
Wang Yifan
Join Date: Jan 2018
Posts: 4
Rep Power: 8 |
Quote:
I tried your BCs. Add "mpp.distribute(URecycled);" in scaledMappedTemperatureFixedValueFvPatchField.C, and it will work fine in parallel calculating. Of course, you may have already solved this problem. By the way, which paper are your BCs based on?And how do you set your boundary condition for field p? Best Yifan |
||
December 3, 2018, 05:52 |
|
#73 |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 |
Hi,
I need this BC for my DNS simulation, can anyone share the code and additional files to me? My email is 32420171152101@stu.xmu.edu.cn Thank you very much. |
|
January 14, 2019, 16:17 |
|
#74 |
New Member
Yong Wang
Join Date: Dec 2014
Posts: 3
Rep Power: 12 |
Could you send me a copy of your case files? It would be great help to setup a base case for comparison of synthetic inflow generation method. My email is y.wang@ttu.edu. Thanks a lot.
|
|
August 19, 2019, 07:05 |
Joachim's Code
|
#75 |
Member
Oguzhan
Join Date: Aug 2017
Posts: 38
Rep Power: 9 |
Hi all,
Can anyone please send me the Joachim's code? I did bit of search but couldn't find it anywhere online. Email: oguzhanmurat06@gmail.com Thanks. |
|
December 16, 2019, 10:49 |
|
#76 |
New Member
Shawn
Join Date: Dec 2019
Posts: 5
Rep Power: 7 |
Dear all
I'm really curious about this method, but unfortunately there is nothing in the dropbox link...Can anyone send me a copy of the test case to the address shawnhu94@gmail.com ? Thanks in advance! |
|
December 16, 2019, 10:58 |
|
#77 | |
New Member
Shawn
Join Date: Dec 2019
Posts: 5
Rep Power: 7 |
Quote:
I'm really curious about this method, but unfortunately there is nothing in the dropbox link...Can anyone send me a copy of the test case to the address shawnhu94@gmail.com ? Thanks in advance! |
||
January 27, 2022, 11:31 |
Run runLundRescaling --config=rescalingConfigBot
|
#78 |
New Member
Join Date: Sep 2021
Posts: 6
Rep Power: 5 |
Hi Foamers
Can somebody please tell me how to proceed with this runLundRescaling --config=rescalingConfigBot as mentioned in https://github.com/timofeymukha/eddy..._lund.rst#id15 I am unable to run this command. |
|
January 27, 2022, 12:15 |
|
#79 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Hi. So, did you install eddylicious? The command is part of the package.
|
|
June 15, 2022, 04:11 |
|
#80 |
New Member
Tingkai Dai
Join Date: Jan 2022
Posts: 1
Rep Power: 0 |
Hi,
I'm really interested in the Lund's method,but the test case in the dropbox doesn't exist. Can anyone share the files to me? My email is jayddkt@sjtu.edu.cn Thanks a lot. |
|
Tags |
les lund recycled method |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
heat transfer with RANS wall function, over a flat plate (validation with fluent) | bruce | OpenFOAM Running, Solving & CFD | 6 | January 20, 2017 07:22 |
Low Reynolds Number Flow over a Flat Plate | Go | FLUENT | 4 | August 28, 2013 06:19 |
different boundary conditions for flat plate | easyRider | Main CFD Forum | 0 | March 20, 2012 09:40 |
Conjugate heat transfer for film-cooled flat plate | Michele | FLUENT | 0 | July 3, 2006 09:42 |
flat plate boundary layer data | Ekachai Juntasaro | Main CFD Forum | 3 | March 14, 2001 00:18 |