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

Multi-zone Simulations

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2019, 04:26
Default Multi-zone Simulations
  #1
New Member
 
Marc Latour
Join Date: Jul 2019
Posts: 5
Rep Power: 2
mlatour is on a distinguished road
Hi everyone,

What I am currently trying to do is run a very simple multi-zone simulation of a passage with Euler walls at the top and bottom (see attachment). Itís a compressible Euler simulation with horizontal flow at the inlet at M=0.4. My config for the boundaries are as follows:

% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
% Euler wall boundary marker(s) (NONE = no marker)
MARKER_EULER= ( wall1_1, wall1_2, wall1_3 )
%
% Zone interface boundary marker(s) (NONE = no marker)
MARKER_INTERFACE= ( outflow_1, inflow_2, outflow_2, inflow_3 )
%
% Inlet boundary type (TOTAL_CONDITIONS, MASS_FLOW)
INLET_TYPE= TOTAL_CONDITIONS
%
% Inlet boundary marker(s) with the following formats (NONE = no marker)
% Total Conditions: (inlet marker, total temp, total pressure, flow_direction_x,
% flow_direction_y, flow_direction_z, ... ) where flow_direction is
% a unit vector.
MARKER_INLET= ( inflow_1, 297.4, 113134.0, 1.0, 0.0, 0.0 )
%
% Outlet boundary marker(s) (NONE = no marker)
% Compressible: ( outlet marker, back pressure (static thermodynamic), ... )
MARKER_OUTLET= ( outflow_3, 101325.0 )
%
% Interface (s) definition, identifies the surface shared by
% two different zones. The interface is defined by listing pairs of
% markers (one from each zone connected by the interface)
% Example:
% Given an arbitrary number of zones (A, B, C, ...)
% A and B share a surface, interface 1
% A and C share a surface, interface 2
% Format: ( marker_A_on_interface_1, marker_B_on_interface_1,
% marker_A_on_interface_2, marker_C_on_interface_2, ... )
%
MARKER_ZONE_INTERFACE= ( outflow_1, inflow_2, outflow_2, inflow_3 )
%
% Specifies the interface (s)
% The kind of interface is defined by listing pairs of markers (one from each
% zone connected by the interface)
% Example:
% Given an arbitrary number of zones (A, B, C, ...)
% A and B share a surface, interface 1
% A and C share a surface, interface 2
% Format: ( marker_A_on_interface_1, marker_B_on_interface_1,
% marker_A_on_interface_2, marker_C_on_interface_2, ... )
%
MARKER_FLUID_INTERFACE= ( outflow_1, inflow_2, outflow_2, inflow_3 )
%
% Kind of interface interpolation among different zones (NEAREST_NEIGHBOR,
% ISOPARAMETRIC, SLIDING_MESH)
KIND_INTERPOLATION= NEAREST_NEIGHBOR
%

I expected this to work as all the interfaces and zones have been defined and the interpolation is given as nearest neighbor. Unfortunately when I run it I get a segmentation fault (see attachment) in the SetnSlidingStates function. I canít seem to figure out what exactly this does, but I am guessing it has to do with transfer of information from one zone to the next. This simulation is not for turbomachinery, so I thought it would be quite simple (adding turbomachinery sliding mesh configurations to the config file does not resolve this issue).

When I leave MARKER_ZONE_INTERFACE out the simulation runs but immediately starts diverging and doesnít give a normal result; it also does not do multiple zone preprocessing. I think this marker needs to stay there, but I am not sure what exactly the difference is between this one and MARKER_FLUID_INTERFACE.

I was wondering if you could help me understand how exactly I should set up a simulation for correctly transferring flow from one zone to the next and maybe shed some light on why itís going wrong.

Kind Regards,
Marc
Attached Images
File Type: jpg multi-zone_mesh.jpg (203.3 KB, 14 views)
File Type: jpg segmentation_fault.jpg (100.7 KB, 12 views)
mlatour is offline   Reply With Quote

Old   July 19, 2019, 06:34
Default
  #2
pcg
Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 73
Rep Power: 4
pcg is on a distinguished road
Hi Marc,
Comparing the settings you have with the ones in test case "sliding_interface/rotating_cylinders_WA.cfg" the only difference I see is the kind of interpolation (the test case uses WEIGHTED_AVERAGE).
But maybe there are others, I would try to mimic one of those testcases as closely as possible and then customize the options one by one. SU2 is not great in issuing warnings about incompatible settings unfortunately.
Cheers,
Pedro
pcg is offline   Reply With Quote

Old   July 22, 2019, 04:55
Default
  #3
New Member
 
Marc Latour
Join Date: Jul 2019
Posts: 5
Rep Power: 2
mlatour is on a distinguished road
Hey Pedro,

Thanks for the advice. I've tried a couple of the test cases and have seen that they differ in configuration, even though they all contain multiple zones.
I now seem to be getting convergence for my simulations, and found that it was because I had used the marker MARKER_INTERFACE for the zone and fluid interfaces, which was apparently not supposed to be done. Getting rid of this marker gives me the results I expected.

Regards,
Marc
mlatour 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
[mesh manipulation] RefineMesh Error and Foam warning jiahui_93 OpenFOAM Meshing & Mesh Conversion 4 March 3, 2018 12:32
temp contour lines are not continuous at the interface of 2 zone!! [PLEASE HELP] Hadi Khabbaz FLUENT 5 March 8, 2016 20:10
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 13:25
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 02:08


All times are GMT -4. The time now is 14:02.