Dakota / OpenFOAM
Anyone here have any experience with Dakota in conjuction with openfoam?
It looks like it can do most of the things modeFrontier can do...and alot cheaper. http://www.cs.sandia.gov/DAKOTA/ N |
Hello Niklas,
I am also intertested in using DAKOTA with OpenFoam, where you able to find any information on coupling the two? My first thought is to use something like pyFoam to modify parameters and DAKTOA to drive pyFoam, but I have no experience with this. Caleb |
Dakota works great with any kind of software that you can run via script.
Im using this every day in my work. It is really nice. At first it can seem abit confusing, but if you download Jaguar (the GUI to dakota) and run some examples it will become clear. |
Hi!
I'm starting the studies about openfoam and dakota and a first question is: What's the best linux OS to run openfoam with dakota? Ubuntu, CentOS, Fedora, Suse? thanks Quote:
|
Quote:
|
Hi Niklas,
Do you have any material or tutorial explaining how to make the coupling Openfoam - Dakota? Thanks |
nope, I started to write one but I never finished it cause I think
the available dakota tutorials are good enough. and if you use the Jaguar GUI that they also supply its quite easy to get started. N |
Dakota 5.3.1 installation with CentOS 6.4 and OF2.2.x
Few days ago I have installed Dakota 5.3.1 on CentOS6.4. I have found the installation process a bit difficult since there was a conflict with an OpenFOAM library called "libsampling.so" which has the same name of a DAKOTA library. The problem disappeared by using static libraries.
Here the instructions list I did on my pc, hope can be helpful to somebody else: install all the required library as explained here Code:
sudo su - 2) in the CMakeLists.txt do the following modifications 2A]-> instead of Code:
option(BUILD_SHARED_LIBS "Build shared libraries?" ON) #145 line Code:
# option(BUILD_SHARED_LIBS "Build shared libraries?" ON) Code:
option(ENABLE_DAKOTA_DOCS "Enable DAKOTA documentation build." ON) Code:
set(BLAS_LIBS "/usr/lib64/libblas.so.3.2.1") Code:
# TODO: Can't this be integrated into the following logic? Code:
cd /home/yourPATH #where you want to install Dakota Code:
gedit cmake_install.cmake Code:
set(CMAKE_INSTALL_PREFIX "/home/yourPATH") Code:
make install Code:
export PATH=$PATH:/home/yourPATH/bin:/home/yourPATH/test Code:
source ~/.bashrc 7) in the same terminal check that your Dakota installation is working by typing Code:
dakota -v Code:
DAKOTA version 5.3.1 released 05/15/2013. |
Greetings donQi and many thanks for these instructions!
Is there any chance I can convince you to also post these instructions on the openfoamwiki? Namely in this section: http://openfoamwiki.net/index.php/In..._on_CentOS_6.4 For now, I've left the link there to your post, but having the complete instructions on the wiki would make it easier for others to edit the page, in case there is some additional detail that can come in handy! If you do not have the time to copy-paste-adjust your instructions to the wiki page, all we need is permission to do it for you. I'm emphasising this because the wiki complies with this license: Quote:
Bruno |
Greetings Bruno,
yes, of course you have my permission. This weekend I won't have time so thank you if you can do it for me. But I will probably have some time next week, so I'll check openFoamWiki, if it's still not done I'll do it. Al |
Hi Al,
I won't be able to look into this before the 25th of December :( So please, do go ahead and write on the wiki when you have the time+opportunity! Best regards, Bruno |
Hi all,
I'm using another software to realize uncertainty quantification in CFD. But, I've some problems with this soft. In fact, to do UQ, I create my design of experiments (DoE) then I simulate my cases with openFoam and I use a second time the soft to reconstruct solutions. But sometimes, some simulations in the DoE don't perform and when I try to do the reconstruction, it's impossible because the soft need all the points in the DoE. So I would like to know if somebody have try to do uncertainty quantification with DAKOTA and if it's possible to reconstruct solutions without some points in the DoE in DAKOTA or in an other software ? Thanks for your answers Regards |
Hi all,
I've tried to install dakota but I've a problem when I compile from sources. This is the error message : Code:
[ 98%] Building C object packages/motif/CMakeFiles/DGraphics.dir/src/Widgets/Common.c.o Thanks for your answers Regards |
Greetings Brugiere,
A few questions:
Bruno |
Greetings Santos,
I've try to compile dakota 5.3.1 on my laptop and I've not problem on a centos 6.5. So I think, I've a conflict on my computer with gcc 4.8.2 I have not had enough time to redo the compilation on my computer. I'll try this week and I'll post the conclusion. Thanks for your answer |
Any resolution to src/CMakeFiles/dakota.dir/rule error?
I am getting same error as posted above.
make[1]: *** [src/CMakeFiles/dakota.dir/rule] Error 2 make: *** [dakota] Error 2 Any suggestions for resolution of this error? |
Greetings to all!
I've finally managed to look into this and here's what I've found:
Hopefully following the updated instructions will reduce the change of unsuccessful builds. Best regards, Bruno |
Hi all,
I tried in any way and wasn't able to install Dakota on Ubuntu (I tried with Ubuntu 12.04 and 13.10). Compiling from source, I have problems with cmake, probably I can't set properly the library paths in the file BuildDakotaCustom.cmake Can anyone provide step-by-step instructions as you did for CentOS? Thanks in advance! |
Compiling in Ubuntu
Dear crixmax,
I did not realize that here is a thread about DAKOTA and FOAM. Nontheless using or compiling the software on ubuntu, just follow the instruction in the README/INSTALL file. What you also need are prerequirements (LAPACK, BLAS)... You get it with (Ubuntu 14.04 LTS): Code:
sudo apt-get install liblapack-dev libblas-dev Code:
tar xzf boost_1_49_0.tar.gz Add pathes to the boost compiling folder (if you compiled it yourself) and maybe change the prefix for your install file. Next steps are clearly described in the mentioned files. Maybe you have/had problems due to Prerequisites! Non the less I have a question to you guys:
@Niklas:
Thanks in advance, |
Quote:
|
Dear Tobi,
thank you for the reply. I actually solver the problem some time ago, when I realized that I didn't have to change the template Cmake file, but I could simply make the template adding two lines to change libraries from dynamic to static. I could post the detailed procedure for Ubuntu (if someone is interested) in the Sig Numerical Optimization. Feel free to provide test cases and/or suggestions for the group! |
Quote:
Also try this : http://www.dicat.unige.it/guerrero/dakotaof.html there you find a presentation by Joel Guerrero and several tutorials: - Parameter space exploration of the driven cavity tutorial using Dakota - Bounded-unscontrained gradient optimization of the driven cavity tutorial - GA optimization using the SOGA method of the driven cavity tutorial - Parametric multi-dimensional study, bounded-constrained gradient optimization and surrogate based optimization of a NACA Series 4 airfoil - Parametric multi-dimensional study, bounded-constrained gradient optimization of ahmed body - Parametric multi-dimensional study, bounded-constrained gradient optimization of a blunt body |
Thanks for your replays,
I realized the website three weeks ago (but anyways thank you) (: |
Hi guys,
just one (i think stupid question) but I never find the download link for the JAGUAR Interface (GUI) for Dakota. Also searching the internet only give me outdated links ?! |
I googled it and couldn't find any link, the dakota website is now updated, I suppose that since the release of v6.x and related changes, the GUI has to be updated, so they are either working on a new version or just removed it!
|
Greetings to all!
After some careful reverse searching, based on web.archive.org snapshots, I was able to find the following lists, by searching in the dakota.sandia.gov search engine by the specific file name "JAGUAR_2_1.linux.gtk.x86_64.zip":
Which is very weird, because the manual I can find online for Jaguar 3.0 states that it's the only version that supports Dakota 5.3, and that Jaguar 2.1 was for Dakota 5.2... As far as I'm able to investigate, it seems that:
Bruno |
This for the the instructions :)
|
Hey There!
i am trying to run an optimization using soga. the simulator script should run a compressible flow steady simulation sunig rhoSimpleFoam (OpenFoam Solver). Problem is that the job break up each time this solver is called (calling other solvers eg icofoam or what else there is not a problem). I get the following error : rhoSimpleFoam: symbol lookup error: /usrfem/femsys_local/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfvOptions.so: undefined symbol: _ZN4Foam10meshToMesh25interpolationMethodNames_E PS :/usrfem/femsys_local/OpenFOAM/OpenFOAM-2.3.0/ is the installation directory of Openfoam. May be someone can help? Thanks in advamce Regards. Houssam. |
Greetings Houssam,
In a standard shell, i.e. not from within Dakota, run this command: Code:
ldd $(which rhoSimpleFoam) Code:
$ ldd $(which rhoSimpleFoam) In addition, if no errors are shown, then run this same command from within Dakota's system (i.e. how you've run into this problem), and let us know what it gives you. Best regards, Bruno |
Hi
I know this question is for Dakota. And while Dakota is good and fun I have from personal experience had better usage out of using http://www.pyopt.org/ Simply because it is easier to get up and running properly. https://lh6.googleusercontent.com/2E...RnM=w1202-h717 |
Hi wyldckat,
thanks for your reply and your help. I get no error report when running your command : Code:
linux-vdso.so.1 => (0x00007fff8768a000) Thanks anyway. Best regards. Houssam. |
All times are GMT -4. The time now is 08:36. |