|
[Sponsors] |
[mesh manipulation] MRF zone enclosed in another MRF zone |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 25, 2021, 15:08 |
MRF zone enclosed in another MRF zone
|
#1 |
New Member
Max
Join Date: Sep 2019
Posts: 8
Rep Power: 7 |
Dear forum,
For my case, I want to simulate a cornering situation for a racecar. To achieve this, a square domain is used, which is then implemented as an MRF. This all works great, however, to simulate the wheels, we also use an MRF zone. This seems to give a problem that openFOAM will not allow cells to be within two cellZones. I have tried to remove the wheel rotation zone from the whole domain, but this yields issues with surfacefeatureExtract dict. So, my question boils down to: "How to implement an MRF zone which is fully enclosed within another MRF zone". Below I will post relevant parts from the snappyHexMeshDict.log, MRFproperties and snappyHexMeshDict. snappyHexMesh.log part which shows no cells are located into the rotatingzones for the 4 wheels can be seen in attachment picture. SnappyHexMesh code for making the cellZones: Code:
rotatingzoneDomain { level (0 0); faceZone rotatingzoneDomain; cellZone rotatingzoneDomain; cellZoneInside inside; } rotatingzonerr { level (6 7); faceZone rotatingzonerr; cellZone rotatingzonerr; cellZoneInside inside; } rotatingzonefr { level (6 7); faceZone rotatingzonefr; cellZone rotatingzonefr; cellZoneInside inside; } rotatingzonerl { level (6 7); faceZone rotatingzonerl; cellZone rotatingzonerl; cellZoneInside inside; } rotatingzonefl { level (6 7); faceZone rotatingzonefl; cellZone rotatingzonefl; cellZoneInside inside; } Code:
#include "../Setup" MRF1 { cellZone rotatingzoneDomain; active yes; // Fixed patches (by default they 'move' with the MRF zone) nonRotatingPatches (inlet outlet lowerWall upperwall rotatingzonefr rotatingzonerr rotatingzonefl rotatingzonerl) ; origin ($X $Y 0); axis (0 0 1); omega $Omega; } MRF2 { cellZone rotatingzonefr; active yes; // Fixed patches (by default they 'move' with the MRF zone) nonRotatingPatches (mhubfr); origin ($WB $YoriginFwheelR $RwheelRoll); axis ($XaxisFwheelR $YaxisFwheelR $ZaxisFwheel); omega $FRwheel;// Rotational speed in rad/s } similar for the rest.... |
|
Tags |
mesh, mrf, mrfproperties, multiple reference frame |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Illegal cell label -1, fluent3DMeshToFoam | BenGher | OpenFOAM | 7 | October 10, 2023 01:02 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 02:08 |