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

[cfMesh] cfMesh-v1.1.1

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2015, 08:57
Default
  #21
New Member
 
Tomislav Lugarić
Join Date: Jun 2015
Location: Zagreb, Croatia
Posts: 18
Rep Power: 10
tlugaric is on a distinguished road
Hi Ahmad!

Glad to hear you like our cfMesh mesher.
From your log I can see that it is complaining about missing "zlib.h" header file, so the "wmakeLnInclude" command does not do what it is supposed to.
You should install the zlib development package and try again. I don't know which Linux distro you are using, on Ubuntu you would type: "sudo apt-get install zlib1g-dev" for example.

As for the .run file, please tell me the name of the installer file, as well as which linux version you are using, so I can try to reproduce your problem.
If you asked the installer to install cfMesh source, it instals the OpenFOAM source as well, because cfMesh source relies on some parts of OpenFOAM.
After installing cfMesh, did you try to run it from your default terminal, or did you use the shortcuts placed on you deskop? If you try to launch it from your terminal, you need to source the installed cfMesh environment first (source [cfMesh_install_dir]/OpenFOAM-2.3.0/etc/bashrc) before you can use cfMesh.

Let me know if this helps
a_habib likes this.
__________________
Lead software developer at Creative Fields
Social media: Facebook, Twitter, LinkedIn, Google+, Pinterest, YouTube

Last edited by tlugaric; December 23, 2015 at 10:53.
tlugaric is offline   Reply With Quote

Old   December 23, 2015, 10:08
Default
  #22
Member
 
a_habib's Avatar
 
Ahmad Habib
Join Date: Nov 2014
Location: Aleppo, Syria
Posts: 53
Rep Power: 11
a_habib is on a distinguished road
Hi Tomislav,
First of all, I'm using ubuntu 12 and I didn't take care to look at my desktop,
I tried the .run version and used the desktop shortcut and it worked.
Then I un-installed it and installed zlib.h as you suggested and then compiled the source version and it is working now.
Thanks a lot, and yes it is a great mesher. its easy and provides us several types of meshes. but I think tha the documentation still a little bit insufficient.
Keep up the good work.
P.S. my name is ahmad
a_habib is offline   Reply With Quote

Old   December 23, 2015, 10:55
Default
  #23
New Member
 
Tomislav Lugarić
Join Date: Jun 2015
Location: Zagreb, Croatia
Posts: 18
Rep Power: 10
tlugaric is on a distinguished road
Hi Ahmad!

I am sorry for mistaking your name, I was reading an older post and got the names confused. I edited the post.

We have some more materials on our website cfmesh.com, and we will be providing some video tutorials in the near future. Feel free to check it out.
a_habib likes this.
__________________
Lead software developer at Creative Fields
Social media: Facebook, Twitter, LinkedIn, Google+, Pinterest, YouTube
tlugaric is offline   Reply With Quote

Old   June 11, 2016, 04:12
Default
  #24
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi,
I installed foam-mesh for OF2.2.2. and foam-extend 3.1 and 3.2 without problems.
I am instead experiencing a problem with OF3.0.x - I got the following error - have to tested the installation for OF3.0.x or are you working now on that?

Code:
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/triSurface/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/edgeMesh/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude   -fPIC -c utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C -o Make/linux64GccDPInt64Opt/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.o
In file included from lnInclude/DynList.H:233:0,
                 from lnInclude/VRWGraph.H:42,
                 from lnInclude/meshSubset.H:40,
                 from lnInclude/polyMeshGenPoints.H:42,
                 from lnInclude/polyMeshGenFaces.H:40,
                 from lnInclude/polyMeshGenCells.H:40,
                 from lnInclude/polyMeshGen.H:39,
                 from utilities/meshes/polyMeshGenModifier/polyMeshGenModifier.H:40,
                 from utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C:28:
lnInclude/DynListI.H: In instantiation of ‘Foam::DynList<T, staticSize>::DynList(const ListType&) [with ListType = int; T = long int; long int staticSize = 16l]’:
lnInclude/helperFunctionsTopologyManipulationI.H:491:34:   required from here
lnInclude/DynListI.H:136:21: error: request for member ‘size’ in ‘l’, which is of non-class type ‘const int’
     setSize(l.size());
                     ^
lnInclude/DynListI.H:138:32: error: subscripted value is neither array nor pointer
         this->operator[](i) = l[i];
                                ^
lnInclude/DynListI.H: In instantiation of ‘Foam::DynList<T, staticSize>::DynList(const ListType&) [with ListType = int; T = Foam::Vector2D<double>; long int staticSize = 6l]’:
lnInclude/helperFunctionsGeometryQueriesI.H:1059:37:   required from here
lnInclude/DynListI.H:136:21: error: request for member ‘size’ in ‘l’, which is of non-class type ‘const int’
     setSize(l.size());
                     ^
lnInclude/DynListI.H:138:32: error: subscripted value is neither array nor pointer
         this->operator[](i) = l[i];
                                ^
make: *** [Make/linux64GccDPInt64Opt/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.o] Error 1
make[1]: Entering directory `/home/chris/cfMesh-v1.1.1/executables/cartesian2DMesh'
Making dependency list for source file cartesian2DMesh.C
make[1]: Leaving directory `/home/chris/cfMesh-v1.1.1/executables/cartesian2DMesh'
make[1]: Entering directory `/home/chris/cfMesh-v1.1.1/executables/cartesian2DMesh'
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/triSurface/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude   -fPIC -c cartesian2DMesh.C -o Make/linux64GccDPInt64Opt/cartesian2DMesh.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/triSurface/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/chris/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt64Opt/cartesian2DMesh.o -L/home/chris/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt64Opt/lib \
        -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh -L/home/chris/OpenFOAM/chris-3.0.x/platforms/linux64GccDPInt64Opt/lib -lmeshLibrary -lOpenFOAM -ldl  \
         -lm -o /home/chris/OpenFOAM/chris-3.0.x/platforms/linux64GccDPInt64Opt/bin/cartesian2DMesh
/usr/bin/ld: cannot find -lmeshLibrary
collect2: error: ld returned 1 exit status
make[1]: *** [/home/chris/OpenFOAM/chris-3.0.x/platforms/linux64GccDPInt64Opt/bin/cartesian2DMesh] Error 1
make[1]: Leaving directory `/home/chris/cfMesh-v1.1.1/executables/cartesian2DMesh'
make: *** [cartesian2DMesh] Error 2
crixman is offline   Reply With Quote

Old   June 11, 2016, 06:19
Default
  #25
New Member
 
Tomislav Lugarić
Join Date: Jun 2015
Location: Zagreb, Croatia
Posts: 18
Rep Power: 10
tlugaric is on a distinguished road
Hi crixman

Our cfMesh installer is tested with OpenFOAM 2.3.x, and is not guaranteed to work with OpenFOAM 3.0.x. We are working on an installer for OpenFOAM 3.0.x.
__________________
Lead software developer at Creative Fields
Social media: Facebook, Twitter, LinkedIn, Google+, Pinterest, YouTube
tlugaric is offline   Reply With Quote

Old   July 22, 2016, 02:58
Default
  #26
New Member
 
Quinn Reynolds
Join Date: Jun 2014
Posts: 7
Rep Power: 11
kittychunk is on a distinguished road
Quote:
Originally Posted by tlugaric View Post
Hi crixman

Our cfMesh installer is tested with OpenFOAM 2.3.x, and is not guaranteed to work with OpenFOAM 3.0.x. We are working on an installer for OpenFOAM 3.0.x.
...and one for OpenFOAM 4.0 as well, I hope
kittychunk is offline   Reply With Quote

Old   July 22, 2016, 06:50
Default
  #27
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 124
Rep Power: 16
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hi kittychunk, we have updated the development branch in the repository at Sourceforge it now compiles with OpenFOAM 4.0 - you can give it a try and let us know if you notice any problems.
__________________
Principal Developer of cfMesh and CF-MESH+
www.cfmesh.com
Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram
franjo_j is offline   Reply With Quote

Old   July 22, 2016, 08:11
Default
  #28
New Member
 
Quinn Reynolds
Join Date: Jun 2014
Posts: 7
Rep Power: 11
kittychunk is on a distinguished road
Thank you very much Franjo - the development branch compiled fine with OpenFOAM 4.0.
kittychunk is offline   Reply With Quote

Old   August 3, 2016, 23:10
Default
  #29
Member
 
Ali
Join Date: Oct 2013
Location: St John's Canada
Posts: 31
Rep Power: 12
ashim is on a distinguished road
Hi Dr. Franjo Juretic,

I am trying to compile cfMesh (development brach ) for OpenFOAM -dev version in Ubuntu 14.10 and REHL 7.0. But I could not compile it yet. I am getting errors mostly related to the mesh library file DynListI.H. Would please have a look into it.

Thanks,

Ali
ashim is offline   Reply With Quote

Old   September 27, 2016, 06:24
Default
  #30
Member
 
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 14
GDTech is on a distinguished road
Dear Ali,

recent changes in dynamic list have been pushed to OpenFoam-dev.

The solution is to replace
Code:
 this->UList<T>::operator=(
by
Code:
 this->shallowCopy(
on lines 42, 55 and 67 in DynListI.H

Best regards
GDTech is offline   Reply With Quote

Old   September 27, 2016, 22:28
Default
  #31
Member
 
Ali
Join Date: Oct 2013
Location: St John's Canada
Posts: 31
Rep Power: 12
ashim is on a distinguished road
Hi Laurent Fitschy,

Thank you very much for you time. The problem is fixed in other way. When I was cloning the code, somehow I was getting older version. But when I have downloaded it as a snapshots and compile it, it works perfectly.

Regards

Ali
ashim is offline   Reply With Quote

Old   November 28, 2017, 07:24
Default
  #32
Member
 
Lennart
Join Date: Feb 2016
Posts: 46
Rep Power: 10
elmo555 is on a distinguished road
I'm trying to build the latest cfMesh (cfMesh-v1.1.2) with the latest OpenFOAM release (OpenFOAM-v1706), but some files seem to have changed, to the compilation fails:

Code:
In file included from ../../meshLibrary/lnInclude/triSurf.H:41:0,
                 from checkSurfaceMesh.C:32:
../../meshLibrary/lnInclude/triSurfFacets.H:42:39: fatal error: geometricSurfacePatchList.H: No such file or directory
 #include "geometricSurfacePatchList.H"
What's the latest known version of cfMesh and OpenFOAM that compile? Any help is appreciated!
elmo555 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
[cfMesh] CFMesh for blue core CFD naveen.hariprasad OpenFOAM Community Contributions 2 March 4, 2018 16:11
[cfMesh] Parallel meshing in cfMesh v1.1.1 in windows naveen.hariprasad OpenFOAM Community Contributions 0 December 16, 2016 03:24
[cfMesh] feature edge error zordiack OpenFOAM Community Contributions 3 October 11, 2016 06:09
[cfMesh] overlapping problem using cfMesh v1.1.1 pici OpenFOAM Community Contributions 2 November 3, 2015 13:51
[cfMesh] mesh improvements for 'face tets' pici OpenFOAM Community Contributions 1 September 2, 2015 04:31


All times are GMT -4. The time now is 12:35.