StitchMesh and Interfaces problem
Dear All,
after running fluentMeshToFoam and stitchMesh I get the following output from checkMesh: Code:
Create time Do I have to delete them from this file (and accordingly change the number of patches at the top of the file? And should i then always use ciclicAMI BC for them in the IO field files in the /0 directory? Actually I have changed the word interface to wall in the .msh file before running fluentMeshToFoam otherwise the interfaces wouldn't have been written to the boundary file and I would have not been able to run stitchMesh (no interfaces were found). Is this correct? Thank you in advance for your help. Regards, Luca |
Hi Luca,
Quote:
Quote:
Quote:
Bye! |
Dear All,
I found the solution to my problem. The mesh generated with Gambit contained two overlapping interfaces which has been defined as type interface. Before using stitchMesh I edited the .msh file and changed at the bottom of it interface to wall. Then I ran fluentMeshToFoam. Then with checkMesh I verified that I had two distinct regions, i.e. two separate volumes (*Number of regions: 2). Now I have modified the field files in the 0 directory (p, U etc.) according to the patches listed in the file ./constant/polymesh/boundary. I have assigned a boundary conditions to the patches INTERFACE-up and INTERFACE-down as well. After that I made the following steps (note that the directory is named 1 because of the deltaT in the controlDict. You can change it of course to obtain another directory name): Code:
stitchMesh INTERFACE-up INTERFACE-down I didn't remove the INTERFACE patches neither from the boundary file (even if their face number is zero (nfaces 0)) nor from the field files (p, U, etc.). ...and I could run my case with a non-conformal mesh. Hope it helps. Regards, Luca |
Quote:
If you want to remove the patches with 0 faces, you can run the command "createPatch" with this createPatchDict in your system/ directory: Code:
/*--------------------------------*- C++ -*----------------------------------*\ As you noticed, it is not absolutely needed for the simulation to run, but it makes it cleaner :) I hope that helps! Regards, Eloïse |
Dear Eloïse,
nice tip...I didn't know it but it works perfectly! Thanks a lot! Regards, Luca |
Hi,
Thanks. I followed the instruction and the interface is stitched as advertised. I am curious though: this process creates several more severly nonorthogonal faces (>70 degrees). Because I am running DES, I am worried that this would have adverse effects on the accuracy. Have you tried to compare this approach (which obviously works topologically), and the AMI approach by directly assigning BC to interfaces? Which one is more appropriate in terms of accuracy? |
All times are GMT -4. The time now is 11:13. |