|
[Sponsors] |
July 30, 2014, 06:18 |
How can i compile ihFOAM?
|
#1 |
New Member
|
Hello,
I downloaded ihFOAM. But i don't know how to compile new solver in existing OPENFOAM I went through the steps given in Manual but it is not working when i do "git checkout" it gives me error "fatal: Not a git repository (or any of the parent directories): .git" i have already installed git in ubuntu 12.04 Can anyone please tell me how can i compile? Thanks in advance |
|
July 30, 2014, 06:50 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Premal,
If you write the following line in the terminal: Code:
git clone git://github.com/phicau/IHFOAM.git Code:
git clone https://github.com/phicau/IHFOAM.git In any case you get a folder called IHFOAM, from which you can follow the instructions of the 2.3 section on the wiki: http://openfoamwiki.net/index.php/Contrib/IHFOAM Best, Pablo |
|
July 30, 2014, 08:30 |
|
#3 |
New Member
|
Thank you so much it is very useful.
can you please tell me is there any tutorial like another solvers? i created 0 , Constant and system directories but i am not able to understand which files are useful and where IHwavesDict put. if u had completed any tutorial so can you please send me link so i can understand how can i run the case? Thanks in advance |
|
July 30, 2014, 08:34 |
|
#4 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Premal,
as far as I can see you have already registered in our web site: http://ihfoam.ihcantabria.com/source-download/ You should have got an e-mail with the download link to the reference materials, including some tutorials. Please check your e-mail spam folder. If you didn't get anything send me a PM. Best, Pablo |
|
July 30, 2014, 08:41 |
|
#5 |
New Member
|
Dear Pablo,
I got link and i downloaded source. But my confusion is IHWAVEDict where i put or in which directory? and i just want to run simple case so can i do any change in constant and system Directories? Thanks Pablo |
|
July 30, 2014, 08:50 |
|
#6 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Premal,
the source code and the reference materials are independent. If you got the e-mail you should have downloaded a file called IHFOAM_materials.zip, which includes a reference folder and a tutorials folder, as stated in the wiki page. If you have any trouble downloading IHFOAM_materials.zip let me know by PM. Pablo |
|
July 30, 2014, 09:37 |
|
#7 |
New Member
|
Dear Pablo
Thanks a lot and i got all tutorials. Now i am running the case But when i run the case from the script runCase i got error --> FOAM FATAL IO ERROR: cannot find file file: /home/tsunami/OpenFOAM/tsunami-2.2.2/run/tutorials/multiphase/ihFOAM/tutorials/FE30_31/baseWaveFlume/0/p_rgh at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting what means of this error? and another error comes in fvsolution file it says PIMPLE keyword is missing. can you please tell me how can i resolve these errors? Thanks a lot for your help Regards, Premal Sheth |
|
July 30, 2014, 11:15 |
|
#8 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
From your working route I can see that you are using OpenFOAM 2.2.2, please run the tutorials of version 2.2.2 only: OF222
|
|
July 30, 2014, 11:31 |
|
#9 |
New Member
|
Yes i am using OpenFOAM2.2.2
Thanks a lot for help |
|
November 6, 2014, 05:36 |
error run tutorial baseWaveFlume
|
#10 |
New Member
Tomas Fernandez
Join Date: Oct 2014
Posts: 1
Rep Power: 0 |
Hi,
I download and compile IHFOAM without any apparent error. I am using OF2.3.0 version, when I try to run baseWaveFlume tutorial from OF222 I get the error --> FOAM FATAL IO ERROR: Unknown patchField type buoyantPressure for patch type patch could you help me to solve, there is a cross version problem? Thanks in advance |
|
November 6, 2014, 05:44 |
|
#11 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Tomás,
Note that we do not officially support version 2.3 due to the problems with pressure calculations, as noted in the IHFOAM wiki. That is also why we do not provide a porous solver, only interFoam with the BCs linked. There are a number of changes between versions 2.2 and 2.3. One of them is the pressure BC at the walls, which used to be called buoyantPressure and in the latest version is fixedFluxPressure. If you wish to use 2.3 I suggest you to adapt the 2.2 cases, comparing the changes between the both versions of the damBreak tutorial provided by OpenFOAM (openfoam222/tutorials/multiphase/interFoam/laminar/damBreak), easily found online. It shouldn't be too difficult. Best, Pablo |
|
January 6, 2016, 09:28 |
erroe in compiling ihFoam
|
#12 | |
New Member
kasra karimi
Join Date: Jan 2016
Location: Tehran
Posts: 10
Rep Power: 10 |
Quote:
Dear Pablo Im very new to the openFOAM and i start it with 2.4.0 windows version. for compiling ihFoam and ihDyMFoam i followed the above steps, but when i type ./allMake command in genAbs folder and also solvers folder, openfoam shows me some failures error as below. can you help me with this problem? thanks a lot |
||
January 6, 2016, 09:44 |
|
#13 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Dear Kasra,
I am not familiar with OpenFOAM for Windows, I have never tried it myself, but for the error messages it appears to me like you have problems with the write permissions. Sorry for not being more specific or helpful. Best, Pablo |
|
January 6, 2016, 09:52 |
|
#14 |
New Member
kasra karimi
Join Date: Jan 2016
Location: Tehran
Posts: 10
Rep Power: 10 |
No problem my friend, i would try it on Ubuntu later....thank you for your quick reply
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
[IHFOAM] Error with IHFOAM version OF2300 in Mac | androso | OpenFOAM Community Contributions | 3 | February 7, 2017 14:06 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 17:22 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 13:24 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |