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

Problem with Multi-Zone .cfg

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2021, 10:56
Default Problem with Multi-Zone .cfg
  #1
New Member
 
Anonymous
Join Date: Oct 2021
Posts: 8
Rep Power: 4
CurvingFlow is on a distinguished road
I'm running a propeller simulation with SU2 on an HPC, eventually getting to run objective functions and adjoints with the solver. I have what seems to be a very simple problem to fix, but I'm getting an error when I tried to debug both my submission script and config file.
My mesh is in the appropriate SU2 format and has the appropriate zones marked in the combined mesh file. (zone_1.cfg is the zone with rotation and zone_2 is the zone with x direction flow.)

I'm think I'm following the steps here:
https://su2foundation.org/wp-content...6/Kattmann.pdf

I don't have a lot of experience running SU2 but and somewhat familiar with the CFD terminology in the configuration.

Here are parts of what I have in the zone configuration section and input/output of the main config file:

Code:
% ------------- MULTIZONE INFORMATION----------------------------- ------------%
%
% Enable multizone mode
MULTIZONE= YES
%
% Config list for zone specific options
CONFIG_LIST = (zone_1.cfg, zone_2.cfg)
%
MULTIZONE_SOLVER= BLOCK_JACOBI
%
% Number of outer iterations (Block-Gauss-Seidel)
OUTER_ITER = 1
%
% Number of internal iterations (dual time method)
% Inner iteration must be 1 for multizone computation.
INNER_ITER= 1
Code:
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
% Mesh input file
MESH_FILENAME= mesh_vol007.su2
%
% Mesh input file format (SU2, CGNS)
MESH_FORMAT= SU2

This is the error code that keeps popping up:

Code:
Error in "void CConfig::SetnZone()": 
-------------------------------------------------------------------------
Number of CONFIG_LIST must match number of zones in mesh file.
------------------------------ Error Exit -------------------------------
In the directory where I'm running from I have the full mesh file (mesh_vol007.su2, the main config file, and the two other config files for the respective zones. I am using this command to run:

Code:
enable_lmod
module load container_env su2/7.1.1
srun --mpi=pmi2 crun SU2_CFD mainConfigFile.cfg
Any help would be appreciated. Thanks in advance.
CurvingFlow is offline   Reply With Quote

Old   October 22, 2021, 04:23
Default
  #2
Member
 
na
Join Date: Jul 2018
Posts: 83
Rep Power: 7
TKatt is on a distinguished road
Hi,


out of the hip I am guessing you are missing the
Code:
NZONE= 2
part in your .su2 mesh. See Slide 7 in the presentation you already linked


best, tobi
TKatt is offline   Reply With Quote

Old   October 22, 2021, 09:53
Default
  #3
New Member
 
Anonymous
Join Date: Oct 2021
Posts: 8
Rep Power: 4
CurvingFlow is on a distinguished road
Nope I don't think so. Here's how the mesh file begins when I open it in a text editor.

Code:
NZONE = 2
IZONE = 1
%
% Problem dimension
%
NDIME= 3
%
% Inner element connectivity
%
NELEM= 11019177
14  112753 112754 112755 112756 112757    0
14  112754 112753 112758 112759 112757    1
14  112755 112754 112759 112760 112757    2
14  112756 112755 112760 112761 112757    3
14  112753 112756 112761 112758 112757    4
14  112762 112763 112764 112765 112766    5
CurvingFlow is offline   Reply With Quote

Old   October 22, 2021, 13:37
Default
  #4
New Member
 
Anonymous
Join Date: Oct 2021
Posts: 8
Rep Power: 4
CurvingFlow is on a distinguished road
While comparing files that have worked previously, I am suspecting that the syntax needs to be:

Code:
NZONE= 2
IZONE= 1
and not:

Code:
NZONE = 2
IZONE = 1
The addition of a space character before the equal sign may have triggered the error. I have not confirmed this yet, but I think this may be the solution.

Thanks for the help, by the way.
CurvingFlow is offline   Reply With Quote

Old   October 22, 2021, 15:09
Default
  #5
Member
 
na
Join Date: Jul 2018
Posts: 83
Rep Power: 7
TKatt is on a distinguished road
Yep, I can reproduce the issue on my side... this additional space for NZONE, IZONE or NDIME before the = sign makes the setup fail.


I'll take a look whether that is easily fixable. Until then it should work without this space
TKatt is offline   Reply With Quote

Reply

Tags
configuration file, mpi, multizone meshing


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
Problem in parallel processing [Process affinity not being set] Roh FLUENT 4 October 26, 2023 03:42
[Resolved] GPU on Fluent Daveo643 FLUENT 4 March 7, 2018 08:02
Converting multi zone date to ensight error peterhess OpenFOAM Post-Processing 0 June 4, 2017 21:32
[Commercial meshers] Problem converting fluent mesh vinz OpenFOAM Meshing & Mesh Conversion 28 October 12, 2015 06:37
Problem in fluid zone!!! STK FLUENT 2 September 1, 2004 15:27


All times are GMT -4. The time now is 03:10.