|
[Sponsors] |
Creative Fields releases cfSuite 1.0 and cfMesh 1.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 6, 2014, 10:54 |
|
#21 | |
Member
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12 |
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:
|
||
November 6, 2014, 11:35 |
|
#22 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
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) |
|
November 6, 2014, 18:13 |
cfMesh patches and cfSuite installation
|
#23 | |
Senior Member
|
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:
|
||
December 9, 2015, 10:42 |
|
#24 | |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
Quote:
|
||
December 9, 2015, 11:01 |
|
#25 |
Senior Member
|
||
December 16, 2016, 04:28 |
parallel meshing in cfMeshv1.1.1 for windows
|
#26 | |
New Member
naveen
Join Date: Nov 2016
Posts: 3
Rep Power: 10 |
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:
Is there anything I am doing wrong ? or is there anyone who has faced a similar problem. Please advice. Regards, Naveen Hariprasad |
||
December 17, 2016, 11:03 |
|
#27 | |
Senior Member
|
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:
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
||