OpenFOAM Installation for navalFoam
Hi everyone,
Can anyone provide links to download "navalFoam" solvers for OpenFoam and procedure to install it on Ubuntu 12.0.4., 32 bit and 64 bit versions. Also provide with the pre-requisites (steps) for its installation. Currently I have OpenFoam 2.1.1 version installed on my Virtual box. Thanks in advance Dr. Sachin.b |
Greetings Dr. Sachin,
Since the Extend repositories are back online, here's what I can figure out:
Best regards, Bruno |
is there any other repositories? i can not download from that repository for low speed connection
|
Hi Nima Sam,
I've created a git mirror at repo.or.cz: http://repo.or.cz/w/ShipHydroSIG.git For cloning, you can use either one of the following commands: Code:
git clone git://repo.or.cz/ShipHydroSIG.git Bruno |
Hi Bruno and all,
I downloaded navalFoam and I was trying to run it with OpenFOAM1.6 ext which I downloaded from debian pack. but after wmake all it gives the below error: Code:
maryam@maryam-desktop:~/ShipHydroSIG/src$ wmake all Thanks in advanced. |
Hi Maryam,
Unfortunately the Deb packages of 1.6-ext for Ubuntu seem to be too old for ShipHydroSIG :( You'll have to build 1.6-ext from source code and probably remove the old version first. Best regards, Bruno |
Thanks Bruno
I had already some problems with this version. For example in floatingObject tutorial the object didn't move! I searched a little on the forum how to remove debian pack but I got a little confused. Is it possible to guide me how to do this:) After that I would try to install source package as described in Wiki. Thanks so much:) |
go to synaptic manager and search for foam, you will see those package then you can choose and remove it
|
Quote:
To add to Nima's answer (@Nima: don't forget that Synaptic is not installed by default in Ubuntu), simply replace the word "install" with "remove": http://openfoamwiki.net/index.php/In...ucid_10.04_LTS Code:
sudo apt-get remove openfoam-1.6-ext openfoam-1.6-ext-dev openfoam-1.6-ext-doc |
@Bruno: I know Ubuntu center is replaced in recent versions of Ubuntu but for Ubuntu.10.04 as i remember, synaptic manager was the default package manager software
|
@nimasam: I didn't find it by searching foam. synaptic just showed me the openfoam versions installed in opt directory. I found them in the optional section and not by searching foam. shouldn't it show the versions in home directory?
Thanks Bruno, I removed openfoam as you explained. I know that this topic is about navalFoam but I have another question about shipFoam that I saw was asked in other threads but with no answer. Sorry if I ask here. After runing shipFoam tutorials it searches for alpha1 which is not included in 0 directory. what should I do?:( Sorry for inconvenience Thanks Maryam |
Hi Maryam,
I can't remember where "shipFoam" is available. Can you please indicate where it is available and which thread talks about that same problem? Best regards, Bruno |
Hi
I downloaded it from link: https://github.com/Unofficial-Extend...HydrodynamicIG and the threads which contains the error I mentioned is: Hydrostatic Pressure and Gravity #116 & #118 Best regards |
Hi Maryam,
The problem is that the file "alpha1.org~" is missing from the tutorials in the old ShipFoam repository. Also, it shouldn't be used by the script Allrun, because (at least on Linux systems) files ending with "~" are backup files. In theory, it's very simple:
Bruno |
Hi Bruno
Thanks for reply and sorry for replying late due to a trip. I made alpha regarding to the p file. But it gives error in the process of snappyHexMesh and ShipFoam. snappyHexMesh.log is like this: Code:
/*---------------------------------------------------------------------------*\ So I think here "Hull" patch is not recognized and in file shipFoam.log it gives segmentation fault error and mentiones "Cannot find any patch names matching Hull". Here is the shipFoam.log Code:
/*---------------------------------------------------------------------------*\ I appreciate your help and anyother help. I really need this work. Thanks Best |
Besides, about navalFoam I ran the tutorials. the procedures are Ok until running navalFoam.
It says: --> FOAM FATAL ERROR: Unknown AMG policy AAMG Valid AMG policies are : 1 ( PAMG ) There's no AAMG policy defined in my OpenFOAM1.6-ext that is used in fvSolution. Can I download it? or Can I change it to PAMG? Thanks Best |
Hi Maryam,
AAMG was taken out due to some crazy issues with ANSYS: http://www.cfd-online.com/Forums/ope...tml#post432005 post #51. Therefore, you can try PAMG, but I have no clue if it will work. As for the other issue with shipFoam, I won't be able to look into this before the 25th of December. Best regards, Bruno |
Hi Bruno
Thanks for reply. So it sounds important for ANSYS:D I ran the tutrorial with PAMG. Although I can't get a vision how exact would be the results compared with AAMG. About shipFoam I added an empty folder in contast directory, named it:triSurface and it started to work. Also I added turbulence properties and restraints which worked. Then I tried to change the size of the box. As for floatingObject tutorial in official version that crashes by changing the size,it run very slowly and then crashed. But it seems others have used it with no problem. where am I wrong?! I'm afraid navalFoam has the same problem. Best regards Maryam |
Thanks, I got it work;)
|
Greetings to all!
A wiki page is finally available for this precious toolkit: http://openfoamwiki.net/index.php/Ex...s/ShipHydroSIG Keep in mind that anyone and everyone is welcome to contribute, either to the wiki or by creating+sharing forks of the source code. Best regards, Bruno |
All times are GMT -4. The time now is 10:11. |