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

[cfMesh] cfMesh Installation with OpenFOAM 6?

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

Like Tree13Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2019, 19:20
Default
  #21
New Member
 
Marc
Join Date: Oct 2019
Posts: 1
Rep Power: 0
marccfd is on a distinguished road
Quote:
Originally Posted by Krao View Post
Try this I have just compiled on OpenFOAM 7



I followed the instructions in post 8 once again and installed cfMesh on my 64bit machine. There was no problem. I think they have made some changes to the make file already, as you can see in my post. Try it once, good luck.
Hi,

I just followed the Wiki instructions. After running into an error I tried your change to the option File and ran it again.
I still get this error message
Code:
wmake libso meshLibrary
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    wmakeLnInclude error: base directory /opt/openfoam7/src/edgeMesh/ does not exist
wmakeLnInclude: linking include files to ./lnInclude
All on Ubuntu 18.04.3 LTS and OpenFoam 7

Does anyone know how to tell cf Mesh that the EdgeMesh is not in src anymore?
marccfd is offline   Reply With Quote

Old   November 1, 2019, 05:45
Default
  #22
Member
 
Bruno Lebon
Join Date: Dec 2012
Posts: 31
Rep Power: 9
blebon is on a distinguished road
edgeMesh is in src/meshTools, so change line 35 to
Quote:
-I$(LIB_SRC)/meshTools/edgeMesh/lnInclude \
to get rid of the error.
blebon is offline   Reply With Quote

Old   December 22, 2019, 09:09
Default
  #23
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,404
Blog Entries: 6
Rep Power: 43
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

Merry Christmas! I am re-gifting cfMesh for OpenFOAM 5 and 6 to everyone this year

This to say that I've revised/revamped the wiki page for cfMesh at openfoamwiki.net: https://openfoamwiki.net/index.php/E...ilities/cfMesh

And that there you will now find instructions regarding:
  1. Where you can find cfMesh, its source code and in which OpenFOAM/foam-extend versions is already present and how to build it from source code if not present by default.
    • So much so that there are actually two sets of instructions on how to install cfMesh with OpenFOAM 5 and 6!
  2. Where you you can find the tutorials.
  3. Where you can find the User Guide.
Best regards,
Bruno



Works also for OpenFOAM 7 and the latest -dev Line of the Foundation version.
wyldckat likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   December 27, 2019, 15:45
Default
  #24
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
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
@Tobi: Many thanks! I've updated the wiki page accordingly.
wyldckat is offline   Reply With Quote

Old   March 28, 2020, 08:29
Default
  #25
New Member
 
Calum Douglas
Join Date: Apr 2013
Location: Coventry, UK
Posts: 26
Rep Power: 9
snowygrouch is on a distinguished road
Quote:
Originally Posted by blebon View Post
edgeMesh is in src/meshTools, so change line 35 to

to get rid of the error.
Dont think this works because InInclude isnt in the edgemesh folder.

The wikipage instructions dont for for me in Ubuntu 18.04 and Of7 on either fork.

still showing compilation erros after wmake because there is no InInclude in edgemesh,
and it tries to create it, and fails.
__________________
Calum Douglas
Director
Scorpion Dynamics Ltd
Email: calum.douglas@scorpion-dynamics.com
Web: www.scorpion-dynamics.com
snowygrouch is offline   Reply With Quote

Old   July 19, 2020, 15:54
Default
  #26
New Member
 
P
Join Date: Jul 2020
Posts: 1
Rep Power: 0
known_by_some is on a distinguished road
I'd also be curious if anyone has successfully compiled cfMesh with OF7. I'm using Ubuntu 20.04 and WSL.

Like snowygrouch said, there is no InInclude in edgemesh - I edited the various paths to fix the other issues as noted in previous comments, but the lack of InInclude in edgemesh seems to be a deal breaker. Am I missing something?

I've been using the included cfMesh as apart of the latest v2006 release, but it seems to have issues with tetMesh and pMesh and I'd like to compile cfMesh myself to see if that resolves it.
known_by_some is offline   Reply With Quote

Old   July 31, 2020, 15:02
Default
  #27
New Member
 
Join Date: Jul 2020
Posts: 1
Rep Power: 0
iskionrocks is on a distinguished road
I was able to get it to work in OpenFOAM7 by just removing the line referring to edgeMesh as below. I'm not sure if this will have consequences later but I was able to successfully mesh a simple case I am working on right now.

Code:
EXE_INC = \
    $(OMP_FLAGS) $(CFMESH_MACROS) \
    -I$(LIB_SRC)/triSurface/lnInclude \
    -I$(LIB_SRC)/surfMesh/lnInclude \
    -I$(LIB_SRC)/meshTools/lnInclude

LIB_LIBS = $(LIBS)
iskionrocks is offline   Reply With Quote

Old   Today, 16:47
Default
  #28
New Member
 
Utkun Malkocoglu
Join Date: Feb 2017
Posts: 6
Rep Power: 5
Malkocoglu is on a distinguished road
I also tried to compile cfMesh in both versions (OpenFOAM-dev and OpenFOAM-8) by applying suggestions mentioned in this thread (for example, posts #20, #22 and #27) and another thread on this issue (Compiling cfMesh with OpenFOAM 4.x). However, I was not able to compile and I encountered with errors. I attached log file generated during compilation attempt (please see attachment named "log_Allwmake.txt"). So, I am the new one that joined to the crowd. If someone has a solution on this problem, I would be very thankful.

Thanks in advance.
Attached Files
File Type: txt log_Allwmake.txt (17.4 KB, 0 views)

Last edited by Malkocoglu; Today at 18:11.
Malkocoglu is offline   Reply With Quote

Reply

Tags
cfmesh, installation

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 9 March 30, 2017 05:19
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 11:43
Trouble shooting about OpenFOAM installation in Ubuntu 12.04 Nait OpenFOAM Installation 2 December 12, 2012 10:20
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 superfxfund OpenFOAM Installation 3 November 11, 2010 02:15


All times are GMT -4. The time now is 21:03.