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

.cfg issues

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2019, 16:52
Unhappy .cfg issues
  #1
New Member
 
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7
mhollander is on a distinguished road
Hi All,


I'm having some trouble with running a SU2 (6.2) simulation with a mesh generated with gmsh.



I have attached the .cfg (in .txt format as this forum won't let me upload anything with a .cfg extension) file here.



Whenever I try to run SU2, I end up getting the following:


...


Error in "short unsigned int CConfig::GetMarker_CfgFile_TagBound(std::__cxx11:: string)":
-------------------------------------------------------------------------
The configuration file doesn't have any definition for marker inlet
------------------------------ Error Exit -------------------------------




Has anyone else had this issue?
Attached Files
File Type: txt fairing.txt (8.5 KB, 18 views)
mhollander is offline   Reply With Quote

Old   June 24, 2019, 17:50
Default
  #2
Senior Member
 
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7
wallym is on a distinguished road
Hello,


I took a look at your cfg file and it seems there is corresponding boundary conditions for the inlet of your geometry. From what I can gather, you should have have something along the lines of MARKER_INLET(inlet,x,x,x,x).
wallym is offline   Reply With Quote

Old   June 24, 2019, 18:06
Default
  #3
New Member
 
Moshe Hollander
Join Date: Dec 2018
Posts: 20
Rep Power: 7
mhollander is on a distinguished road
Quote:
Originally Posted by wallym View Post
Hello,


I took a look at your cfg file and it seems there is corresponding boundary conditions for the inlet of your geometry. From what I can gather, you should have have something along the lines of MARKER_INLET(inlet,x,x,x,x).

Can you give a slightly more 'fleshed out' example?

I'm a little new to the SU2 and gmsh game
mhollander is offline   Reply With Quote

Old   June 24, 2019, 18:26
Default
  #4
Senior Member
 
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7
wallym is on a distinguished road
Absolutely.

SU2 defines its boundary conditions using markers that are in the mesh.


For example, the config file you sent (fairing.txt) has MARKER_HEATFLUX(airfoil,0.0) and MARKER_FAR=(farfield).


This means SU2 will look for a tag within mesh called "airfoil" and assign the heatflux boundary condition to those cell. The same happens with the farfield tag.


Your error is saying that in your mesh file, you have a tag that is set to inlet. However, that portion of the boundary has no boundary assigned to it.


In this case, you can set your inlet condition with either MARKER_INLET=(inlet, total_temperature,t_pressure, dir_x,dir_y,dir_z). Or, depending on your inlet, using the MARKER_SUPERSONIC_INLET(inlet, temp, press,v_x,v_y,v_z).


You can see the options for boundary conditions in the config_template on github at https://github.com/su2code/SU2/blob/...g_template.cfg.


Please let me know if this helps, or if you have any more questions.
wallym is offline   Reply With Quote

Reply

Tags
error, su2, su2 configuration file


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
chtMultiRegionSimpleFoam issues - non-conformal meshes & residual handling... manalis OpenFOAM Running, Solving & CFD 3 October 10, 2018 19:53
Convergence issues for Flat plate with sharp edge rajnarayang FLUENT 3 June 20, 2017 13:02
[ANSYS Meshing] Multizone issues (on my project) crenaudo ANSYS Meshing & Geometry 8 April 13, 2016 03:59
Multigrid Stability Issues ThomasHermann SU2 1 November 5, 2014 17:18
[General] Some Paraview Issues I can not solve MR_Chicho ParaView 1 September 24, 2012 06:03


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