Compilation Error--PoweLawVelocity
Hi,
I am trying to compile power-law velocity using wmake. It is showing this error PHP Code:
I am making this file in Openfoam/usr/run directory. Could anyone help me to find the problem? |
Hi,
you didn't say which version of OpenFOAM or foam-extend you are using? But, without knowing the version check the following path: Code:
OpenFOAM-???/src/OpenFOAM/primitives/functions Regards, D. Khazaei |
Thanks for your response Mr.Daniel
I am using openFoam 2.3.1 the path for functions /home/ssvivek/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/primitives/functions |
Quote:
1- port back function1 from recent openfoam versions: if you are familiar with c++ and openfoam structure, it is not that hard. 2- upgrade to the newer openfoam versions |
I am not familiar with C++
Could you give me some steps for port backing from other OpenFoam version?? |
Quote:
you may need to create Make folder and copy files and option file from src/OpenFOAM/Make into your local directory! then modify file and remove unnecessary lines. Also don't forget to change the library path to USER_LIBBIN and name! I assume you know how to compile library in your local directory! then try to fix each error you get during compile one by one... |
Thanks for your reply
I am new to compilation procedure. Is there any sample guidelines available for compiling a library in openfoam |
Quote:
Yes, there are plenty guidelines available, but in this situation, I would recommend installing a new OpenFOAM version if you have just started to learn OpenFOAM! |
All times are GMT -4. The time now is 12:38. |