CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Announcements from Other Sources

Creative Fields releases cfSuite 1.0 and cfMesh 1.0

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

Like Tree26Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   June 6, 2014, 09:48
Default Creative Fields releases cfSuite 1.0 and cfMesh 1.0
  #1
Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 64
Rep Power: 7
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Creative Fields, Ltd is proud to announce the release of cfMesh-v1.0. It is an open-source meshing library for OpenFOAM, designed for simple implementation of meshing workflows which can be adapted to the needs of its users. We are also pleased to announce the first release of cfSuite, a GUI hosting environment for cfMesh and OpenFOAM. For more information and download of the products please visit: www.c-fields.com
su_junwei, ngj, Ohbuchi and 11 others like this.
franjo_j is offline   Reply With Quote

Old   June 8, 2014, 08:38
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Franjo,

Many thanks for providing cfMesh under a GPL license!

Do feel free to add an entry about cfSuite here: http://openfoamwiki.net/index.php/GUI
And to add cfMesh to here: http://openfoamwiki.net/index.php/Extend-bazaar

I do have a few quick questions:
  1. Any chance you can also provide the source code of cfMesh through a git, Mercurial or SVN repository, at a reference online open source repository, such as Github, Bitbucket or Sourceforge.net?
    Because this way it would make it a bit easier for anyone to contribute to its source code and make it also easier for you to keep track of any forks that are made of cfMesh.
  2. The cfSuite is identified as working on both Linux and Windows. In addition, the documentation hints that both OpenFOAM 2.3 and foam-extend 3.0 are available on the installer for Windows as well. Does this mean that you've ported both versions to Windows?
  3. In addition, if both have been ported to Windows, is it possible to build/rebuild them directly on Windows as well, using the files provided in your suite?
  4. Which architectures and precisions are currently provided in cfSuite? In other words, are both 32 and 64 bit provided or just 64 bit; and is it provided in both Single Precision and Double Precision or just one of them?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 8, 2014, 17:25
Default
  #3
Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 64
Rep Power: 7
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello Bruno,

Thank you for your questions. I will try to find the time in the couple of days to add some information as you suggested. The answers to your questions are:

1. We are in a process of providing the code in the foam-extend repository, and I hope that it will happen in the next couple of days.
2. cfSuite supports both foam-extend-3.0 and OpenFOAM-2.3.0 on both Windows and Linux. You can download the installer from our website, and try it if you like. The installer sets up the runtime environment in a MSys shell. You can start the shell by clicking an icon on your desktop and run FOAM just like in Linux.
3. You can choose to install the source, too. The source can be rebuilt from the MSys shell. The installer also provides the mingw compiler we used building the version.
4. Currently, we only support 64 bit Windows. In addition, we only provide the double-precision version, because it is more robust for mesh generation.

Kind Regards,

Franjo
wyldckat likes this.
franjo_j is offline   Reply With Quote

Old   June 9, 2014, 07:02
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Franjo,

Many thanks for the answers!
Then I also suggest that when you've gotten to adding information to the wiki pages, also add information to this wiki page as well: http://openfoamwiki.net/index.php/Windows

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 21, 2014, 16:30
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Franjo,

I was really curious about cfMesh and since I couldn't find a git repository to clone/fork from, I went ahead and created one myself: https://github.com/wyldckat/cfMesh

I've also made a few changes to the files related to building cfMesh with OpenFOAM, because there were a few inconsistencies in the "Make/options" files.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 22, 2014, 06:40
Default cfMesh repository
  #6
Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 64
Rep Power: 7
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello Bruno,

cfMesh is available in the next-release branch of foam-extend-3.1, and is available as a Bazaar package in foam-extend-3.1. It will make its way in the master branch in the release 3.2.
In addition, we will set up a repository for cfMesh at the beginning of July for people who want to use it with OpenFOAM, develop cfMesh and share their contributions.

Kind Regards,

Franjo
philippose and wyldckat like this.
franjo_j is offline   Reply With Quote

Old   July 2, 2014, 05:32
Default cfMesh on SourceForge
  #7
Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 64
Rep Power: 7
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello Bruno,

We have created a repository for cfMesh on sourceforge. To get the code please do the following: git clone git://git.code.sf.net/p/cfmesh/code cfMesh
The code in the repository is compiled into FOAM_USER_LIBBIN and FOAM_USER_APPBIN which fits better users with central installations of OpenFOAM. In addition, we have also improved some tutorials to be consistent with OpenFOAM and foam-extend.
If you want to contribute to the project, either by providing examples, documentation, or development I will be glad to help.

Kind Regards,

Franjo
snak, bigphil and wyldckat like this.
franjo_j is offline   Reply With Quote

Old   July 19, 2014, 04:54
Default Compilation problem in CentOS 6.4
  #8
Member
 
Christian
Join Date: Apr 2014
Posts: 59
Rep Power: 3
crixman is on a distinguished road
Hi Franjo,
I aws able to compile cfMesh on Ubuntu, but when running ./Allwmake on CentOS 6.4, I get:
./Allwmake: line 3: wmake: command not found
./Allwmake: line 6: wmake: command not found
./Allwmake: line 9: wmake: command not found
did it happen to someone else as well?

Just found out that $WM_OPTION enviroment variable is not set - anyone can help me setting it?
Thanks in advance for the reply!
Christian

Last edited by crixman; July 19, 2014 at 10:54.
crixman is offline   Reply With Quote

Old   July 19, 2014, 15:49
Default Vompilation problems on CentOS 6.4
  #9
Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 64
Rep Power: 7
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello Christian,

I can compile cfMesh on CentOS 5.10, I have not tried on 6.4, yet. Which version of gcc do you use? If your gcc is older that 4.2.4 you will not be able to use multi-threading. You can get and use a newer version of gcc by installing the devtoolset-2. The instructions can be found here: http://linux.web.cern.ch/linux/devtoolset
It seems to me that the OpenFOAM on your system is not set up correctly. cfMesh requires a working OpenFOAM in order to compile and run. What happens if you type: which icoFoam in a shell you use for compiling cfMesh?

$WM_OPTIONS is set up automatically when you source bashrc/cshrc. Can you please check whether foamInstall is correct in your bashrc/cshrc?

I hope this helps a bit.

Regards,

Franjo
franjo_j is offline   Reply With Quote

Old   July 21, 2014, 05:23
Default
  #10
Member
 
Christian
Join Date: Apr 2014
Posts: 59
Rep Power: 3
crixman is on a distinguished road
Hi Franjo,
you were right that OF is not properly installed, it's strange because I followed all steps from
http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL
maybe I should have skipped something.
I'll try to install OF again first and let you know if I will be able to compile it!
Thanks for the help,
Christian
crixman is offline   Reply With Quote

Old   July 21, 2014, 09:01
Default
  #11
Member
 
Christian
Join Date: Apr 2014
Posts: 59
Rep Power: 3
crixman is on a distinguished road
I reinstalled OF; things seem to work,
which icoFoam
~/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64Gcc45DPOpt/bin/icoFoam

but I have the same problem - $WM_OPTIONS not set

in bashrc I have:

foamInstall=$HOME/$WM_PROJECT
# foamInstall=~$WM_PROJECT
# foamInstall=/opt/$WM_PROJECT
# foamInstall=/usr/local/$WM_PROJECT

where cd $HOME/$WM_PROJECTS opens the OpenFOAM folder.
foamCompiler is set to system - but I can't find $WM_OPTIONS anywhere - should I set it manually? any other suggestions?
crixman is offline   Reply With Quote

Old   July 21, 2014, 10:18
Default
  #12
Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 64
Rep Power: 7
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello Christian,

WM_OPTIONS variable is set in etc/config/settings.sh or settings.csh, depending on the shell you use. What is the reason that you use Gcc45? By default, it is set to Gcc. Do you have Gcc 4.5 installed on your machine? What do you get when you type gcc -v?
In addition, you have had the WM_OPTIONS defined because you have the path to the executables. Therefore, WM_OPTIONS=linux64Gcc45DPOpt was defined at some point. Can you please download a fresh source of OpenFOAM-2.2.0 and compare the content of the etc directory with yours.

Regards,

Franjo
franjo_j is offline   Reply With Quote

Old   July 22, 2014, 08:36
Default
  #13
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Dear Bruno,

I am curious will cfMesh be on your blueCFD® Distribution?

Sorry, did not see
elvis is offline   Reply With Quote

Old   July 22, 2014, 09:51
Default
  #14
Member
 
Christian
Join Date: Apr 2014
Posts: 59
Rep Power: 3
crixman is on a distinguished road
@ Franjo:
I moved to Ubuntu for time constraints, I will check in the coming days and will update you!
Regards,
Christian
crixman is offline   Reply With Quote

Old   September 1, 2014, 07:07
Default
  #15
Member
 
Christian
Join Date: Apr 2014
Posts: 59
Rep Power: 3
crixman is on a distinguished road
Hello Franjo,
I am using cfMesh a lot now.
I was wondering if it is possible to convert tet meshes generated with cfMesh in other formats like UNV, Abaqus .msh, etc...
If not, it could be a tool to work on to extend the use of cfMesh to other software as well!
Regards,
Christian
crixman is offline   Reply With Quote

Old   September 22, 2014, 11:56
Default
  #16
Senior Member
 
Join Date: Oct 2013
Posts: 253
Rep Power: 4
chriss85 is on a distinguished road
Thank you for this very nice meshing tool!

It's really very robust and easy to use.

As for possible future improvements, I have two ideas:

A) Adding a manual control for the total thickness of boundary layers. I couldn't figure out how to control the size of the boundary layers properly. Also, I was unable to get layers with an even thickness over the whole patch, as the nodes were relaxed to improve the quality of the cells next to the layers. I'm not sure if there is a good solution to this issue, but I think there were some updates on layer generation in snappyHexMesh in the previous versions.

B) (Probably more advanced) Support for multi-region meshes would be very nice. Creating such meshes is very tedious in OpenFOAM right now.
phsieh2005 likes this.
chriss85 is offline   Reply With Quote

Old   September 24, 2014, 17:02
Default
  #17
Senior Member
 
Join Date: Nov 2010
Posts: 128
Rep Power: 6
taxalian is on a distinguished road
Hi Franjo,
I recently used your cfMesh 1.0 version and its quite a handful tool.
I successfully generated decent viscous mesh.

Now i am interested in knowing that is it possible to add explicitly stl file other than the standard primitive shapes like cone, box etc. to define an additional cell zone with or without baffles/boundary.

That can be used later on for MRF/moving mesh simulations with AMI interfaces.
taxalian is offline   Reply With Quote

Old   September 25, 2014, 17:42
Default
  #18
Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 64
Rep Power: 7
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello Chris and taxalian,

Thank you for your suggestions and sorry for the late reply.
@Chris: Multi-material is high on the list of priorities, and we plan to release it with the next major release at the end of the year.
Total thickness of a boundary layer in cfMesh is roughly equal to the cell size at the given location. There are also plans to improve quality and the control over boundary layer thickness in 2015.
@taxalian: We are planing a minor release in the next couple of weeks which will support mesh refinement via additional surface meshes. However, multi-region support based on additional surface meshes is planned for the next major release. I hope this is the correct answer to you question.

Kind Regards,

Franjo
franjo_j is offline   Reply With Quote

Old   November 4, 2014, 14:45
Default Boundary patches and .stl files
  #19
New Member
 
Chrissy Stanford
Join Date: Oct 2013
Location: South Africa
Posts: 11
Rep Power: 3
New_OpenFOAM_user is on a distinguished road
Hello

I have had trouble recently controlling the y+ values with snappyHexMesh and found this useful thread Controlling y+ values with snappyHexMesh? and therefore downloaded and installed cfMesh hoping that this would be the solution to all my problems.

I compiled and ran the tutorials without any problems, but when it came to meshing my complex geometry I found that I have no idea how to define boundary patches in the cad software before exporting the model as a .stl file. This resulted in my whole geometry being meshed as only one patch making it impossible to define boundary conditions.

If I understood the user manual correctly, the patches should be defined in the cad software before exporting the file as a .stl file. Can anyone please explain to me how to accomplish this? I am currently using a student version of Autodesk Inventor 2014.

Or maybe suggest cad software that has this capability? Otherwise please explain where I am going wrong.

Thank you.
New_OpenFOAM_user is offline   Reply With Quote

Old   November 4, 2014, 14:49
Default
  #20
New Member
 
Chrissy Stanford
Join Date: Oct 2013
Location: South Africa
Posts: 11
Rep Power: 3
New_OpenFOAM_user is on a distinguished road
Quote:
Originally Posted by New_OpenFOAM_user View Post
Hello

I have had trouble recently controlling the y+ values with snappyHexMesh and found this useful thread Controlling y+ values with snappyHexMesh? and therefore downloaded and installed cfMesh hoping that this would be the solution to all my problems.

I compiled and ran the tutorials without any problems, but when it came to meshing my complex geometry I found that I have no idea how to define boundary patches in the cad software before exporting the model as a .stl file. This resulted in my whole geometry being meshed as only one patch making it impossible to define boundary conditions.

If I understood the user manual correctly, the patches should be defined in the cad software before exporting the file as a .stl file. Can anyone please explain to me how to accomplish this? I am currently using a student version of Autodesk Inventor 2014.

Or maybe suggest cad software that has this capability? Otherwise please explain where I am going wrong.

Thank you.
I tried to install cfSuite on ubuntu 12.04 later on in order to see if this would make the process less complicated, but was unable to install it properly. When I double clicked on the executable file (as instructed for installation on the website), it extracted 8 .par2 files named cfSuite-1.0-linux.par2, cfSuite-1.0-linux.vol000+01.par2 and so forth.

I am having trouble understanding what to do with those files. When I try to open them by double clicking on them it says the archive type is not supported. I downloaded the GPar2 application in hopes of solving the problem, but this application only verifies the files and states that it down not need to be repaired.

Any help regarding this problem will be greatly appreciated.
New_OpenFOAM_user is offline   Reply With Quote

Reply
Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:39.