|
[Sponsors] |
November 16, 2018, 08:40 |
Compilation Error--PoweLawVelocity
|
#1 |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
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? |
|
November 16, 2018, 11:32 |
|
#2 |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
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 |
|
November 16, 2018, 11:42 |
|
#3 |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
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 |
|
November 16, 2018, 11:58 |
|
#4 | |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
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 |
||
November 16, 2018, 12:07 |
|
#5 |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
I am not familiar with C++
Could you give me some steps for port backing from other OpenFoam version?? |
|
November 16, 2018, 12:59 |
|
#6 | |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
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... |
||
November 16, 2018, 13:08 |
|
#7 |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
Thanks for your reply
I am new to compilation procedure. Is there any sample guidelines available for compiling a library in openfoam |
|
November 17, 2018, 09:21 |
|
#8 | |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
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! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] foam-extend-3.2 compilation on windows | kirmaks | OpenFOAM Installation | 7 | December 3, 2019 20:20 |
Compilation error for OpenFOAM-ext on Ubantu 10.04 32 bit | Sargam05 | OpenFOAM Installation | 13 | March 22, 2014 05:21 |
[swak4Foam] swak4Foam compilation for OF-2.0.0 | camoesas | OpenFOAM Community Contributions | 19 | December 10, 2012 13:24 |
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) | floydfan | OpenFOAM Installation | 7 | December 20, 2011 05:56 |
Compilation Error.... | Arnab | Siemens | 4 | September 12, 2004 15:54 |