CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Cyclic AMI interface on mesh generated using gmsh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2024, 03:17
Default Cyclic AMI interface on mesh generated using gmsh
  #1
Member
 
Divyaprakash
Join Date: Jun 2014
Posts: 77
Rep Power: 12
Divyaprakash is on a distinguished road
I want to run a simple case of a rotor rotating in a cavity. I am facing the following issue.
The circular boundary is the interface I want to use for AMI.

This boundary is shared between the two volumes (Outer and inner), which I name separately in the python script.

The interface surface tag is however shared between the two volumes. When I run gmshToFoam, I get the following error.
"Cannot interpret multiple physical surfaces associated with one surface on line number 105"

So how do i get around this issue? I have attached the script I am using to generate the mesh.

TL;DR: Is it possible to generate AMI interface on a mesh created using gmsh?
Attached Images
File Type: png Screenshot from 2024-11-27 12-43-54.png (68.0 KB, 7 views)
Attached Files
File Type: zip demomesh.zip (2.1 KB, 3 views)
Divyaprakash is offline   Reply With Quote

Old   March 6, 2025, 17:20
Default Generating AMI interface on gmsh
  #2
New Member
 
José Messias
Join Date: May 2018
Location: Viana do Castelo, Portugal
Posts: 4
Rep Power: 8
jmessiasrjr is on a distinguished road
Hello,

Unfortunately, the only way to assign two physical groups on the same boundary with gmsh (AMI interface) is generating individual mesh files for the rotor and the stator. Therefore, you have to create two separate python scripts, one for each of them.

Generating multiple internal walls using gmshToFoam

For joining them, you need to run gmshToFoam for both mesh files in two separate openfoam tutorial cases (you can use a "dummy" tutorial for the second one) and then run mergeMeshes as the following forum's suggestion:

How to use mergeMeshes ?? Examples?
Attached Files
File Type: zip demomesh_split.zip (4.4 KB, 0 views)
jmessiasrjr is offline   Reply With Quote

Reply

Tags
ami, gmsh, interface

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
Actuator disk mesh generation problem with GMSH tgovoni SU2 0 August 30, 2023 09:37
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" GuiMagyar OpenFOAM Meshing & Mesh Conversion 3 August 4, 2023 13:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
[ANSYS Meshing] Combine solid mesh generated in workbench mesh and fluid mesh in fluent meshing ? RPjack ANSYS Meshing & Geometry 2 August 27, 2015 10:33
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38


All times are GMT -4. The time now is 20:47.