|
[Sponsors] |
May 29, 2018, 13:03 |
Change Turbulence Model during simulation
|
#1 |
New Member
Joćo Gil
Join Date: Aug 2017
Posts: 12
Rep Power: 9 |
Hello everyone!
I have an OpenFOAM case that uses chtMultiRegionSimpleFoam, with k-omegaSST turbulence model for the fluid. If I start the simulation, it achieves the maximum iterations error. However, I know that if I start the simulation in laminar and then change it to turbulence model k-omegaSST, the case will run just fine. How do I change from laminar to turbulent k-omegaSST during the execution? Or, at least, stop the laminar case and change it to turbulent without reseting anything, by "using" the values achieved so far by the laminar case? Thanks! Joćo Gil |
|
May 29, 2018, 16:11 |
|
#2 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Quote:
|
||
May 30, 2018, 05:12 |
|
#3 |
New Member
Joćo Gil
Join Date: Aug 2017
Posts: 12
Rep Power: 9 |
I don't know how to use the results obtained from laminar mode into the turbulence simulation. How do I manipulate the folders and such...? And also, when I execute the solver in the terminal, how do I make sure that it's using the initial results from laminar?
|
|
May 31, 2018, 13:52 |
|
#4 | |
New Member
Matthias Bürgler
Join Date: Mar 2018
Posts: 3
Rep Power: 8 |
Quote:
|
||
June 1, 2018, 14:48 |
|
#5 |
New Member
Joćo Gil
Join Date: Aug 2017
Posts: 12
Rep Power: 9 |
Thanks for the suggestion @mbuergle; unfortounately, it didn't work.
I believe the correct way is: 1 - Run the laminar simulation until a certain time; 2 - On the last time of the laminar simulation, add the files for turbulent variables (k, omega, etc...); 3 - Change the turbulentceProperties files to the desired turbulence model. But even like that, I get the error: Code:
--> FOAM FATAL ERROR: Maximum number of iterations exceeded From function Foam::scalar Foam::species::thermo<Thermo, Type>::T(Foam::scalar, Foam::scalar, Foam::scalar, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar) const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar) const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar) const) const [with Thermo = Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie> >; Type = Foam::sensibleEnthalpy; Foam::scalar = double; Foam::species::thermo<Thermo, Type> = Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie> >, Foam::sensibleEnthalpy>] in file /home/ubuntu/OpenFOAM/OpenFOAM-4.1/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 66. I think there are a lot of threads in the forum about this error. I'll research more I use the polynomial method for my fluid region. Thanks a lot for your help! Cheers, Joćo Gil |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reynolds number criteria for application of turbulence model in gas-solid simulation | k.farnagh | Main CFD Forum | 0 | May 16, 2018 12:19 |
Difficulty in calculating angular velocity of Savonius turbine simulation | alfaruk | CFX | 14 | March 17, 2017 07:08 |
Turbulence model choice for automotive simulation? | cfdblender | Main CFD Forum | 5 | December 18, 2015 09:03 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
turbulence model simulation in unsteady flow | Chang | Main CFD Forum | 2 | February 12, 2005 07:28 |