|
[Sponsors] |
July 23, 2014, 11:36 |
OpenFOAM 2.3.0 to 2.2.0
|
#1 |
Member
Join Date: Jun 2014
Location: Turkey
Posts: 58
Rep Power: 12 |
Hi you all...
I am pretty new about openfoam.. I install OF 2.3.0 but I have some solvers written in 2.2.0. I try to use these solvers but program gave me some errors on compiling. I know I can remove OF and install the older one and it will probably work, but I wonder that if you know any other idea about this... any converter or something? thanks! |
|
July 23, 2014, 13:01 |
|
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
@Koful
First of all, welcome to the forum...there are many people here that can help. Before I ask questions and before people can actually help, maybe a little story will help. Please take this with all the best intentions (good posts always start with this phrase). There is a radio program in the US called "car talk" that have these two really animated hosts with the nicknames "Click" and "Clack" that answer questions about problems people are having with their cars. Its a fantastic show to listen to as you drive places in the states....and I often laugh at the stories people tell. They are perfect hosts because they have fun; the caller always leaves with more knowledge than they started with; and those listening learn a little as well. Now, my favorite stories are those that start like this:
They go on to solve the problem and give some advice, but the fun part is listening to them ask questions and extract the most exact answer about a ball bearing not working correctly in the right rear suspension that causes a terrible vibration and a distinctive noise. I highly recommend this program to anyone. Now, on to your problem...can you describe the "sounds" (i'm being figurative) i.e. can you provide what these error messages actually contain? Once that happens....i promise you will get better help. You may want to check out http://www.cfd-online.com/Forums/ope...-get-help.html good luck....and welcome to the forum. Last edited by chegdan; July 23, 2014 at 14:05. |
|
July 23, 2014, 16:16 |
|
#3 |
Member
Join Date: Jun 2014
Location: Turkey
Posts: 58
Rep Power: 12 |
wow that was a good welcome so, lets start...
I am working on a interFoam case. Accually it is interDyMFoam. I want to examine boiling in a pipe. My advisor gave me some files and samples. Now I have three manipulated interDyMFoam solver. I tried to merge them to OF and I use this tutorial: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam the thing is that this solver were written on 2.2.0 my OF is 2.3.0 an it keeps give this message when I use wmake command: "make: *** No rule to make target `/opt/openfoam230/src/transportModels/incompressible/lnInclude/twoPhaseMixture.H', needed by `mystinterFoam.dep'. Stop." I thought that the error is becouse of .H files. some of they are in different locations and some of them has different names. I tried to change some names but that didn't help, in fact it made just opposite As I wrote, I know it will be work on OF 2.2.0, but I have other cases and I dont want to lose them. I thought may be somewhere in the universe, someone know how to convert or something. Thanks for replies |
|
July 24, 2014, 04:02 |
make: *** No rule to make target
|
#4 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi
http://stackoverflow.com/questions/8...to-make-target That's usually because you don't have a file called /opt/openfoam230/src/transportModels/incompressible/lnInclude/twoPhaseMixture.H available to wmake. Check that:
Fabian |
|
July 24, 2014, 12:04 |
|
#5 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
@ Koful,
Thanks for more information. Fabian is correct, you are getting this error because wmake is looking for something used by the solver in OF 2.2 in 2.3. I think you have a few options.
If you choose to move forward and go on to 2.3, i suggest you do a few things that will make you initially pull your hair out....but you will thank me at 3 AM when things work.
Again good luck. Last edited by chegdan; July 25, 2014 at 10:10. Reason: grammar |
|
July 25, 2014, 11:01 |
|
#6 |
Senior Member
Armin
Join Date: Feb 2011
Location: Helsinki, Finland
Posts: 156
Rep Power: 19 |
The whole multiphase part of OpenFOAM was rewritten (and consolidated) in 2.3. Porting a multiphase solver from 2.2 to 2.3 might hence be a bigger project.
(I'm myself not doing any multiphase simulation, but I have lately talked with people that were involved in the work for the 2.3 multiphase solver rewrite.) Thus, if your custom 2.2 solver has only minor modifications, it might be quite easy to identify these changes and re-implement them in a solver based on a 2.3 multiphase solver. For larger modifications, you might want to consider to stick with 2.2. ... or you could also learn how to code C++/OpenFOAM, something you will anyways have to do if this is going to be a longer project (like a PhD). Cheers, Armin |
|
July 25, 2014, 11:17 |
|
#7 |
Senior Member
Armin
Join Date: Feb 2011
Location: Helsinki, Finland
Posts: 156
Rep Power: 19 |
Oh and one thing I forgot: Use the latest git version of 2.3 if you plan to port your stuff to 2.3.
There have been a lot of changes in the multiphase part and more features (e.g. fully-conservative energy and momentum equations) were implemented after 2.3.0 was released, hence only available in the git version. For instructions on how to install an OpenFOAM git version see here: http://www.openfoam.org/download/git.php -Armin P.S.: In case you would use openSUSE linux, I maintain a package that provides a "regularly updated" OpenFOAM git version: http://software.opensuse.org/package/openfoam23x http://software.opensuse.org/package/openfoam22x https://build.opensuse.org/project/s...home:dkxls:cfd |
|
Tags |
openfoam 2.2.0, openfoam 2.3.0, solver compilation error |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Mesh quality control in snappyHexMesh - OpenFOAM 2.3.0 | arapuraz | OpenFOAM Meshing & Mesh Conversion | 1 | August 12, 2014 05:17 |
OpenFOAM version 2.3.0 RPM on SuSE linux 12.2 | gautami | OpenFOAM Installation | 2 | May 25, 2014 12:37 |
How to install OpenFoam 2.3.0 without network | killsecond | OpenFOAM Installation | 4 | May 16, 2014 12:07 |
Error installing OpenFOAM 2.2.0 on CentOS 6.4 | CGMaioli | OpenFOAM Installation | 34 | February 24, 2014 15:06 |
forceCoeffs (OpenFOAM 2.2.0) gave another values of Cd in comparison results2.2.1 ! | lavrov | OpenFOAM Post-Processing | 0 | March 15, 2013 10:12 |