|
[Sponsors] |
[mesh manipulation] refineMesh in parallel - cut on coupled patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 24, 2022, 05:24 |
refineMesh in parallel - cut on coupled patch
|
#1 |
New Member
Marius
Join Date: Aug 2020
Location: Germany
Posts: 11
Rep Power: 6 |
Hello,
I'm currently trying to run refineMesh in parallel after completing the castellated mesh step in snappyHexMesh. My goal is to refine the mesh in the x direction only. My refineMeshDict_xRefine looks like this: Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object refineMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // set xRefine; globalCoeffs { tan1 (1 0 0); tan2 (0 1 0); } ( tan1 ); useHexTopology true; geometricCut false; writeMesh false; // ************************************************************************* // Code:
runParallel refineMesh -overwrite -noFunctionObjects -dict system/refineMeshDict_xRefine Code:
[1] [1] [1] --> FOAM FATAL ERROR: [1] Cut (8143888 2468835) on face (0.055919118 0.18161516 0.0017083333) of coupled patch procBoundary1to0 is not consistent with coupled cut (1860044 8143888) [1] [1] From function void Foam::cellCuts::syncProc() [1] in file meshCut/cellCuts/cellCuts.C at line 256. [1] FOAM parallel run exiting Does anyone know how to prevent this error? |
|
October 21, 2024, 10:34 |
|
#2 | |
New Member
Join Date: Nov 2022
Posts: 4
Rep Power: 4 |
Quote:
you can try to run snappyHexMesh with only setting castellatedMesh as true, then use refineMesh to refine the mesh. After that, remove the cellLevel and pointLevel files in constant/polyMesh, and run snappyHexMesh again with snap as true. I solve the similar problem by doing these steps, hope it will help you. 1. blockMesh -dict ./system/blockMeshDict 2. snappyHexMesh -dict ./system/snappyHexMeshDict -overwrite 3. topoSet -dict ./system/topoSetDict 4. refineMesh -dict ./system/refineMeshDict -overwrite 5. cd ./constant/polyMesh && rm cellLevel && rm pointLevel 6. snappyHexMesh -dict ./system/snappyHexMeshDict.snappy -overwrite |
||
Tags |
refinemesh -parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
[mesh manipulation] multiple calls to refineMesh parallel w/ dict failing | Regis_ | OpenFOAM Meshing & Mesh Conversion | 2 | June 4, 2015 14:44 |
[Commercial meshers] Fluent msh and cyclic boundary | cfdengineering | OpenFOAM Meshing & Mesh Conversion | 48 | January 25, 2013 04:28 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |