|
[Sponsors] |
October 26, 2017, 18:07 |
not compiling with openFoam 5
|
#1 |
Member
benoit paillard
Join Date: Mar 2010
Posts: 96
Rep Power: 16 |
Hi all, did anybody succeed in compiling cfmesh together with openFoam 5 ? It is failing for me at the moment. The log is a bunch of class not being appropriate...
Thanks for your help ! |
|
November 6, 2017, 11:59 |
CF Mesh and OF5
|
#2 |
New Member
Calum Douglas
Join Date: Apr 2013
Location: Coventry, UK
Posts: 26
Rep Power: 13 |
Hi,
Yes it doesnt work at the moment because it has not been ported to OF5. - I received this reply from CF-Mesh. I have not tried his suggestion yet, so I cannot tell you if this will work, or not. --------------------------------------------------- Hello Callum, There have been some incompatible changes in OpenFOAM. It compiles with older versions. You can try port-v1606 branch. This branch is updated and it works with OpenFOAM-v1706 and foam-extend-4.0. Regards, Franjo
__________________
Calum Douglas Director Scorpion Dynamics Ltd Email: calum.douglas@scorpion-dynamics.com Web: www.scorpion-dynamics.com |
|
November 16, 2017, 11:10 |
|
#3 |
New Member
Thomas Lashbrooke
Join Date: Nov 2017
Posts: 4
Rep Power: 8 |
I really wish I'd visited here earlier! Spent the last hour and a half on this, installed an earlier version.. Why don't they state this anywhere clearly on the site...or in the README...
EDIT: forgot to say thanks! |
|
November 16, 2017, 11:31 |
CF
|
#4 |
New Member
Calum Douglas
Join Date: Apr 2013
Location: Coventry, UK
Posts: 26
Rep Power: 13 |
By the way I tested this myself and it works (installing the v1606 branch of CF build into OF 5).
But yes - they could have done a better job with communication here.
__________________
Calum Douglas Director Scorpion Dynamics Ltd Email: calum.douglas@scorpion-dynamics.com Web: www.scorpion-dynamics.com |
|
December 6, 2017, 06:50 |
|
#5 | |
New Member
Patrick
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Quote:
Following your success to this topic, can you please guide me on how to install and compile cfmesh with OF 5. I tried doing it but was not successful. I did the following: git clone git://git.code.sf.net/p/cfmesh/code cfmesh cd cfmesh git checkout development export WM_NCOMPPROCS=4 ./Allwmake Would really appreciate your support thanks Patrick |
||
December 11, 2017, 08:01 |
|
#6 |
New Member
Aäron Thijs
Join Date: Oct 2016
Location: Belgium
Posts: 10
Rep Power: 9 |
Dear Patrick,
You didn't compile the right branch. As stated in the previous posts use the port-v1606+ branch. You can try the code below: Code:
git clone https://git.code.sf.net/p/cfmesh/code cfmesh-code -b port-v1606+ Kind regards, Aäron |
|
December 12, 2017, 04:57 |
|
#7 |
Member
Lennart
Join Date: Feb 2016
Posts: 46
Rep Power: 10 |
Thanks pi__sec for finally solving my cfmesh problem!
|
|
December 18, 2017, 06:17 |
|
#8 | |
New Member
Patrick
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Quote:
Thanks for your response. I followed your instruction but the compilation was not successful. I have attached the log file for your reference. For example, I have several of this complain: could not open file foamTime.H for source file utilities/workflowControls/workflowControls.C due to No such file or directory These were accompanied with Errors such as /opt/openfoam5/wmake/makefiles/general:140: recipe for target '/home/hp/OpenFOAM/hp-5.0/platforms/linux64GccDPInt32Opt/bin/cartesian2DMesh' failed make[1]: *** [/home/hp/OpenFOAM/hp-5.0/platforms/linux64GccDPInt32Opt/bin/cartesian2DMesh] Error 1 Not sure how this helps, but there is no content in the newly created folder: platforms/linux64GccDPInt32Opt I would appreciate any further support. Thanks, Patrick |
||
December 18, 2017, 10:37 |
|
#9 |
Senior Member
|
Hi,
@linox 1. Since wmkdep does no preprocessing (main reason why it is relatively fast), it does not resolve guard ifdefs. foamTime.H is a file from foam-extend, since you compile software under OpenFOAM 5.0, there is no such file. Yet, these warnings could be ignored. 2. Root error is here: Code:
utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/tetMeshOptimisation.C:501:6 6: error: no matching function for call to ‘eigenVector(Foam::symmTensor&, const double&)’ vector normal = eigenVector(nt, ev[2]); Code:
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT))) ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION))) CFMESH_MACROS = -DNoSizeType LIBS = else CFMESH_MACROS = LIBS = endif endif Code:
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT))) ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION))) CFMESH_MACROS = -DNoSizeType -DOpenCFDSpecific LIBS = else CFMESH_MACROS = LIBS = endif endif |
|
December 19, 2017, 02:41 |
|
#10 | |
New Member
Patrick
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Quote:
Thanks very much for the support. My cfmesh is now working upon changing the code as suggested. Kind regards, Patrick |
||
March 12, 2018, 21:33 |
trouble with cfmesh in OF 5.0 (or 4.0)
|
#11 |
New Member
Chaz
Join Date: Mar 2012
Posts: 20
Rep Power: 14 |
Hello,
I have been unsuccessful getting cfmesh to install in openfoam 5.0. I think I am following the process outlined here in this thread. Process: git clone https://git.code.sf.net/p/cfmesh/code cfmesh-code -b port-v1606+ cd cfmesh-code/ git checkout development export WM_NCOMPPROCS=4 ( change the file 'options', as noted above) ./Allwmake > log.make 2>&1 The log file is attached. Am I missing something? Is there a more updated outline of how to get CFMesh working in OF5? Thank you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer | wildfire230 | OpenFOAM Installation | 20 | May 6, 2020 07:30 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 06:15 |
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days | joegi.geo | OpenFOAM Announcements from Other Sources | 0 | October 1, 2016 19:20 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 08:54 |