CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Simple Workflow for Non-Conformal Mesh in OF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2025, 07:15
Arrow Simple Workflow for Non-Conformal Mesh in OF
  #1
Member
 
Umut
Join Date: May 2011
Posts: 39
Rep Power: 16
Umut is on a distinguished road
Dear Foamers,

I want to learn/prepare a workflow for non-conformal mesh in OF. As a test case, I chose a 2D pipe (horizontal box) geometry. I created three meshes: meshA, meshB, and meshC, where one box ends and the next begins.
  1. I changed boundary names in all meshes, and modified meshB number of cells to make the case non-conformal.
  2. I then merged them into meshMaster, ending up with a case containing three regions (see the image at the end).
  3. I attempted to turn the AMI patches into “cyclicAMI type” using createPatch. This is where I failed. (please see the createPatchDict file in meshMaster/system)
createPatch either failed or only operated on region0, while my case has three regions.

I uploaded the case files. You can run run.sh to reproduce my steps. I feel like I am missing something very trivial, but I’m stuck nonetheless.

Could you please help me or at least nudge me in the right direction?

Cheers,

Umut

Note: I dont think chtMultiRegion cases can be a good example, as I am only looking for a simple non-conformal workflow.

Attached Files
File Type: zip nonConformalPipe.zip (20.4 KB, 0 views)
Umut is offline   Reply With Quote

Old   September 16, 2025, 10:12
Default
  #2
Member
 
Umut
Join Date: May 2011
Posts: 39
Rep Power: 16
Umut is on a distinguished road
Soon after I asked the question, I found the solution. As I suspected it was very trivial, yet it cost me a day to find it.. ups. I'm sharing the solution hoping that no one needs it yet can find it here still.

Solution:
Instead of using createPatchDict, I used changeDictionaryDict

U field:
Umut is offline   Reply With Quote

Reply

Tags
createpatch, cyclicami, multiple regions, non-conformal, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Surface mesh not respecting line elements when making conformal quad/tri mesh RomThay ANSYS Meshing & Geometry 0 March 15, 2024 14:29
flow over cylinder in openFoam saeed jamshidi OpenFOAM Pre-Processing 3 August 11, 2023 16:16
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
[ICEM] Hybrid mesh with conformal interface and matching boundary layer expansion jgross ANSYS Meshing & Geometry 1 February 5, 2019 14:07


All times are GMT -4. The time now is 23:01.