|
[Sponsors] |
Compiling and using new turbulence model in OF 5 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 17, 2023, 08:00 |
Compiling and using new turbulence model in OF 5
|
#1 | ||
New Member
Hamed Hoorijani
Join Date: May 2019
Location: Gent, Belgium
Posts: 23
Rep Power: 7 |
Hi,
I want to use a set of turbulence models that were used by a previous student in our lab. I placed the models in the $FOAM_USER_PROJECT_DIR directory and managed to compile them without any errors or warnings. I attempted to test these turbulence models using the pimpleFOAM solver with the pitzDaily tutorial case. However, I encountered the error below, and I'm having difficulty understanding its reason. I also tried using these models with compressible solvers, rhoPimpleFOAM (I made the necessary changes during the compilation step), but I obtained the same results. pimpleFOAM: Quote:
rhoPimpleFOAM: Quote:
I would greatly appreciate any hints or guidance. Best regards |
|||
November 17, 2023, 09:41 |
|
#2 |
New Member
nicola andreini
Join Date: Jan 2020
Location: Florence
Posts: 5
Rep Power: 6 |
I had the same error as you, in my case there was a variable in the code that had not been changed. Specifically in my code (SchnerrSauer cavitation model) there was an rRB(limitedAlpha) that I had forgotten to remove. Although the compilation returned no errors, once I launched the calculation I was getting the same error as you.
I hope it helps you. |
|
November 20, 2023, 17:34 |
|
#3 | |
New Member
Hamed Hoorijani
Join Date: May 2019
Location: Gent, Belgium
Posts: 23
Rep Power: 7 |
Quote:
|
||
Tags |
c++ code, openfoam 5.x, turbule model |
|
|