|
[Sponsors] |
November 9, 2021, 20:06 |
Implementing a new turbulence model
|
#1 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Hi,
I am desperately need to know how to create my own turbulence model using existing models. i followed many different types of tutorials but file structure, names, and paths are totally changed in both OpenFOAM v9 and v8. Any sort of a guidance appreciated , |
|
November 10, 2021, 04:04 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Could try with OpenFOAM-v2106, it retains the familiar structure of turbulence models.
|
|
November 10, 2021, 11:43 |
|
#3 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
really appreciate your quick reply,
managed to install OpenFOAMv2106 but encountered with an error in third-party package also i would like to introduce myself to you and ask some questions regarding OpenFOAMv2106. via email, LinkedIn or private message if you don't mind. thank you, best regards, |
|
November 10, 2021, 11:47 |
|
#4 | |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
Quote:
There are pre-compiled versions of OpenFOAM that you can install directly using your package manager without the need to compile it from sources. More information can be found on this page: https://develop.openfoam.com/Develop...is/precompiled |
||
November 10, 2021, 11:54 |
|
#5 | |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Quote:
thank you for your reply, i am using Ubuntu 20.04 LTS version in virtual machine. please can you tell me how and where can i get this, i am desperately trying to fix this and make my own turbulence model |
||
November 10, 2021, 12:02 |
|
#6 |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
The instructions on how to install OpenFOAM for multiple distributions are provided in the link above. If you read carefully you will find the instructions relevant to Ubuntu:
https://develop.openfoam.com/Develop.../debian#ubuntu |
|
November 10, 2021, 12:11 |
|
#7 | |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Quote:
this may sounds like stupid, but in this method, does this included with the paraview ? |
||
November 10, 2021, 12:27 |
|
#8 | |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
Quote:
Code:
sudo apt update sudo apt install paraview Code:
alias paraFoam='touch case.foam; paraview case.foam' Code:
source ~/.bashrc Code:
paraFoam |
||
November 10, 2021, 18:31 |
|
#9 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Hi,
i got stuck from the step 3 just as shown in the attachment. |
|
November 10, 2021, 20:26 |
|
#10 |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
||
November 10, 2021, 20:37 |
|
#11 |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
Just out of curiosity because you've mentioned that you're running a virtual machine, what is the host OS? is it Windows 10?
If the answer is yes, you don't need a virtual machine to run Linux. Use Windows Subsystem for Linux (WSL). To view the GUI apps you need to install an X server such as VcXsrv. With Windows 11, you can use WSLg to run Linux GUI apps out of the box. |
|
November 11, 2021, 06:32 |
|
#12 | |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Quote:
i get this enormous when launch paraview, as shown in the attachment (yes my host is windows 10, i am using virtual machine cause i used to it pretty much. in the windows version, code system and flies are different right ) |
||
November 11, 2021, 07:59 |
|
#13 |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
Hi,
I am afraid that will not work under VirtualBox (or at least it is hard to get it up and running). In fact, to get a "definitive" answer about this, your best option is to ask your question on Paraview support website: https://discourse.paraview.org/c/paraview-support/7 Another solution is to use WSL as suggested above. You can find the detailed instructions on Microsoft website, or just search on Youtube-- I am sure you will get some step-by-step videos. If you are able to enable WSL on your system and install a Linux distribution such as Ubuntu 20.04 you don't have to worry about your files being edited on Windows or Linux. Moreover, you don't need to install a Linux version of Paraview anymore. Simply install a Windows version of Paraview from their website. |
|
November 11, 2021, 10:42 |
|
#14 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Hi,
I thought that is because of my laptop drivers cause,it is 7 years old. hope university computers dont ask for admin rights to install any of above software. |
|
November 11, 2021, 11:02 |
|
#15 |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
To enable WSL, you must have administrator rights to do so.
|
|
November 11, 2021, 14:56 |
|
#16 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
jezzzzz....
I will give it try using my laptop, by any chance are you familiar with implementing turbulence models? in future i have to run simulations using DES,DDES, and IDDES. so i am trying some tutorials at the moment but no luck at the moment. if i am succeeded i can even acknowledge in what ever the papers i produce in future. also i am keep looking articles and sources to get to know how to make SA-DES in to case, i really appreciate if you can give me some hints or guidance regarding that ? |
|
Tags |
implementing, openfoam, paraview |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with creating R file for SSG turbulence model | Khozaei4000 | OpenFOAM Running, Solving & CFD | 3 | April 26, 2022 17:02 |
Only two turbulence options available in CFX Pre | Jack001 | CFX | 5 | March 30, 2016 03:47 |
Implementing v2f turbulence model in 2.1.x - GName not declared error | Thangam | OpenFOAM Running, Solving & CFD | 3 | January 13, 2014 02:49 |
What model of turbulence choose to study an external aerodynamics case | raffale | OpenFOAM | 0 | August 23, 2012 06:45 |
Wrong calculation of nut in the kOmegaSST turbulence model | FelixL | OpenFOAM Bugs | 27 | March 27, 2012 10:02 |