|
[Sponsors] |
November 27, 2020, 03:40 |
cyclicAMI BC for Dynamic Mesh Refinement
|
#1 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 281
Rep Power: 12 |
Hi Foamers,
I hope everything is going well for you in this pandemic time. My question is about using CyclicAMI boundary condition along with dynamic mesh refinement tool. As we know, dynamic mesh refinement works based on a specified field and some refinement levels. This level can be saved in polymesh directory of every timestep by cellLevel files. In this regard, the attached image shows that my moving object, which the refinement is done based on that, is close to my periodic surface. However, we don't have the refinement on the other side. So can you please tell me whether there is any specific configuration in DynamicMeshDict for cyclicAMI BC? Thank you for your time in advance. Mohammad |
|
December 3, 2020, 14:21 |
|
#2 | |
New Member
Tamas Egeresi
Join Date: Nov 2014
Location: Budapest, Hungary
Posts: 14
Rep Power: 12 |
I guess, it is not possible to use dynamic mesh refinement on cyclicAMI interfaces. The cell to cell addressing is done at the beginning of the simulation, hence changing the mesh on AMI interfaces during the run is not acceptable. Therefore, the simulation will crash, in my opinion.
Quote:
__________________
Tamas Egeresi Senior Hydraulics Engineer CFD Egeresi www.cfdegeresi.freecluster.eu |
||
December 4, 2020, 00:06 |
|
#3 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 281
Rep Power: 12 |
I think you are wrong Tamas.
I am using dynamic mesh refinement with cyclicAMI without any problem. The issue is just with using the periodic cellLevel values at periodic sides. I believe cyclicAMI, in comparison to cyclic BC, is compatible with dynamic mesh refinement since it tries to match the different refined cells in the periodic sides. Mohammad |
|
December 4, 2020, 03:03 |
|
#4 |
New Member
Tamas Egeresi
Join Date: Nov 2014
Location: Budapest, Hungary
Posts: 14
Rep Power: 12 |
Hi!
You are right, sorry for my misunderstand. As far as I remember, the refinement is not detected at the other side of the cyclic boundary condition when using cyclicAMI. Only solution for that is using normal cyclic BC then the cell faces will find their corresponding cell faces at meshing (snappyHexMesh) phase, and a 1 to 1 connection will be set. Hence the refinement is detected on both sides.
__________________
Tamas Egeresi Senior Hydraulics Engineer CFD Egeresi www.cfdegeresi.freecluster.eu |
|
December 10, 2020, 01:22 |
|
#5 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 281
Rep Power: 12 |
I think something else is happening. Dynamic refinement takes place based on the specified field. If we use the cyclicAMI (or even cyclic), the field value would be transferred to the other side and the refinement happens at this side as well. However, my problem is something else. I have the moving object very close to periodic side. So this field is really close to the other side so that it is not yet transferred to that side. So it does not detect cycling until it passes the periodic boundary. The solution for this problem, as I've showed in my previous post, is setting the periodic boundary condition for the cellLevel parameter as well. The refinement method detects the need for refining based on this parameter.
Regarding using cyclic or cylicAMI I still believe that we just can use cyclicAMI boundary condition for the case with dynamic refinement since it needs to match the meshes with different shapes at these periodic boundaries. Cheers Mohammad Last edited by mostanad; December 10, 2020 at 03:13. |
|
October 1, 2022, 07:33 |
did you resolve that issue?
|
#6 |
New Member
Che
Join Date: Jul 2019
Posts: 3
Rep Power: 7 |
Hi there,
I'm facing the same problem, i.e., appling cyclic boundary conditions with dynamic mesh refinement. Best Che |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh sticking point | natty_king | OpenFOAM Meshing & Mesh Conversion | 11 | February 20, 2024 10:12 |
y+ = 1 boundary layer mesh with snappyHexMesh | Arzed23 | OpenFOAM Running, Solving & CFD | 6 | November 23, 2022 16:15 |
[snappyHexMesh] Edge Refinement | fracasce | OpenFOAM Meshing & Mesh Conversion | 3 | December 2, 2017 14:30 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
[snappyHexMesh] problems using snappyHexMesh 2.1.0 on a supercomputer | Sunxing | OpenFOAM Meshing & Mesh Conversion | 9 | September 20, 2014 10:30 |