|
[Sponsors] |
[mesh manipulation] extrudeMesh limits Adaptive/Dynamic Mesh Refinenemt |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 22, 2017, 09:31 |
extrudeMesh limits Adaptive/Dynamic Mesh Refinenemt
|
#1 |
Member
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 11 |
Dear Foamers,
I have an issue using the utility 'extrudeMesh' (foam version 1606+ or 4.1): Using Snappy works fine for dynamic mesh refinement (or adaptive mesh refinement, AMR), like here http://www.openfoam.com/version-v1606+/meshing.php The problem occurs if 'extrudeMesh' is used after using Snappy - all cells with a hanging node will become protected from refinement. I prepared a simple case to demonstrate this problem. This case is based on the motor bike tutorial: $FOAM_TUTORIALS/multiphase/interDyMFoam/ras/motorBike in version 1606 (see link above). It also works with version 4.1. This case can be downloaded here: https://www.dropbox.com/s/3g40075603...rBike.zip?dl=0 Two figures illustrate this problem. The grey colored cells show the 'protectedCells' which cannot be refined. Firstly, this result is gained for the standard tutorial case: Secondly, the following figure shows the result after 'extrudeMesh' was used (one cell layer is extruded from the top boundary): Three scripts lead to different results: - 'runscript_likeTutorial': creates more or less the tutorial case (corresponds to the first figure). - 'runscript_extrude1/2': uses 'extrudeMesh' in two different ways (lead to second figure). Question: How can you use 'extrudeMesh' and dynamic mesh refinement together? Best Regards, Peter Details: 1.) One problem is that the fields cellLevel and pointLevel in the directory constant/polyMesh need to be deleted for 'interDyMFoam'. In 'runscript_extrude1' they are deleted, in 'runscript_extrude2' the cellLevel field is kind of reconstructed with the 'refinementLevel'-utility. Both do not work (-> many protected cells). Remarks: same question asked here but not answered yet unfortunately: extrudeMesh and here: Adaptive mesh refinement I also asked this question on the ESI Foam help page https://develop.openfoam.com/Develop...lus/issues/471 Please let me know if you have an idea - I am stuck here... |
|
January 25, 2018, 11:39 |
Problem solved ?
|
#2 | |
Member
Paul Palladium
Join Date: Jan 2016
Posts: 94
Rep Power: 10 |
Did you get any solution to your problem ? I am facing the same problem.
Moreover when using interDyMFoam (and without extrudeMesh), non pure hexahedron cells are not refined (cells at junction between 2 different level). I tried to use the option mergePatchFaces of SHM without any change on the results. The debugging option of dynamicRefineFvmesh gave me : Quote:
Faust Last edited by Fauster; January 26, 2018 at 05:40. |
||
January 26, 2018, 05:43 |
|
#3 | |
Member
Paul Palladium
Join Date: Jan 2016
Posts: 94
Rep Power: 10 |
Quote:
EDIT : I find the problem. It comes from how the script (./Allrun) is written. I will come back when I would have clearly find out the mistake. Last edited by Fauster; January 26, 2018 at 08:31. Reason: Origine of the problem |
||
January 29, 2018, 04:42 |
|
#4 |
Member
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 11 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[snappyHexMesh] Problem with extrudeMesh sHM 2D airfoil mesh | ssss | OpenFOAM Meshing & Mesh Conversion | 2 | September 1, 2014 14:12 |
[mesh manipulation] Problem with extrudeMesh sHM 2D airfoil mesh | ssss | OpenFOAM Meshing & Mesh Conversion | 0 | September 1, 2014 03:57 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |