|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Feb 2013
Posts: 6
Rep Power: 2 ![]() |
Hi everybody,
I have a rather strange problem, namely, I have a 3D geometry but I want to perform a 2D simulation based on it. It would be a start if I could use the setSet or a similar utility to extract only my boundary faces (at one side) and use that as my 2D mesh, but I really don't know how to start - has anyone done this before? Or is there another way to get a 2D geometry? Thanks a lot, Natalie |
|
|
|
|
|
|
|
|
#2 |
|
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 63
Rep Power: 2 ![]() |
how do you create your mesh before. in snappyhexmesh you can for example also create a 2d mesh when the front and back faces are empty and nly 1 cell in the depth.
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2013
Posts: 6
Rep Power: 2 ![]() |
Hi!
I export my mesh from Altair Hypermesh. It provides the possibility to export geometry in an OF format, but, as far as I know, for this option I need a tetrahedral volume mesh. SnappyHexMesh exports also a 2D geometry to every 3D geometry it creates? Maybe I should write to the Hypermesh support and ask whether this option is also available in Hypermesh. Kind regards, Natalie |
|
|
|
|
|
|
|
|
#4 |
|
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 63
Rep Power: 2 ![]() |
if you want to run a 2d simulation and want you use snappyhexmesh for meshing. you only have to be sure that your patches are defined the right way. so you can run snappy hexmesh and get no refinement in the third dimensiobns. what does your mesh in your third dimension looks like? if you only have 1 element you should run a 2d simulation by setting the front and back face to "empty"
|
|
|
|
|
|
|
|
|
#5 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,118
Rep Power: 19 ![]() |
Hi Natalie,
Potentially, you could use the utility "extrudeMesh", which are located in Code:
<OpenFOAM>/applications/utilities/mesh/generation/extrudeMesh Code:
Extrude mesh from existing patch (by default outwards facing normals;
optional flips faces) or from patch read from file.
Note: Merges close points so be careful.
Type of extrusion prescribed by run-time selectable model.
Niels |
|
|
|
|
|
|
|
|
#6 |
|
New Member
Join Date: Feb 2013
Posts: 6
Rep Power: 2 ![]() |
Actually, I have only 1 element in the third direction and I've tried just setting the front and back face to empty.. seems I got it wrong somehow, I will have a look at the tutorials.
@A Wendy: Can I import my 3D geometry into snappyHexMesh and get somehow a 2D mesh by extracting patches? Or what do you mean? Thanks a lot, Natalie |
|
|
|
|
|
|
|
|
#7 | |
|
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 63
Rep Power: 2 ![]() |
Quote:
you can have a look a at this example I created http://ubuntuone.com/722FQ4i7HA8A6KVDsVbYs4 best wishes Andy |
||
|
|
|
||
|
|
|
#8 |
|
New Member
Join Date: Feb 2013
Posts: 6
Rep Power: 2 ![]() |
Hi!
I'm afraid my browser does not find the homepage you posted a link to .. could you copy the example somehow into this forum? Thanks, Natalie |
|
|
|
|
|
|
|
|
#9 | |
|
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 63
Rep Power: 2 ![]() |
Quote:
i cleaned up my webspace. here is the new link http://ubuntuone.com/3kPBj7ob4yfD8bcHMzZyFK Andy |
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 04:24 |
| how to set periodic boundary conditions | Ganesh | FLUENT | 12 | April 10, 2013 00:44 |
| Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Native Meshers: snappyHexMesh and Others | 8 | September 13, 2012 09:28 |
| 2D Mesh Generation Tutorial for GMSH | aeroslacker | Open Source Meshers: Gmsh, Netgen, CGNS, ... | 12 | January 19, 2012 03:52 |
| basic of mesh refinement | arya | CFX | 4 | June 19, 2007 12:21 |