|
[Sponsors] |
Setting up a different model for an existing tutorial case |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2024, 16:09 |
Setting up a different model for an existing tutorial case
|
#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. |
|
October 26, 2024, 07:15 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,208
Rep Power: 28 |
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 |
|
October 30, 2024, 19:59 |
|
#3 | ||
New Member
Join Date: Oct 2024
Posts: 3
Rep Power: 2 |
Thank you, Yann
Quote:
Quote:
Thanks again! Regards, Gabriel |
|||
October 31, 2024, 04:43 |
|
#4 | ||
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,208
Rep Power: 28 |
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 |
|
|
Similar Threads | ||||
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 10, 2022 00:44 |
Spalart-Allmaras turbulence model for turbulent flat plate tutorial | Bartholomew | OpenFOAM | 0 | February 6, 2021 19:24 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 15:32 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Native fan model? | Vcent | FLUENT | 0 | December 10, 2012 08:36 |