CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Mixing plane in OpenFOAM-v2412 - issue with twg_checkMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2025, 13:55
Default Mixing plane in OpenFOAM-v2412 - issue with twg_checkMesh
  #1
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,352
Rep Power: 32
Yann will become famous soon enoughYann will become famous soon enough
Hello all,

I'm currently experimenting with mixing planes in OpenFOAM-v2412 thanks to the port from foam-extend provided by the Turbomachinary Special Interest Group.

I'm simulating an axial fan and my air intake is basically a pipe at the center of the fan. So I end up with the axis of rotation being inside one of the faces of my mixing plane interface. (see 1st pic attached)
This is covered by the very useful documentation here:

Quote:
twg_checkMesh

The standard application checkMesh was modified to run additional tests on mixingPlane patches when this application is invoked with the -allTopology command-line option.

A new topology test was added specifically for mixingPlane patches to detect faces intersecting the rotation axis of the mesh, but without any discretization point at r=0. If that situation is detected, a new configuration file for the application twg_modifyMesh will be generated in order to identify the faces in problem and specify a new discretization location for triangulation.
My issues is that the twg_checkMesh -allTopology command only detect a problem on one of the 2 patches of the mixing plane interface:

Code:
    coupledPolyPatch patches:
	Checking mixingPlane patch : mrf-interface-out_master for facet intersecting the r=0 axis.
    Checking mixingPlane patch : mrf-interface-out_slave for facet intersecting the r=0 axis.
    Checking mixingPlane patch : mrf-interface-in_master for facet intersecting the r=0 axis.
*** Not OK. MixingPlane patch mrf-interface-in_master requires a discretization point at r=0: (0 0.500578 0.44) for face index: 17434195
*** Writing a new modifyMeshDict entry for fixing this issue
    Checking mixingPlane patch : mrf-interface-in_slave for facet intersecting the r=0 axis.
    Checking mixingPlane patch : mrf-interface-side_master for facet intersecting the r=0 axis.
    Checking mixingPlane patch : mrf-interface-side_slave for facet intersecting the r=0 axis.
The mrf-interface-in_slave patch is not supposed to pass the test and I don't know why twg_checkMesh fails to detect it. master and slave patches are very similar and on this example the axis of rotation is close to the center of the face.
The following step with twg_modifyMesh is working fine and it does retriangulate the face to add a point on the axis of rotation (2nd pic).

Has anyone ever experienced this or has an idea of where is the issue?

Thanks,
Yann
Attached Images
File Type: jpg intake_interf.jpg (148.5 KB, 9 views)
File Type: png intake_interf_modified.png (121.7 KB, 9 views)
Yann is offline   Reply With Quote

Old   October 18, 2025, 09:25
Default
  #2
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 335
Rep Power: 23
mbeaudoin will become famous soon enough
Hello,

This looks like a bug (maybe), or a tolerance parameter issue related to this specific mesh (probably).

Would you mind sharing your mesh? It would be easier for me to check this.

Martin
mbeaudoin is offline   Reply With Quote

Old   October 18, 2025, 09:36
Default
  #3
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 335
Rep Power: 23
mbeaudoin will become famous soon enough
And by the way, the best way to report those kind of issues with the TurboWG version of the mixingPlane is to use the TurboWG Ticket tracker tool: https://sourceforge.net/p/turbowg/tickets/

I will receive a message as soon as you submit your ticket. Much quicker...

Martin

Quote:
Originally Posted by mbeaudoin View Post
Hello,

This looks like a bug (maybe), or a tolerance parameter issue related to this specific mesh (probably).

Would you mind sharing your mesh? It would be easier for me to check this.

Martin
mbeaudoin is offline   Reply With Quote

Old   Today, 14:03
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,352
Rep Power: 32
Yann will become famous soon enoughYann will become famous soon enough
Hello Martin,

Thanks for your answer and sorry for the delay.
I had to put this project on hold and I just got back to it.

I wasn't sure if it was worth opening a ticket on the bug tracker as it might just be a mistake on my side.

However I followed your advice and created a ticket with a simplified case reproducing the issue here: https://sourceforge.net/p/turbowg/tickets/11/

Thanks for your help!
Yann
Yann is offline   Reply With Quote

Old   Today, 14:08
Default
  #5
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 335
Rep Power: 23
mbeaudoin will become famous soon enough
Hello Yann,

Thank you for sharing a simplified mesh replicating the problem. I'll have a look.

Martin

Quote:
Originally Posted by Yann View Post
Hello Martin,

Thanks for your answer and sorry for the delay.
I had to put this project on hold and I just got back to it.

I wasn't sure if it was worth opening a ticket on the bug tracker as it might just be a mistake on my side.

However I followed your advice and created a ticket with a simplified case reproducing the issue here: https://sourceforge.net/p/turbowg/tickets/11/

Thanks for your help!
Yann

Last edited by mbeaudoin; Today at 15:44.
mbeaudoin is offline   Reply With Quote

Reply

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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 12:50
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Mixing plane geometry definition Hbet FLUENT 0 January 18, 2002 08:16


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