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

turbulentDFSEMInlet boundaryData and U, R, L, generation

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes
  • 1 Post By mjavrincon
  • 9 Post By mjavrincon
  • 1 Post By XJ_Wang

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 6, 2021, 07:50
Default turbulentDFSEMInlet boundaryData and U, R, L, generation
  #1
New Member
 
mjavrincon's Avatar
 
Mario Javier Rincón
Join Date: Dec 2020
Location: Denmark
Posts: 7
Rep Power: 5
mjavrincon is on a distinguished road
Hi guys,

I am trying to set up an LES simulation with turbulentDFSEMInlet boundary condition. In order to do so, I run a precursor RANS simulation with uniform inlet conditions and k-omega SST model of the same geometry. During the RANS simulation I extract the data at the outlet with the following code in controlDict:

Code:
    sampledPlanes
    {
        type                     surfaces;
        functionObjectLibs ( "libsampling.so" );
        outputControl        timeStep;
        outputInterval       1000;
        enabled                true;
        surfaceFormat       boundaryData;
        fields                    ( U turbulenceProperties:R turbulenceProperties:L );
        interpolationScheme cellPatchConstrained;
        surfaces                ( outlet { type patch ; patches ( outlet ) ; interpolate false ; } );
    }
Afterwards, I edit the case to adjust it for LES, take the data of U, R, L under postProcessing/sampledPlanes/ and copy it with the right format under constant/boundaryData. The problem is that I always get the following error when trying to decompose or run the case with turbulentDFSEMInlet:

Code:
Time = 0
Turbulent DFSEM patch inlet: interpolating field R from "/data/MJRP/fullCases/LES/constant/boundaryData/inlet/0/R"
Turbulent DFSEM patch inlet: interpolating field L from "/data/MJRP/fullCases/LES/constant/boundaryData/inlet/0/L"
Turbulent DFSEM patch inlet: interpolating field U from "/data/MJRP/fullCases/LES/constant/boundaryData/inlet/0/U"


--> FOAM FATAL ERROR:
Reynolds stress (2.3018333e-31 7.4816001e-32 -1.3597915e-31 -3.9599454e-32 -2.22473e-32 -1.2211324e-31) at face 1 leads to an invalid Cholesky decomposition due to the constraint R_yy - sqr(a_xy) >= 0

    From static bool Foam::turbulentDFSEMInletFvPatchVectorField::checkStresses(const symmTensorField&)
    in file fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C at line 992.

FOAM exiting
I have tried everything that I know including improving the mesh and extract the data in different ways at the outlet. I have not seen any solution to the problem online and perhaps I have an error of concept on how the BC works, but I hope that you could help me.

Thus, does anyone faced the same problem and knows what is failing here?

Thanks in advance!
smayoral likes this.

Last edited by mjavrincon; May 6, 2021 at 15:26. Reason: wrong patch
mjavrincon is offline   Reply With Quote

 

Tags
boundarydata, les, les inlet conditions, turbulentdfseminlet


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
Imposing PIV (2D) experimental data at turbulentDFSEMInlet for LES t.teschner OpenFOAM Running, Solving & CFD 7 April 25, 2024 04:50
Creation of boundaryData for turbulentDigitalFilterInlet Bazinga OpenFOAM Pre-Processing 1 July 15, 2021 07:20
turbulentDFSEMInlet and boundaryFoam hconel OpenFOAM Running, Solving & CFD 1 September 14, 2020 10:34
generation of boundaryData files for timeVaryingMappedFixedValue MartinEB OpenFOAM Programming & Development 5 June 3, 2020 19:11
Creating boundaryData folder for timeVaryingMappedFixedValue boundary condition Sid! OpenFOAM Running, Solving & CFD 2 October 4, 2017 01:44


All times are GMT -4. The time now is 13:27.