|
[Sponsors] |
October 20, 2020, 06:18 |
Starting with LRR/SSG
|
#1 |
New Member
Jan
Join Date: Oct 2020
Posts: 11
Rep Power: 5 |
Hello my friends,
I recently decided to join the OF family and finished my simulations with the SST model quite well. Now, I want to run my case with an RSM model (LRR or SSG) but I'm stucked here. My case is a 3D closed channel flow with cyclic BC at the inlet/outlet. I implemented my R file in /0 like this: Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volSymmTensorField; location "0"; object R; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform (1.5625 -0 -0 1.5625 -0 1.5625); boundaryField { CWALL { type kqRWallFunction; value uniform (1.5625 -0 -0 1.5625 -0 1.5625); } INLET { type cyclic; } OUTLET { type cyclic; } } After trying to start my simulation with simpleFoam I get this error: Code:
... Starting time loop turbulenceFields turbulenceFields1: storing fields: "R" --> FOAM FATAL ERROR: attempted assignment to self Unfortunatly, I didn't find any tutorials about LRR/SSG which could help me, neither a solution for my error. Does anybody have an idea why/where I did a mistake? |
|
May 13, 2021, 04:06 |
catch up
|
#2 |
New Member
Ali Amarloo
Join Date: Aug 2018
Posts: 9
Rep Power: 7 |
Hi Kosdalak,
I had the same problem. I removed the "#includefunc R" from the controlDict since this solver saves the R tensor itself. Last edited by Ali Amarloo; May 13, 2021 at 04:20. Reason: No need for R calculation |
|
May 13, 2021, 07:28 |
|
#3 |
New Member
Jan
Join Date: Oct 2020
Posts: 11
Rep Power: 5 |
Hi Ali,
yes I solved my problem and managed to get some simulations running with these models. Can you be more specific about your problem? Is the R file missing or is there any other error message? Greetings Jan |
|
May 13, 2021, 08:01 |
|
#4 |
Senior Member
|
Possibly this helps?
https://www.cfd-online.com/Forums/op...18-simplefoam- tutorial-pitzdaily-using-reynolds-stress-tensor-lrr-rasmodel.html |
|
May 13, 2021, 19:30 |
|
#5 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
I guess the link is broken. This should work: simpleFoam tutorial PitzDaily using Reynolds stress tensor (LRR RASModel)
|
|
June 23, 2021, 16:21 |
|
#6 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
I think the error was due to the "turbulenceFields" function object. At least the boundary condition file for "R" does not contain any problematic content, it seems.
Could you switch off this function object, and rerun the case of yours?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 41 | August 23, 2023 02:48 |
big difference between clockTime and executionTime | LM4112 | OpenFOAM Running, Solving & CFD | 21 | February 15, 2019 03:05 |
bscw cgns wing | kocjH | SU2 | 3 | May 16, 2017 02:56 |
Error Message "Stopped in Routine SIG_HANDLER" appears starting CFX-Solver | Leuchte | CFX | 6 | July 20, 2016 03:35 |
[OpenFOAM] XYZ starting points of streamtraces in Paraview | deniggo | ParaView | 3 | May 22, 2013 03:02 |