Moderator: oliveroxtoby
If I understand the report correctly, we have implemented an equivalent of this in most respects:Kunda1 wrote: ↑Fri May 26, 2017 1:09 pmQuick question: how does CFDFoam relate to issue #2459 in regards to what has been implemented?
I think this is catered for by our CFD boundary conditions where groups of faces can be selected, assigned a boundary condition, and are coloured accordingly.his is a proposal to add a couple of features to ease the use of transferring Part-based geometry from FreeCAD to openFOAM. It would include basically:
- An OpenFOAM object that can
- hold regions (groups of faces), and associate a tag/label and a color with each region
- display the tags in the 3D view
- offer graphical tools to select and manage the regions
In the course of the present work interfacing with the cartesian meshers cfMesh and snappyHexMesh, this has been done but using stl rather than obj format.- An alternative OBJ exporter that
- scales everything in meters
- exports the different regions as OBJ groups
Sorry, it's not very clear at the moment. As soon as we're done with the current development sprint we will update Readmes etc. with latest installation instructions and requirements.
wafi wrote: ↑Wed Jun 07, 2017 7:04 amHi Oliver
that was not your fault. I have read in a CfD forum, that cfMesh would be implemented in the new openfoam, but it is not. To install cfMesh to openfoam is .... tricky ... perhaps it would be a good idea to give users some comments how to do it. On my Linux computer I had minor problems, on my window computer I failed.
But in general I impressed. specially the way to mesh the boundary layers with refinement. One idea would be to change from picking the single faces to picking all faces of an object and if necessary to remove single faces from the list. Would make life easier, i.e. a rudder of a sailboat has 41 faces, keel some more, the hull three faces, where I need 2, so to kill this one not necessary face is easier than to pick the huge amount of faces.
I disagree. The problem is not the meshing, that works fine, with the exception of difficult way of clicking on each face. The problem is the boundary condition, where i.e. vessels hull starboard side as one face, connected with the upper boundary of the box, will be placed as default boundary condition instead of hull with non viscose boundary condition. In the meshing itself this wall works fine, but if placed in the boundary conditions I think the main problem is the numbering of the faces, because they are only named face... but clicking on a face it`s called rumpf.face98. So maybe one solution could be to change the numbering i.e. the box in the BooleanFragments would get the no. 1000 and faces of this box, face1001, face1002 ... the hull i.e. would get the 2000 ... with face2001, face2002 .... instead of i.e. Part__Feature002:Face1, which is ok for FreeCAD but not for openfoam. In this case the numbers should be clear. Only one idea to solve this problem.qingfeng.xia wrote: ↑Mon Jun 12, 2017 12:59 pmby qingfeng.xia » Mon Jun 12, 2017 2:59 pm
For near wall boundary layer refining, I once consider using GMSH, but I do not know how to reference the face by number in the solid (which seems exported as brep file). I stuck there without any progress.
Tomorrow there should be new commits in master to make this easy via a button in the Preferences page for CFD. Under blueCFD some transformations are needed to the source and this is catered for automatically.wafi wrote: ↑Wed Jun 07, 2017 7:04 amthat was not your fault. I have read in a CfD forum, that cfMesh would be implemented in the new openfoam, but it is not. To install cfMesh to openfoam is .... tricky ... perhaps it would be a good idea to give users some comments how to do it. On my Linux computer I had minor problems, on my window computer I failed.
An excellent idea, we'll put that on the list. Probably won't get to it very soon so you are welcome to submit a patch if you would like to.But in general I impressed. specially the way to mesh the boundary layers with refinement. One idea would be to change from picking the single faces to picking all faces of an object and if necessary to remove single faces from the list. Would make life easier, i.e. a rudder of a sailboat has 41 faces, keel some more, the hull three faces, where I need 2, so to kill this one not necessary face is easier than to pick the huge amount of faces.