|
[Sponsors] |
[Salome] Salome body fitting for OpenFOAM case |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 30, 2014, 23:30 |
Salome body fitting for OpenFOAM case
|
#1 |
Member
Matt
Join Date: Oct 2012
Posts: 39
Rep Power: 14 |
I am replicating a backward step model from a technical paper and would appreciate some help with Salome and OpenFOAM processes.
I have the backward step modeled up as three STEP files: the inlet section, the initial section after the step, and a buffer section. The only way I could seem to create a uniform grid was by using the "Body Fitting" mesh in Salome. Granted, I could easily do this with a blockMeshDict, but I'm trying to incorporate Salome for more complicated meshes, for use in a classroom setting. The problem with "body fitting" is that I cannot do "Create Group from Geometry" using groups created from the "Geometry" module. For some reason, it creates the groups, but they are empty and have a warning symbol on them. Unfortunately, this is the only way I know how to set up the Salome mesh for use with OpenFOAM's "ideasUnvToFoam". I tried doing "Create Boundary Elements", then creating a group using a filter for "Lying on Geometry". However, instead of getting a 2D mesh on the independent face used for the filter, it includes all 3D elements touching that face. Since the mesh is not discretized in the direction normal to the face, I essentially get a result that includes all of the original elements. I would appreciate any help. Thanks in advance. |
|
October 1, 2014, 05:53 |
|
#2 |
Senior Member
|
Hi,
there are two threads at salome forum http://www.salome-platform.org/forum...3165#686106236 http://www.salome-platform.org/forum...6311#767196430 you are not limited to use OpenFOAM's "ideasUnvToFoam" |
|
October 5, 2014, 13:26 |
|
#3 | |
Member
Matt
Join Date: Oct 2012
Posts: 39
Rep Power: 14 |
Quote:
|
||
October 5, 2014, 13:59 |
|
#4 | |
Member
Matt
Join Date: Oct 2012
Posts: 39
Rep Power: 14 |
Quote:
Then again, I could be interpreting the process incorrectly |
||
April 17, 2015, 08:35 |
|
#5 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
Were you able to solve this problem? I'm seeing the same issue.
|
|
March 17, 2016, 11:58 |
|
#6 |
Member
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 14 |
Hi,
Did you solve this problem ? Thank you, Mhrz |
|
March 23, 2016, 13:31 |
|
#7 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Hi,
Salome is great, but if you're looking for something that is free, simple to use and quick, that also handles complex geometry easily, I might suggest you have a look at the SketchUp Meshkit extension. I developed this extension and have used it to set up some very geometrically complex industrial OpenFOAM calculations over the past year. I know that others are using this in a classroom setting, as well. Extension Page: http://extensions.sketchup.com/en/co...y-tetgen-tools Video Tutorial: https://youtu.be/On3tg4kCchw Anyway, I hope this helps! Kind regards, Peter |
|
March 23, 2016, 14:40 |
|
#8 | |
Member
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 14 |
Hi,
Thank you for your answer. I see that the SketchUp Meshkit extension creates finite element mesh. Can this mesh be used to perform simulations using OpenFOAM (FVM) ? Thank you. Mhrz Quote:
|
||
March 23, 2016, 15:09 |
|
#9 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Hi Mehrez,
Yes, absolutely! I do 90% of my simulation work with OpenFOAM using SketchUp Meshkit to set them up. Meshkit basically provides a really easy way to use SketchUp (free) to draw/import/modify 3D geometry, set up boundary conditions, mesh refinement, patch names, etc... and export to the native meshing format of number of different free, opensource and commercial meshers. Right now you can use Gmsh (my personal preference since you can easily create boundary layers, generate hex meshes, etc.), TetGen, Netgen, and FRGEN3D native formats. All of these meshers can be used with OpenFOAM (or any finite volume code)! In fact, OpenFOAM comes standard with utilities to import meshes from these generators (gmshToFoam, tetgenToFoam, etc...). Anyway, I made this tool to support the kind of simulations I do (large scale engineering simulations (500M+ cells) with complex geometries and limited setup time). I hope it will be useful to others too! Kind regards, Peter |
|
April 10, 2024, 15:51 |
Solved
|
#10 |
New Member
Sami Safarini
Join Date: Sep 2021
Posts: 11
Rep Power: 5 |
I was able to solve the issue by first using Modification > Create boundary elements . Followed by Mesh>Create groups from geometry.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Need some advise] Am I doing right?? Simulating a rotational mixer | setasena | STAR-CCM+ | 4 | March 10, 2013 11:32 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
Standart test case for blunt body | Munikrishna | Main CFD Forum | 0 | August 17, 2005 10:24 |
c1 body test case | Eric Lenormand | Main CFD Forum | 0 | March 2, 2000 07:54 |
Ahmed bluff body test case | Richard Howard | Main CFD Forum | 0 | February 22, 2000 10:26 |