CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] cfmesh installation problem

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

Like Tree1Likes
  • 1 Post By wyldckat

LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2018, 18:17
Default cfmesh installation problem
New Member
Anil Istanbullu
Join Date: Sep 2018
Location: Istanbul
Posts: 6
Rep Power: 7
anil.istanbullu is on a distinguished road
Send a message via Skype™ to anil.istanbullu
Hey Foamers,

Due to limited information / instructions on how to install and use cfmesh with an OpenFOAM already installed, meshing have been a problem for my case - meshing the short pipe to be exposed high pressure.

According to my best understanding about cfmesh, it is only suitable for OpenFOAM version both 4.0 and 4.1 whereas it is not OK for updated versions such as OF version 5, 6 etc.

It appears cfmesh looks like a cool thing when it comes to mesh in a fast and flexible way. One more thing, those who want to use a gui for cfmesh could access more details via

Like i said, i would highly appreciate any help about the matter since this is really important if any users want to go with cfMesh.

Best regards
anil.istanbullu is offline   Reply With Quote

Old   December 30, 2018, 05:08
Senior Member
Mark Olesen
Join Date: Mar 2009
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
cfmesh should compile out of the box for more recent OpenFOAM versions. In OpenFOAM-v1806, OpenFOAM-v1812 it is included in the modules/ subdirectory and should thus automatically be compiled when you compile OpenFOAM.
olesen is offline   Reply With Quote

Old   December 30, 2018, 07:46
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick notes:
  1. Instructions on how and where cfMesh is installed on various versions/forks/variants, along on where to find instructions on how to use it:
    • (edit) I've added a section for support just now.
  2. For questions on how to use cfMesh, see the prefix [cfMesh] at the OpenFOAM Community Contributions subforum.
mwaqas likes this.

Last edited by wyldckat; December 30, 2018 at 07:49. Reason: see "(edit)"
wyldckat is offline   Reply With Quote

Old   December 30, 2020, 19:28
Unhappy cartesianMesh : command not found
New Member
Join Date: Dec 2020
Posts: 6
Rep Power: 5
Anushaa is on a distinguished road
even after doing everything i am not able to understand why cfmesh is not working.

Please let me know if anything can be done
Anushaa is offline   Reply With Quote

Old   December 30, 2020, 19:29
Exclamation cartesianMesh : command not found
New Member
Join Date: Dec 2020
Posts: 6
Rep Power: 5
Anushaa is on a distinguished road
anusha@DESKTOP-JPOD8EC:~$ cd /mnt/c/OpenFOAM-v2006/modules/
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules$ ls
Allwmake OpenQBMM adios avalanche cfmesh doc external-solver list-modules visualization
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules$ cd cfmesh/
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh$ ls
Allwclean Allwmake README executables meshLibrary python testingInterfaces tutorials userGuide utilities
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh$ cd tutorials/
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh/tutorials$ ls
Allclean Allrun cartesian2DMesh cartesianMesh pMesh tetMesh
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh/tutorials$ cd cartesianMesh/
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh/tutorials/cartesianMesh$ ls
asmoOctree elbow_90degree multipleOrifices sawOctree singleOrifice
bunnyOctree intakePortOctree sBendOctree ship5415Octree trial
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh/tutorials/cartesianMesh$ cd asmoOctree/
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh/tutorials/cartesianMesh/asmoOctree$ cartesianMesh
cartesianMesh: command not found
anusha@DESKTOP-JPOD8EC:/mnt/c/OpenFOAM-v2006/modules/cfmesh/tutorials/cartesianMesh/asmoOctree$ surfaceFeatureEdges
surfaceFeatureEdges: command not found

I am getting this
Anushaa is offline   Reply With Quote

Old   January 7, 2021, 10:36
New Member
Akash Patel
Join Date: Dec 2018
Location: Champaign, IL, USA
Posts: 20
Rep Power: 7
akashpatel95 is on a distinguished road
I am assuming you have already compiled OpenFOAM using Allwmake file in src folder.

Have you added this at the end of your $HOME/.bashrc file?

"source /mnt/c/OpenFOAM-v2006/etc/bashrc"

Once you do that, try

source ~/.bashrc
command in terminal and try running cfmesh again
We are developing an open-source software for constructing reduced order models for your CFD simulations in OpenFOAM that runs several magnitude faster. Visit the link below to learn more.
AccelerateCFD - OpenFOAM based reduced order model solver for CFD using Proper Orthogonal Decomposition.
akashpatel95 is offline   Reply With Quote

Old   April 27, 2022, 07:50
Default cfMesh with OpenFOAM v2112
Join Date: Apr 2021
Posts: 41
Rep Power: 4
AlxB is on a distinguished road
could anyone help me about how to install cfMesh with OpenFOAM v2112 ?

I thought it should have been under '/usr/lib/openfoam/openfoam2112/modules' but after installing the latest OF version I could not find this directory at all..

I am running OF under Ubuntu 20.04 LTS.

Many thanks in advance
AlxB is offline   Reply With Quote


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
[] foam-extend-4.0 openSUSE Leap 42.1 Installation Problem icab OpenFOAM Installation 5 April 8, 2017 07:09
Problem with installation florvit ANSYS 0 December 8, 2016 09:10
[] Installation Problem Manyway OpenFOAM Installation 2 July 8, 2016 13:47
Installation problem - calling blockMesh - aylalisa OpenFOAM Installation 5 November 28, 2012 09:55
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 17:26

All times are GMT -4. The time now is 17:15.