Good morning Cyprien, does this method to compile OpenFoam work with Ubuntu 20.04 LTS installed on Windows 10 Pro? Actually , I cannot open bashrc with emacs (other editors)
Hi Cyprien, I followed by your video and tried to compile OpenFOAM. But I'm not sure why tutorials in my openfoam-dev directory look strange. it contains several files such as 'incompressible denseparticlefluid, incompressibleDriftFlux, incomressibleFluid etc.' Also in the thirdparty-dev, Paraview was not installed. I could not figure out what the problem was. I need to mention that my original openfoam is not installed in HOME. Actually, I have 'opt-openfoam10' in my computer. My operating system is Ubuntu 11.4.0. I am not sure how I can move openfoam to my home folder. Also, I have no idea how I can remove the compilation. Any help would be very much appreciated.
hai, i am started to learn the openFOAM, I am following your videos and getting error while giving blockMesh command (Symbol Lockup error : libdecompositionmethods.so : undefined symbol :ZNK4Foam11regI0ObjectENS_.......like this). please solve my problem
Hi Cyprien again....I am sorry to bother you but I cannot make it to run. I still have similar problems with Qt5 CMake Error at VTK/CMake/vtkModule.cmake:4371 (message): Could not find the Qt5 external dependency. Call Stack (most recent call first): Qt/Widgets/CMakeLists.txt:117 (vtk_module_find_package) I installed manually the following but still not working: sudo apt-get install ./qt5-default_5.12.8+dfsg-0ubuntu1_arm64.deb Do you have any idea what else I could do? Thank you Regards Javier
Salut Cyprien, d'abord merci pour tes vidéos qui sont d'une grande aide. Petite question: j'ai l'habitude d'utiliser OpenFOAM-8, mais comme j'essaye de créer de nouveaux solvers/librairies c'est rapidement devenu pénible de copier les dossiers de /src/ et de tout modifier pour compiler mes développements... J'imagine que ce serait plus pratique de travailler avec OpenFOAM-dev?
Je me posais sensiblement la même question. J'ai installé et compilé OF correctement. Par la suite, j'ai créé un nouveau répertoire OF incluant seulement le solveur ainsi que le modèle de turbulence que je voulais modifier et compilé le tout. Tout semble fonctionné, sauf que pour m'assurer que je garde tous les dépendances, j'aimerais faire une copie complète de la version original(non modifié) de OF et ensuite faire les modifications. Est-ce que c'est possible d'en faire la copie directement sous un nouveau répertoire et compiler ou il serait mieux de faire l'installation comme dans ce vidéo sous un nouveau nom de répertoire? Merci de votre aide.
./Allwmake -update gives an issue of Cannot 'update', not in the project top-level directory. Allwmake error: Current directory is not $WM_PROJECT_DIR. The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. What does this mean?
cyprien, if in the future are you planning to do a video salome +OF (like a lot of us uses), could you add to that video how to create baffles patches with salome? best regards.
Yep, I am planning to ;-) Thanks for the recommendation. What are you trying to simulate? A heat exchanger? Or just a wind tunnel with some thin walls in it?
Mmm personally I do not work with moving meshs but I use sale in daily use for OF. So I said myself to learn about it and as you are always interested in ideas... 😊 For my to cover all the cases woul be: creating a region mesh for snappy (2d). Creating a 2d mesh with equal node positioning patches (practical for cyclic). Creating 3d mesh for the moment is quiet slow in Salome hope to change in next version! Creating internal faces for use in OF after. And lastly creating moving meshs where it folos the geometry like a windmill. This is what I think all the possible applications... Have a look at the tet to poly converter that a person created and post it in the forum. It is interesting for cfd Sim (the tet to poly converter de OF is not multytheading.) my best results at least for me for meshing for OF was with netgen algorithm. 🙂 Good luck! And if I can help with anything don't hesitate! Best regards oh and hex 3d meshes I am curious if you could comment about it. The workflow I normally take is 2d meshing with regions and then the 3d mesh. With snappy
I have installed OpenFOAM via native ubuntu package. So, whats the difference between that way and this video's way of installing ?? Are there more features in source compiled openfoam??
You’ll get the latest code, so if developers have implemented new features or corrected some bugs, it will be in it. The second advantage is that you can modify yourself the source code if you want. 3rd is if you want to get openfoam compiled for parallel computing with MPI. If you just want to use the software as a normal user, then you do not need to compile it, you can install it from the binaries directly
@@Feaforall wohh wohh, i am studying openfoam to modify a relevant solver for my specific case. Do I need to install as shown in this video in order to create my own solver in the future ??
@@Feaforall hi cyprien, you can use parallel computing mpi with the ubuntu package, mpirun -np X application -parallel works perfectly (there are some OF application that does not run in parallel nativelly)
hi Cyprien ...nice tutorial and well explained...I reach to the point of installing "./makeParaView" but this failed. I got an error: CMake Warning at VTK/CMake/vtkModule.cmake:4365 (find_package): Found package configuration file: /usr/lib/aarch64-linux-gnu/cmake/Qt5/Qt5Config.cmake but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT FOUND. Reason given by package: Failed to find Qt5 component "Svg" config file at "/usr/lib/aarch64-linux-gnu/cmake/Qt5Svg/Qt5SvgConfig.cmake" Call Stack (most recent call first): Qt/ApplicationComponents/CMakeLists.txt:311 (vtk_module_find_package) CMake Error at VTK/CMake/vtkModule.cmake:4371 (message): Could not find the Qt5 external dependency. Call Stack (most recent call first): Qt/ApplicationComponents/CMakeLists.txt:311 (vtk_module_find_package) I hope you can help. Thank you in advance.
@@Feaforall Hi Cyprien, thank you very much. I google it a lot and at the end turns out ok. Your tutorials are great and very detailed, please keep doing them, especially OpenFOAM. I am new to Openfoam and I just started my PhD in Hydrogen explosion modeling. Feel free to recommend me any tutorial or guidance for OpenFOAM simulations fo explosion modelling. Regards. Javier
Hi, i am getting an error massage when i try to install Paraview, just when i enter (./makeparavoiew) i am getting this error massage ( using qmake=false. Error: cannot find qmake either at $QMAKE_PATH or in current $PATH) Any idea why or what to do?
At installing Paraview, it says no such file or directory. Please help?
Good morning Cyprien, does this method to compile OpenFoam work with Ubuntu 20.04 LTS installed on Windows 10 Pro? Actually , I cannot open bashrc with emacs (other editors)
Hi Cyprien,
I followed by your video and tried to compile OpenFOAM. But I'm not sure why tutorials in my openfoam-dev directory look strange. it contains several files such as 'incompressible denseparticlefluid, incompressibleDriftFlux, incomressibleFluid etc.' Also in the thirdparty-dev, Paraview was not installed. I could not figure out what the problem was.
I need to mention that my original openfoam is not installed in HOME. Actually, I have 'opt-openfoam10' in my computer. My operating system is Ubuntu 11.4.0.
I am not sure how I can move openfoam to my home folder.
Also, I have no idea how I can remove the compilation.
Any help would be very much appreciated.
hai,
i am started to learn the openFOAM, I am following your videos and getting error while giving blockMesh command (Symbol Lockup error : libdecompositionmethods.so : undefined symbol :ZNK4Foam11regI0ObjectENS_.......like this). please solve my problem
Hi Cyprien again....I am sorry to bother you but I cannot make it to run. I still have similar problems with Qt5
CMake Error at VTK/CMake/vtkModule.cmake:4371 (message):
Could not find the Qt5 external dependency.
Call Stack (most recent call first):
Qt/Widgets/CMakeLists.txt:117 (vtk_module_find_package)
I installed manually the following but still not working: sudo apt-get install ./qt5-default_5.12.8+dfsg-0ubuntu1_arm64.deb
Do you have any idea what else I could do?
Thank you
Regards
Javier
Hey! I have the same problem. did you solve it?
Salut Cyprien, d'abord merci pour tes vidéos qui sont d'une grande aide.
Petite question: j'ai l'habitude d'utiliser OpenFOAM-8, mais comme j'essaye de créer de nouveaux solvers/librairies c'est rapidement devenu pénible de copier les dossiers de /src/ et de tout modifier pour compiler mes développements... J'imagine que ce serait plus pratique de travailler avec OpenFOAM-dev?
Tout à fait!
Je me posais sensiblement la même question. J'ai installé et compilé OF correctement. Par la suite, j'ai créé un nouveau répertoire OF incluant seulement le solveur ainsi que le modèle de turbulence que je voulais modifier et compilé le tout. Tout semble fonctionné, sauf que pour m'assurer que je garde tous les dépendances, j'aimerais faire une copie complète de la version original(non modifié) de OF et ensuite faire les modifications. Est-ce que c'est possible d'en faire la copie directement sous un nouveau répertoire et compiler ou il serait mieux de faire l'installation comme dans ce vidéo sous un nouveau nom de répertoire? Merci de votre aide.
./Allwmake -update gives an issue of Cannot 'update', not in the project top-level directory. Allwmake error: Current directory is not $WM_PROJECT_DIR. The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. What does this mean?
Your terminal is not located in the right folder.
cyprien, if in the future are you planning to do a video salome +OF (like a lot of us uses), could you add to that video how to create baffles patches with salome? best regards.
Yep, I am planning to ;-) Thanks for the recommendation. What are you trying to simulate? A heat exchanger? Or just a wind tunnel with some thin walls in it?
Mmm personally I do not work with moving meshs but I use sale in daily use for OF. So I said myself to learn about it and as you are always interested in ideas... 😊 For my to cover all the cases woul be: creating a region mesh for snappy (2d). Creating a 2d mesh with equal node positioning patches (practical for cyclic). Creating 3d mesh for the moment is quiet slow in Salome hope to change in next version! Creating internal faces for use in OF after. And lastly creating moving meshs where it folos the geometry like a windmill. This is what I think all the possible applications... Have a look at the tet to poly converter that a person created and post it in the forum. It is interesting for cfd Sim (the tet to poly converter de OF is not multytheading.) my best results at least for me for meshing for OF was with netgen algorithm. 🙂 Good luck! And if I can help with anything don't hesitate! Best regards oh and hex 3d meshes I am curious if you could comment about it. The workflow I normally take is 2d meshing with regions and then the 3d mesh. With snappy
At installing Paraview, it says no such file or directory. Please help?
I have installed OpenFOAM via native ubuntu package. So, whats the difference between that way and this video's way of installing ?? Are there more features in source compiled openfoam??
You’ll get the latest code, so if developers have implemented new features or corrected some bugs, it will be in it. The second advantage is that you can modify yourself the source code if you want. 3rd is if you want to get openfoam compiled for parallel computing with MPI.
If you just want to use the software as a normal user, then you do not need to compile it, you can install it from the binaries directly
@@Feaforall wohh wohh, i am studying openfoam to modify a relevant solver for my specific case.
Do I need to install as shown in this video in order to create my own solver in the future ??
@@Feaforall hi cyprien, you can use parallel computing mpi with the ubuntu package, mpirun -np X application -parallel works perfectly (there are some OF application that does not run in parallel nativelly)
At installing Paraview, it says no such file or directory. Please help?
@@Irish6538 up up
Thank you very much!
./makeParaView: 518: cmake: not found ?
You have to install cmake
hi Cyprien ...nice tutorial and well explained...I reach to the point of installing "./makeParaView" but this failed. I got an error:
CMake Warning at VTK/CMake/vtkModule.cmake:4365 (find_package):
Found package configuration file:
/usr/lib/aarch64-linux-gnu/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component "Svg" config file at
"/usr/lib/aarch64-linux-gnu/cmake/Qt5Svg/Qt5SvgConfig.cmake"
Call Stack (most recent call first):
Qt/ApplicationComponents/CMakeLists.txt:311 (vtk_module_find_package)
CMake Error at VTK/CMake/vtkModule.cmake:4371 (message):
Could not find the Qt5 external dependency.
Call Stack (most recent call first):
Qt/ApplicationComponents/CMakeLists.txt:311 (vtk_module_find_package)
I hope you can help. Thank you in advance.
Have you installed Qt5 ? Maybe you don’t have the correct version
@@Feaforall Hi Cyprien, thank you very much. I google it a lot and at the end turns out ok. Your tutorials are great and very detailed, please keep doing them, especially OpenFOAM. I am new to Openfoam and I just started my PhD in Hydrogen explosion modeling. Feel free to recommend me any tutorial or guidance for OpenFOAM simulations fo explosion modelling. Regards. Javier
Hi, i am getting an error massage when i try to install Paraview, just when i enter (./makeparavoiew) i am getting this error massage ( using qmake=false. Error: cannot find qmake either at $QMAKE_PATH or in current $PATH)
Any idea why or what to do?
Seems like you have not installed qt5 correctly