|
[Sponsors] |
Setting up a different model for an existing tutorial case |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Oct 2024
Posts: 3
Rep Power: 2 ![]() |
Hello, everyone.
I am new using OpenFOAM, and I am having difficult on how to set a different model to an existing tutorial. My main objective is to use the airFoild2D tutorial case as my baseline and compare different models to the same mesh and geometry. To get started, I want to use the tutorial $FOAM_TUTORIALS/incompressible/simpleFoam/airFoil2D but change the model to k omega SST. I know I have to do the following steps until now:
I do not want cooked answers, but some tips or an overview on how would you set up this case, so I can learn the procedure on how to make this simulation. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,298
Rep Power: 30 ![]() ![]() |
Hello,
Your steps sound good. Basically: each turbulence model solves different equations and requires to define different variables (boundary conditions for these variables, and numerical setup in fvSolution/fvSchemes) If you want to be able to switch between turbulence models, you just need to prepare your 0 directory and fvSolution/fvSchemes to include the variables your need for each model you want to use (some models will rely on the same variables, such as k and epsilon for all the k-epsilon models variants, etc...) It looks like this is already what you are doing. What are you struggling with? You can have a look to $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily which does exactly this: it is setup to be able to switch between turbulence models. You just have to switch models in turbulenceProperties. Regards, Yann |
|
![]() |
![]() |
![]() |
![]() |
#3 | ||
New Member
Join Date: Oct 2024
Posts: 3
Rep Power: 2 ![]() |
Thank you, Yann
Quote:
Quote:
Thanks again! Regards, Gabriel |
|||
![]() |
![]() |
![]() |
![]() |
#4 | ||
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,298
Rep Power: 30 ![]() ![]() |
Hello Gabriel,
Quote:
Quote:
Just be careful to update the boundary conditions for all the turbulent quantities if you change a parameter which could affect these quantities (like changing the flow velocity) Cheers, Yann |
|||
![]() |
![]() |
![]() |
Tags |
airfoil 2d, k omega sst, setup, turbulence |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
the air phase in multiphaseEulerFoam bubble tutorial case doesn't move | Ahyar | OpenFOAM Running, Solving & CFD | 0 | February 9, 2022 23:44 |
Spalart-Allmaras turbulence model for turbulent flat plate tutorial | Bartholomew | OpenFOAM | 0 | February 6, 2021 18:24 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 14:32 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
Native fan model? | Vcent | FLUENT | 0 | December 10, 2012 07:36 |