CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[CAD formats] Mesh for a solid described by parametric surfaces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2016, 19:50
Default Mesh for a solid described by parametric surfaces
  #1
New Member
 
Join Date: Aug 2016
Posts: 1
Rep Power: 0
Align is on a distinguished road
Hi all,

I'm sorry if this has been asked before, but I'm new at CFD and maybe I'm not searching with the appropriate language.

I need to describe the geometry for a problem were both the top and bottom layer of a solid are given by the parametric equations of an orientable surface (as defined in https://en.wikipedia.org/wiki/Parametric_surface)

For simplicity right now I can assume that:
1) The top and bottom layer are equal in shape (related by a simple vertical translation) and don't intersect, so that
2) The solid has constant "width" between the top and the bottom layer.
3) The bottom and top layers are in the simplest form r(x,y) = (x, y, f(x,y)) (i.e., both surfaces are graphs of functions)

My problem is that in practice the solid's limiting surface may end up being too complicated to be described using direct methods and I also may need to change the function f with relative ease. Later I'll need to mesh this surface (solid?), let's say to simulate fluid flow around it.

The simplest example would be describing a solid cube knowing the equations of the limiting planes. Then maybe I'd try to do a solid cylinder. My first guess is that it would be easy to describe the solid limits using a numerical software, let's say Octave, but I'm still not to sure on what to read to proceed or if this is the easiest way to achieve my goal.

My question is:
A) Starting with the parametric equations, how do you recommend I generate the solid? (software, method, format, ...)
B) What kind of mesh should I use?
C) How do I generate this mesh starting from the solid as in (A)?

Any help is greatly appreciated. Thank you for your time.
Align is offline   Reply With Quote

Old   August 24, 2016, 04:37
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
Hi,

just an idea (haven't done it myself yet):

You may use something like K3DSurf (http://k3dsurf.sourceforge.net/) to define your surface. The tool allows to export the generated surfaces as OBJ file, which is similar to STL. Both formats can be used in may 3D software packages. They can also be used in OpenFOAM meshers such as cfMesh (recommended because of ease of usage) or snappyHexMesh. There are probably other [OSS] programs that are capable of this too.

Good Luck!
Cutter
cutter is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 04:17
Two-sided Wall Heat Transfer BC - No Separate Solid Mesh and No Heat Transfer Coeff swahono OpenFOAM Running, Solving & CFD 10 October 15, 2018 05:43
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 07:05
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 00:27
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52


All times are GMT -4. The time now is 18:10.