|
[Sponsors] |
April 14, 2015, 15:24 |
OpenFoam and Qt
|
#1 |
New Member
Sergey
Join Date: Apr 2015
Posts: 3
Rep Power: 11 |
Hello, everyone!
In short, I became interested in the OpenFOAM because of my studies. Spend two days reading different manuals, I decided to compile the code, see all dependencies and build the OpenFOAM-project with some IDE. BUT... OpenFOAM using wmake....and I really do not know about it very much (okay, I understand cmakefiles, but it still something new for me). I find something, that I want (https://openfoamwiki.net/index.php/H...d_installation), but it used only one tiny part of OpneFOAM.... I think, here people should be the person, who did this before me. Update: Or, if you would like more specifically: have we any ways to upgrade the existing turbulence model or add your own? Last edited by Leto; April 15, 2015 at 03:36. Reason: specifics |
|
April 15, 2015, 03:43 |
|
#2 |
Member
ali alkebsi
Join Date: Jan 2012
Location: Strasbourg, France
Posts: 82
Rep Power: 14 |
hello
If what you are looking for is to creat a new turbulence model or edit a current one, then it is an easy task all you need is creat a new class under the base class of turbulence you can see the following link for an idea of how to create a class and how to implement, call other variables, and define new dimensional or scalar parameters http://www.tfd.chalmers.se/~hani/kur...nFoam%20v2.pdf |
|
April 15, 2015, 05:29 |
|
#3 | |
New Member
Sergey
Join Date: Apr 2015
Posts: 3
Rep Power: 11 |
Quote:
|
||
April 15, 2015, 09:22 |
|
#4 |
Member
ali alkebsi
Join Date: Jan 2012
Location: Strasbourg, France
Posts: 82
Rep Power: 14 |
From OpenFoam point of view (my point of view lol)
The dependencies are made based on the libraries you write in the Make/options file whenever you include a header it is searched in these directories written in options file Though from programmer point of view i dont know how this is actually done so if all you want is to implement a new turbulence model it is my point of view that you need |
|
April 15, 2015, 15:05 |
|
#5 | |
New Member
Sergey
Join Date: Apr 2015
Posts: 3
Rep Power: 11 |
Quote:
Should we edit make/files or make/options to add our new dependencies? And, finally, is any way to open OpenFOAM like project in Qt? |
||
April 15, 2015, 15:10 |
|
#6 |
Member
ali alkebsi
Join Date: Jan 2012
Location: Strasbourg, France
Posts: 82
Rep Power: 14 |
yeah
you name your model like myPowerLaw Just like the guy in the link i gave you above did about Qt i dont know Im just a new foamer started 2 months ago |
|
April 21, 2015, 10:05 |
|
#7 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18 |
Yes you can use qt with OF
https://openfoamwiki.net/index.php/H...with_QtCreator |
|
Tags |
building, openfoam 2.1.x, programming, project, qt4 |
Thread Tools | Search this Thread |
Display Modes | |
|
|