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

[cfMesh] cfmesh installation on openfoam v9

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2021, 20:42
Default cfmesh installation on openfoam v9
  #1
Member
 
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 4
daylen is on a distinguished road
Hi, has anyone installed cfmesh on openfoam v9? i tried to follow this guide https://openfoamwiki.net/index.php/E...ilities/cfMesh , and the commands gives me error:


git clone https://git.code.sf.net/p/cfmesh/code cfmesh
error:
Code:
Cloning into 'cfmesh'...
fatal: unable to access 'https://git.code.sf.net/p/cfmesh/code/': Could not resolve host: git.code.sf.net
git clone https://github.com/blueCFD/cfMesh.git cfmesh
error:
Code:
Cloning into 'cfmesh'...
fatal: unable to access 'https://github.com/blueCFD/cfMesh.git/': Could not resolve host: github.com
daylen is offline   Reply With Quote

Old   December 7, 2021, 21:21
Default
  #2
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 75
Rep Power: 4
night-hawk is on a distinguished road
Direct compilation is still a issue. Download it from OpenFOAM.com gitlab.
night-hawk is offline   Reply With Quote

Old   December 12, 2021, 17:03
Default
  #3
Member
 
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 4
daylen is on a distinguished road
I downloaded cfmesh from here https://develop.openfoam.com/Communi...gration-cfmesh
When i compile it gives me these errors:


./Allwmake


Code:
Allwmake /home/ifrit/OpenFOAM/ifrit-9/run/cfmesh
========================================
2021-12-12 18:47:40 -0300
Starting compile of cfMesh with openfoam9 
  Gcc system compiler
  linux64GccDPInt32Opt, with SYSTEMOPENMPI openmpi-system
  prefix = default (user)

wmake libso meshLibrary
Make/options:3: *** missing separator.  Stop.
wmake error: file 'Make/linux64GccDPInt32Opt/files' could not be created in /home/ifrit/OpenFOAM/ifrit-9/run/cfmesh/meshLibrary
sudo ./Allwmake


Code:
2021-12-12 18:48:45 -0300
Starting compile of cfMesh with  
    compiler
  , with  
  prefix = default (user)

./Allwmake: 16: wmake: not found
./Allwmake: 17: wmake: not found
./Allwmake: 18: wmake: not found

2021-12-12 18:48:45 -0300
========================================
  Finished compile of cfMesh with 
    compiler
  , with
daylen is offline   Reply With Quote

Old   February 15, 2022, 11:17
Default lazy approach using cfMeshi in OpenFOAM 9
  #4
Senior Member
 
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19
JonW will become famous soon enough
Dear foamers
I have a lazy approach that works. I have installed both of2012 as well as OF9 (...and much more). If I am going to need cfmehs in OF9, I just mesh in of2012 and thereafter run the case within OF9.

I am using now rhel 8.5 and I move between versions with the aliases below (put in .bashrc). Should be same with Fedora. Start a new terminal and either type of9 or of2012 (not both!!!).

alias of9='export PATH=/usr/lib64/openmpi/bin/:$PATH && export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH && source $HOME/OpenFOAM/OpenFOAM-9/etc/bashrc && PS1="\[\e[0;35m\][of9.ihpc]\[\e[0m\]\[\e[0;31m\][\W]\[\e[0m\]: " '

alias of2012='export PATH=/usr/lib64/openmpi/bin/:$PATH && export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH && source $HOME/OpenFOAM/OpenFOAM-v2012/etc/bashrc && PS1="\[\e[0;35m\][v2012.ihpc]\[\e[0m\]\[\e[0;31m\][\W]\[\e[0m\]: " '

I think for Ubuntu, you can drop the openmpi path thingi
Hope this helps
Jon

p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }
JonW is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 11:43


All times are GMT -4. The time now is 20:31.