CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Multizone case setup

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2020, 17:28
Question Multizone case setup
  #1
New Member
 
Join Date: Aug 2019
Location: London
Posts: 9
Rep Power: 6
Wenqiang is on a distinguished road
Hi,


Hope everything is good. Now I try to run a very simple test case with multizone.



I have attached the screenshot of the domain in this post. The domain is composed of two ducts, every duct has 6 surfaces: inlet and outlet, then the other 4 surfaces are all wall. What I did is to attach the inlet of zone 2 to the outlet of zone 1, and I can make sure that these two surface are exactly the same, they both have the same axial coordinates.


I generate the mesh in SU2 native format, and use markers like NZONE, IZONE as the tutorial online: https://su2code.github.io/docs_v7/Multizone/



I name the surface from 1 to 12. Face 1 is the inlet surface of zone 1, surface 2 is its outlet surface. Surface 3-6 are wall; Face 7 is the inlet surface of zone 2, Face 8 is the outlet surface of zone 2 and surface 9-12 are wall. In the .cfg file, I have following setup:


MULTIZONE = YES
MARKER_INTERNAL=(face2,face7)
MARKER_EULER= ( face3, face4, face5,face6,face9,face10,face11,face12 )


and for boundary conditions:
INLET_TYPE= TOTAL_CONDITIONS
MARKER_INLET= ( face1, 288.6, 102010.0, 1.0, 0.0, 0.0 )
MARKER_OUTLET= ( face8, 101300.0 )


This is a single physics simulation, both zones are stationary and there is special setup, so I guess I do not need any subcfg files.
I use "OUTER_ITER= 50" and try to run it, but it always diverges and crashes after about 10 iterations.



I do not know if my setup are suitable. I tested each single zone mesh and run it using exactly the same boundary condition, I can get reasonable results. So I think there is nothing wrong with the mesh. Could anyone tell me if I need to change anything in the .cfg file? I also attached it in this post (I rename it as two.txt, or it cannot be uploaded). Thank you.


kind regards,
Wenqiang
Attached Images
File Type: png Screenshot from 2020-05-20 22-27-06.png (61.1 KB, 27 views)
Attached Files
File Type: txt two.txt (6.8 KB, 8 views)
Wenqiang is offline   Reply With Quote

Old   May 20, 2020, 18:21
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
Hi,
You need to define the fluid interface between your zones using MARKER_ZONE_INTERFACE and MARKER_FLUID_INTERFACE.
MARKER_INTERNAL does not do anything, it is a "fictitious" boundary condition.
You can have a look at the examples in SU2/TestCases/sliding_interface.
pcg is offline   Reply With Quote

Old   May 21, 2020, 07:30
Default
  #3
New Member
 
Join Date: Aug 2019
Location: London
Posts: 9
Rep Power: 6
Wenqiang is on a distinguished road
Quote:
Originally Posted by pcg View Post
Hi,
You need to define the fluid interface between your zones using MARKER_ZONE_INTERFACE and MARKER_FLUID_INTERFACE.
MARKER_INTERNAL does not do anything, it is a "fictitious" boundary condition.
You can have a look at the examples in SU2/TestCases/sliding_interface.





Thank you so much for your reply. I checked the sliding plane example as you suggested. Then I put these two lines in my .cfg file as well as "MULTIZONE_SOLVER=BLOCK_JACOBI". But even I tried that, it still diverges. The density becomes very large.



This time I generated a much smaller mesh as following picture. So it is much quicker to test it. I also attached my .cfg file again, named as "two.txt". I also uploaded the mesh file I used here:


https://drive.google.com/open?id=1mE...A5R8wQhZERg6CE


As I mentioned, this zone1+zone2 mesh just comes from zone1, and I tested running zone 1 alone, everything is fine. Zone 2 mesh is just a copy of zone1 but the coordinates has been moved along the x direction to match surface 2 and surface 7.


So is there still anything wrong with my setup or mesh? Thank you so much.
Attached Images
File Type: png Screenshot from 2020-05-21 12-18-57.png (119.7 KB, 8 views)
Attached Files
File Type: txt two.txt (6.9 KB, 6 views)
Wenqiang is offline   Reply With Quote

Reply


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
Pressure instabilities with interDyMFoam for the floatingObject case nbadano OpenFOAM Running, Solving & CFD 15 October 15, 2021 06:35
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 15:13
Piston-Cylinder Pressure Driven Flow Case Setup Ballistics_Sim OpenFOAM Pre-Processing 0 February 2, 2018 09:11
Can`t Setup ONERA optimization case McAero SU2 6 November 15, 2017 08:29
OpenFOAM Case Setup Needed mpl CFD Freelancers 4 October 10, 2013 16:14


All times are GMT -4. The time now is 21:08.