|
[Sponsors] |
[mesh manipulation] Symmetry within SnappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 25, 2019, 09:55 |
Symmetry within SnappyHexMesh
|
#1 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Dear Community,
I am very basic user of snappyHexMesh, I am curious if in SnappyHexMesh (SHM) symmetry is possible. I am trying to generate a mesh for two identical batteries placed in a domain. A schematic picture is attached (sorry due to confidentiality I can't post the real picture). My job is to mesh the whole domain but due to the complex geometries of the batteries I just want to mesh half of the domain and by using some tools (mergeMesh stitchMesh) or by just using some symmetric boundary conditions I could simulate the flow for the whole domain. Thanks Owais |
|
December 20, 2021, 22:50 |
|
#2 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi,
Probably too late now, but if anybody else is looking, you can add the symmetry boundary condition under 'refinementSurfaces' at the required boundary as, patchInfo { type symmetry; } Dasith |
|
January 6, 2022, 05:47 |
|
#3 | |
Senior Member
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 7 |
Quote:
I might be incorrect but if i remember correctly you can not use symmetry in the refimenetSurfaces in snappy as any other constraint type boundary (i.e. symmetry, symmetryPlane, cyclic, clyclicAMI). what I do myself is create a dummy patch e.g. symm_1 with a patch type and then with createPatchDict transform it into sym_1 with a symmetry type. like this example of createPatchDict: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object createPatchDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // pointSync false; patches ( { name sym_1; patchInfo { type symmetry; } constructFrom patches; patches (symm_1); } ); // ************************************************************************* // Code:
createPatch -overwrite F. |
||
Tags |
mesh mani, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High nut values in random place and time | krzychu111 | OpenFOAM Running, Solving & CFD | 0 | January 9, 2019 09:42 |
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing | peterhess | OpenFOAM Meshing & Mesh Conversion | 2 | January 3, 2018 03:54 |
[snappyHexMesh] Strange SnappyHexMesh behavior at the symmetry plane | ripperjack | OpenFOAM Meshing & Mesh Conversion | 6 | March 3, 2017 14:39 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
[ICEM] Blocking and Symmetry | BrolY | ANSYS Meshing & Geometry | 32 | August 24, 2012 04:13 |