CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > 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 Tree28Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2014, 10:54
Default
  #21
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 11
crixman is on a distinguished road
You could either switch completely or import the geometry in Salome-Meca and then name the patches of interest with Create Group - have a look here:
https://www.youtube.com/watch?v=1zQbU-E4k1U
In the wiki page, we also discuss the complete workflow from Salome to Post-processing, which could be of interest to you
http://openfoamwiki.net/index.php/Si...on_/_Tutorials



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 http://www.cfd-online.com/Forums/ope...hexmesh-2.html 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.
crixman is offline   Reply With Quote

Old   November 6, 2014, 11:35
Default
  #22
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
Sometimes it helps if you export the individual boundaries in separate files.
Each file has a line starting with "solid". You can modify it so it says "solid BCName".

Feel free to use this little python script I wrote (or use cat) to merge the stl files back into a single one.

Code:
import os
import glob
text = ""
for file in glob.glob("*.stl"):
  with open(file, "r") as f:
    for i, line in enumerate(f):
      if i <= 1 and line.startswith("solid"):
    print "add " + os.path.splitext(file)[0]
    line = line[:-1] + " " + os.path.splitext(file)[0] + line[-1]
      text += line
with open("final.stl", "w") as f:
  f.write(text)
chriss85 is offline   Reply With Quote

Old   November 6, 2014, 18:13
Default cfMesh patches and cfSuite installation
  #23
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
Hello,

I hope that cfMesh can resolve most of your problems. If you want to generate patches on your surface mesh you can also use surfaceFeatureEdges inputSurface.stl surfWithPatches.ftr -angle 40. This utility will generate patches and export the surface mesh into a new file. The patches are named <origPatchName>_<patchNumber>. You can write the surface with patches into stl or ftr. I suggest to use ftr for meshing, and you can convert it to stl using surfaceConvert for visualisation purposes in ParaView. If you want to get rid of <origPatchName>_<patchNumber> names in the volume mesh, please use the renameBoundary option.
cfSuite-1.0-linux is an exe file, and it seems that your browser treats it as an archive. You can launch it by typing ./cfSuite-1.0-linux from a shell. Please check whether you have permissions to execute it, by checking the output of ls -la. Please install it as a user, not as root.
I hope this helps a bit.

Kind Regards,

Franjo

Quote:
Originally Posted by New_OpenFOAM_user View Post
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.
Peter Benovsky likes this.
franjo_j is offline   Reply With Quote

Old   December 9, 2015, 10:42
Default
  #24
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13
pbachant is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
I second the request for a public Git repository (GitHub preferred).
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Old   December 9, 2015, 11:01
Default
  #25
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
@pbachant

https://sourceforge.net/p/cfmesh/cod...elopment/tree/

It is quite public.
alexeym is offline   Reply With Quote

Old   December 16, 2016, 04:28
Default parallel meshing in cfMeshv1.1.1 for windows
  #26
New Member
 
naveen
Join Date: Nov 2016
Posts: 3
Rep Power: 9
naveen.hariprasad is on a distinguished road
Dear All,

I install cfMesh v1.1.1 for windows and tried meshing my geometry in serial. Everything works fine. However, when I try meshing the same geometry in parallel, the console gives me the following error:
Quote:
Sorry! You were supposed to get help about:
orted-launcher:execv-error
But I couldn't open the help file:
C:\Users\naveen.hariprasad\Documents\cfMesh\ThirdP arty-2.3.0\platforms\mingw64Gcc\openmpi-1.6.5\bin\..\share\openmpi\help-orted-launcher.txt: No such file or directory. Sorry!
I tried using the following command to mesh the geometry: foamJob -p -s cartesianMesh

Is there anything I am doing wrong ? or is there anyone who has faced a similar problem. Please advice.

Regards,

Naveen Hariprasad
naveen.hariprasad is offline   Reply With Quote

Old   December 17, 2016, 11:03
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
Hello,

Is ThirdParty-2.3.0 a single word? It seems that there is a extra space in your installation. OpenFOAM does NOT allow the installation path with spaces or special characters.
Another problem might be the length of the installation path. The suggested path is C:\cfMesh and you have chosen a longer one. Windows allows up to 255 characters in the path, and sometimes a long prefix makes the path of some files longer than 255 characters and results in execution problems.

Quote:
Originally Posted by naveen.hariprasad View Post
Dear All,

I install cfMesh v1.1.1 for windows and tried meshing my geometry in serial. Everything works fine. However, when I try meshing the same geometry in parallel, the console gives me the following error:
I tried using the following command to mesh the geometry: foamJob -p -s cartesianMesh

Is there anything I am doing wrong ? or is there anyone who has faced a similar problem. Please advice.

Regards,

Naveen Hariprasad
__________________
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

Reply

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



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