|
[Sponsors] |
[dRInterfaceLib] dynamicRefineFvMesh with two regions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 14, 2017, 13:42 |
|
#41 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
OpenFOAM does not support 2D adaptive mesh refinement. So you cannot do it. So you have to develop your own library.
__________________
Keep foaming, Tobias Holzmann |
|
September 16, 2017, 15:38 |
|
#42 |
Senior Member
sandy
Join Date: Feb 2016
Location: .
Posts: 117
Rep Power: 10 |
as far as i know openfoam refinement works only for 3d cases. there is no refinement for 2d cases
|
|
November 29, 2017, 16:06 |
|
#43 |
Member
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 37
Rep Power: 10 |
Hello,
i have a question. I'm solving a spillway simulation with interFoam solver and i solve 59 seconds of simulation. After that (in 60th second) I would like to refine surface to obtain better (smoother) results but cells I want to refine are protected (300k cells) and refine doesn't work. Should I solve entire simulation with dynamicrefinement or is this problem somehow connected with mesh? lowerLimit for alpha is 0.2 and upper 0.6, maxCell refinement is 2000000. Thank you very much. Edit: Sorry, there was something wrong with simulation running. Refinement works, protected cells are near geometry surface and they are not hexahedral so protecting is on purpose. Last edited by indy07cz; November 30, 2017 at 05:38. |
|
March 27, 2018, 04:05 |
|
#44 | |
Member
Join Date: May 2016
Posts: 39
Rep Power: 10 |
Quote:
the refinement work in 3D, but I have been able to use it also in 2D axis-symmetry. I do not mind if the refinement is also in the third directions, since it still greatly reduces the amount of cells that need to be calculated. I can see that near the symmetry line you do not get the refinement. This is due to the fact that the cells there are not hexahedrons and are not set to be refined. Simplest way this can be resolved is by doing a small cut of the bottom cells (e.g. 1% of length) which can be done with extrudeMeshDict. In this way you basically turn all the bottom cells to hexahedrons. (Just be careful that this cut does not change your case in any significant way) I did a "damBreak" test, to test if Tobias's interface refinement behaves properly also in wedge and it does (at least for a simple case like this). See the attached picture. The only problem with doing this kind of refinement in wedge is that you get nonAlignedEdges where the refinement happens, which can be problematic. If anybody knows how to resolve this I would much appreciate it (2D refinement would ?). Hope this helped, cheers |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] multiple regions | Tobi | OpenFOAM Meshing & Mesh Conversion | 56 | March 29, 2020 05:53 |
[ANSYS Meshing] ICEM CFX Primitive Regions Appearing after Smoothing | syble | ANSYS Meshing & Geometry | 1 | July 29, 2016 17:29 |
[CAD formats] Clean / Repair STL file with multiple regions on command line | matthiasd | OpenFOAM Meshing & Mesh Conversion | 6 | May 24, 2016 07:51 |
Determining the calculation sequence of the regions in multe regions calculation | peterhess | OpenFOAM Running, Solving & CFD | 4 | March 9, 2016 04:07 |
chtMultiRegionFoam different properties in (fluid) region(s) | volker1 | OpenFOAM Pre-Processing | 3 | February 4, 2015 07:46 |