CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

OpenFoam 1.6-ext

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2010, 09:11
Default OpenFoam 1.6-ext
  #1
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
Hi Foamers

Where can I get OpenFoam 1.6-ext? Please keep me posted, I vent foamed for a while. I would like to use the new paralleled tool for dynamic meshes for engines! Has anyone some experiences so far?

Peter
Peter_600 is offline   Reply With Quote

Old   December 11, 2010, 10:09
Default
  #2
Senior Member
 
Holger Marschall
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 126
Rep Power: 19
holger_marschall is on a distinguished road
Send a message via Skype™ to holger_marschall
Quote:
Originally Posted by Peter_600 View Post
Where can I get OpenFoam 1.6-ext?
Hi Peter,

it is on the public git repository of -Extend:
Code:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext
best regards,
__________________
Holger Marschall
web: http://www.holger-marschall.info
mail: holgermarschall@yahoo.de
holger_marschall is offline   Reply With Quote

Old   December 11, 2010, 12:08
Default
  #3
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
Thank you for the fast response!
Peter
Peter_600 is offline   Reply With Quote

Old   December 11, 2010, 19:11
Default
  #4
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
I think I ve succeded to compile it. I tried to compile also some solver which I made in 1.5-dev. Unfortunately it didn't work.
I guess 1.6-ext is not 100% compatible with 1.5-dev, right?
Peter_600 is offline   Reply With Quote

Old   December 12, 2010, 20:59
Default
  #5
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17
boger is on a distinguished road
True - there are some small differences in the placement of some of the header files and some other small class differences that you'll have to reconcile. If you're stuck, you'll need to share the exact error messages.
__________________
David A. Boger
boger is offline   Reply With Quote

Old   December 13, 2010, 18:47
Default
  #6
New Member
 
Join Date: Apr 2010
Posts: 10
Rep Power: 16
Bandfrosch is on a distinguished road
Hi Peter,

following modifications to Make/options made my compiler happy :

* variable LIB_SRC changed to FOAM_SRC
* dynamicMesh and cousins have moved
* PolyMesh constructor needs transfer function for points

################################################## ########
# File Make/options
# modifications from OpenFOAM-1.5-dev to OpenFOAM-1.6-ext
################################################## ########
#
# OpenFOAM-1.5-dev
#
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/dynamicFvMesh/lnInclude \
-I$(LIB_SRC)/dynamicMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude#
################################################## ########
# OpenFOAM-1.6-ext
#
EXE_INC = \
-I$(FOAM_SRC)/finiteVolume/lnInclude \
-I$(FOAM_SRC)/dynamicMesh/dynamicFvMesh/lnInclude \
-I$(FOAM_SRC)/dynamicMesh/dynamicMesh/lnInclude \
-I$(FOAM_SRC)/meshTools/lnInclude



PolyMesh constructor changed, note the xferCopy(points):

pShapeMesh = new polyMesh
(
IOobject ....,
// ================
xferCopy(newPoints),
//================
cellShapes,
boundaryFaces,
boundaryPatchNames,
boundaryPatchTypes,
defaultFacesName,
defaultFacesType,
boundaryPatchPhysicalTypes
);


I hope this will help ...

Bandfrosch
Bandfrosch is offline   Reply With Quote

Old   December 14, 2010, 03:36
Default
  #7
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
Peter,

please let us know your results. I tried to parallelize a simple two stroke engine, but found that sliding interfaces may still not cross processor boundaries. Add/remove layers was already parallel in 1.5-dev, so for that case, I did not see any difference when it comes to parallelization.

Regards,
Kalle
kalle is offline   Reply With Quote

Old   December 14, 2010, 08:19
Default
  #8
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
Thx u for all ur replys. For the moment I am very busy. But I keep u posted about my process for sure. I hope I can do it till the weekend.
Peter_600 is offline   Reply With Quote

Old   December 14, 2010, 10:06
Default
  #9
Member
 
Join Date: Nov 2010
Posts: 86
Rep Power: 16
abminternet is on a distinguished road
hi Kalle,
I am trying to set up a case for a simple engine with moving mesh and topological changes but have not yet succeeded, would you mind sharing your setup data? (perhaps thermophysicalProperties too since it gives me some error with not implemented thermo::e() ) I would appreciate it
abminternet is offline   Reply With Quote

Old   December 15, 2010, 07:29
Default
  #10
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
Hi,

I only moved the mesh for this case, no CFD. I think as a start you can copy the needed thermo/transport files from some of the tutorials. Maybe from soninFoam cases? Try a few, should not be too hard to locate working files.

Good luck,
K
kalle is offline   Reply With Quote

Old   December 15, 2010, 09:06
Default
  #11
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
I have some problems during the installation of OpenFOAM-1.6-ext.
Hocw can I change the environmental variable for gcc from

usr/bin/gcc to usr/gcc ?

Thx Peter
Peter_600 is offline   Reply With Quote

Old   December 15, 2010, 09:19
Default
  #12
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17
boger is on a distinguished road
What problems specifically? An error message would be helpful.

Around line 91 of settings.csh, do you have compilerInstall set to System?
__________________
David A. Boger
boger is offline   Reply With Quote

Old   December 15, 2010, 09:35
Default
  #13
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
Please see attached the output of the log file.
I compiled paraview and all the other 4 stages of the thirdparty tool. Seems to work. Also I can open paraview and use paraFOAM.
When I open old cases made with 1.5-dev i can visualize it.
BUT
When I try to visualize a tutorial made by 1.6-ext it is not working
I tried to postprocess the icoFoam tutorial (cavity) The solver runs but it is not possible to see anything by opening with paraFoam.

HTML Code:
Executing /home/peter/OpenFOAM/OpenFOAM-1.6-ext/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell:              bash
Host:               linux-u69q
OS:                 Linux version 2.6.27.39-0.2-default
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid      Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/peter/OpenFOAM                     yes       yes
$WM_PROJECT_USER_DIR /home/peter/OpenFOAM/peter-1.6-ext       yes       no
$WM_THIRD_PARTY_DIR  ...OpenFOAM/OpenFOAM-1.6-ext/ThirdParty  yes       yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR      /home/peter/OpenFOAM/OpenFOAM-1.6-ext    yes  yes  yes

$FOAM_APPBIN         ...ext/applications/bin/linux64GccDPOpt  yes  yes  yes
$FOAM_SITE_APPBIN    ...OAM/site/1.6-ext/bin/linux64GccDPOpt  no        no
$FOAM_USER_APPBIN    ...ext/applications/bin/linux64GccDPOpt  no        no
$WM_DIR              ...eter/OpenFOAM/OpenFOAM-1.6-ext/wmake  yes  yes  yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN         ...OpenFOAM-1.6-ext/lib/linux64GccDPOpt  yes  yes  yes
$FOAM_SITE_LIBBIN    ...OAM/site/1.6-ext/lib/linux64GccDPOpt  no        no
$FOAM_USER_LIBBIN    ...AM/peter-1.6-ext/lib/linux64GccDPOpt  no        no
$MPI_ARCH_PATH       ...nmpi-1.4.3/platforms/linux64GccDPOpt  yes  yes  yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version   Location 
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
         Supplied version: 4.3.3
         User version    : 4.3.2
         Minimum required: 4.3.1

gcc      4.3.2    
WARNING:  Conflicting installations:
          OpenFOAM settings        : /bin/gcc
          current path             : /usr/bin/gcc
          CRITICAL ERROR

gzip     1.3.12    /usr/bin/gzip                                            
tar      1.20      /bin/tar                                                 
icoFoam  1.6-ext   ...nFOAM-1.6-ext/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult 
the installation guide for trouble shooting.

done.
Peter_600 is offline   Reply With Quote

Old   December 15, 2010, 09:43
Default
  #14
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
Yes. It is compilerInstall set to System.
Peter_600 is offline   Reply With Quote

Old   December 15, 2010, 09:52
Default
  #15
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17
boger is on a distinguished road
I really don't think the foamInstallationTest warnings about gcc having anything to do with your paraFoam problems. But since you have System compiler set, it looks to me like WM_COMPILER_DIR is never set. Try setting it yourself to be /usr and maybe foamInstallationTest will be happier. It will still complain about your version not matching the supplied version, but it's not clear to me why it even checks that if you have a system compiler. Anyway, like I said, I don't think that has anything to do with your paraFoam problem.

As far as your paraFoam problem, you need to tell us more than "it doesn't work". Do you get error messages? Does it crash?
__________________
David A. Boger
boger is offline   Reply With Quote

Old   December 15, 2010, 11:11
Default
  #16
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
The weird thing is. I don t get any error. I simply don t see my grid when I try to open the cavity case. I can see all the variables, nothing else more.
When I open a case which was made with 1.5-dev, I can see it with the 1.6-ext version (paraFoam). Probably all my versions are mixed up ?
Peter_600 is offline   Reply With Quote

Old   December 15, 2010, 15:16
Default
  #17
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
I will reinstall my system. It s mixed up with all the the openFoam versions.. I will install Suse 11.3. I ll keep u posted about my process.
Peter_600 is offline   Reply With Quote

Old   December 18, 2010, 17:46
Default
  #18
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
I refreshed my system. I installed Suse11.3 64 bit version.
I have a problem with stage4 of the thirdparty tools. The installaion of paraview doesn t start. I have a problem with the environmental variables. I don t know how to change the path of them.
Thx Peter

HTML Code:
This system rpm command: rpm                                                                                                                                                        
                                                                                                                                                                                    
========================================                                                                                                                                            
Starting ThirdParty AllMake: Stage4                                                                                                                                                 
========================================                                                                                                                                            
                                                                                                                                                                                    
Using system installed QT                                                                                                                                                           

WARNING: 
WARNING: Skipping the installation of ParaView-3.8.1.
WARNING: Please make sure the QT_BIN_DIR environment variable properly
WARNING: initialized in the file prefs.sh or prefs.csh
WARNING: The command $QT_BIN_DIR/qmake needs to be valid
WARNING: 
========================================
Done ThirdParty AllMake: Stage4
Peter_600 is offline   Reply With Quote

Old   December 18, 2010, 22:03
Default
  #19
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17
boger is on a distinguished road
Do you have qt installed? What do you get from a 'which qmake' ? If it's /usr/bin/qmake, then you would need 'setenv QT_BIN_DIR /usr'
__________________
David A. Boger
boger is offline   Reply With Quote

Old   December 19, 2010, 01:21
Default
  #20
Member
 
Pablo Caron
Join Date: Nov 2009
Location: Buenos Aires, Argentina
Posts: 75
Rep Power: 17
pcaron is on a distinguished road
Hello Peter, I had a similar problem with stage4 and openSuse 11.2.

The stage4 script has commented the line to compile the qt. If this is your case, you should use the system qt, but I could not use the system version in suse, so I uncommented that line and compile qt from ThirdParty.

The compiling takes too long, but when it finish you should get the issue about the QT_DIR again. I solved it restarting the terminal and commenting again the line in stage4 script.

I hope this will help you, regards

Pablo
pcaron is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
kOmegaSST in openfoam 1.6 Gearb0x OpenFOAM 2 March 3, 2010 07:02
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 16:39
OpenFOAM 1.6 package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 36 September 2, 2009 13:46
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 18:55


All times are GMT -4. The time now is 23:33.