|
[Sponsors] |
[snappyHexMesh] Adding Layers to searchablePlate |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 19, 2020, 07:40 |
Adding Layers to searchablePlate
|
#1 |
Member
Callum Guy
Join Date: Dec 2019
Location: Scotland
Posts: 44
Rep Power: 6 |
Hi Foamers,
I'm simulating a two-phase flow and I would like to refine the free surface such that there is cell growth from the initial phase boundary (free-surface). I'm trying to creating a searchablePlate and add layers to it, but I'm getting no refinement so far. I've attached a copy of my blockMesh and SHM files if anyone could point me in the right direction. Especially if I'm going about it the wrong way! Cheers Callum |
|
November 19, 2020, 11:23 |
|
#2 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9 |
I assume that adding layers is a function for patches of wall type, where a boundary layer is needed. This function is not designed for purely mesh refinement and result cells usually have large aspect ration. To refine mesh about the free surface, have you tried Region-wise refinement?
__________________
Charles L. |
|
November 19, 2020, 11:52 |
|
#3 |
Member
Callum Guy
Join Date: Dec 2019
Location: Scotland
Posts: 44
Rep Power: 6 |
Hi Marpole,
Yes I did try regional and have made do with that. I would be interested to know if the layering can be done. I did manage to get something like it, however if you use a searchablePlate that spans the whole domain, it essentially cuts the domain of at the plate meaning you have to stop short of a domain boundary (see pictures). Would be interested to see if it's possible! Cheers Callum |
|
November 19, 2020, 12:55 |
|
#4 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 148
Rep Power: 9 |
I tested your idea and understand your question. When you span the plate to the whole domain, the searchable plate becomes a new wall or new domain boundary that mesh stops at. At this moment, adding layers also become possible/available. So, the solution is to do regional refinement.
__________________
Charles L. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiRegionHeater error | ordinary | OpenFOAM Running, Solving & CFD | 2 | June 9, 2020 17:43 |
[snappyHexMesh] problem with adding layers | duguyoudi | OpenFOAM Meshing & Mesh Conversion | 6 | February 27, 2020 22:24 |
conjugateHeatFoam + interFoam | farhagim | OpenFOAM Programming & Development | 15 | July 19, 2016 07:55 |
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh | Elise | OpenFOAM Meshing & Mesh Conversion | 1 | April 22, 2013 02:32 |
[snappyHexMesh] Effect of adding layers with sHM | Nucleophobe | OpenFOAM Meshing & Mesh Conversion | 4 | August 20, 2012 16:45 |