Open You-99 opened 3 years ago
Hi @You-99,
If you work with OF v1912 you need to get the dissolFoam that corresponds to it: dissolFoam-v1912
First, I would recommend that you use Linux system.
Unzip the obtained archive dissolFoam-v1912.zip by
unzip dissolFoam-v1912.zip
It will create the dissolFoam-v1912 directory. Then, you just need to source your OpenFOAM's bashrc and start the compilation scripts:
cd dissolFoam-v1912/applications
./Allwmake
At this point the solver and all necessary libraries should be installed. Then you can use dissoFoam. Examples are located in the cases directory. There are README files in the cases directory.
Good luck!
Thanks a lot @vitst for your answer. I still have a problem : when I type the command ./Allwmake, I get a lot of errors of the type :
wmake surfRoughGen
/home/eyounes/OpenFOAM/OpenFOAM-v1912/wmake/wmake: line 497: make: command not found
/home/eyounes/OpenFOAM/OpenFOAM-v1912/wmake/wmake: line 500: make: command not found
wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /home/eyounes/dissolFoam-v1912/applications/utils/surfRoughGen
~/dissolFoam-v1912/applications
I am not sure what I did to source openfoam's bashrc, could you tell me more about how to source openfoam's bashrc please ? Thank you
Kind regards
@You-99,
The error says you don't have make
installed in your system or OpenFOAM somehow doesn't know where it is. It seems that you tried to compile the OF in your home directory. I would recommend to use the binary install for a beginner. In any case, at this point I would recommend to start everything from scratch and follow the instructions from the OpenFOAM developer:
https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/debian
https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled#environment
Then go through the tutorial: https://www.openfoam.com/documentation/tutorial-guide
The tutorial is very good. It will help you to understand the structure of OpenFOAM, it's cases and to test the installation in your system.
It also will not take more than a day if you are familiar with Linux environment. If you just started working with Linux, it will take longer, but the skills you will get in the process will be very useful (and necessary). After tutorials running fine you can try to compile dissolFoam.
Thank you @vitst for your help. Have a nice day !
@You-99 You are welcome. I just noticed the links to the sources didn't show up in my previous reply. I edited it. It should help. Best regards.
Hello, I hope you are doing well. I am a beginner in openfoam. I have installed openfoam v1912 on my laptop and I want to install dissolfoam but I don't know what to do; I have downloaded the dissolfoam.zip file but I don't know what to do next is it possible to help me please, could you guide me by giving me the steps to follow thank you .
kind regards
Younes