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

CGNS Boundary conditions using SU2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2015, 12:34
Default CGNS Boundary conditions using SU2
  #1
New Member
 
denzell
Join Date: Mar 2014
Posts: 12
Rep Power: 12
denzell is on a distinguished road
Hi,

I have a question about implementing boundary conditions on my CGNS mesh while using SU2.

My mesh is consists of a simple car within a rectangular control volume.

The surfaces of the car are marked as "simplecar", which is being recognized while running SU2.

The problem I encounter is with the other Markers; I don't understand how I can assign the appropriate boundary conditions towards these markers.

These control volume markers are:
- velocity-inlet
- pressure-outlet
- side-left
- side-right
- top
- road

Within the SU2 documentation I found this:

https://github.com/su2code/SU2/wiki/Mesh-File

It is important to note that SU2 will not use any specific boundary conditions that are embedded within the CGNS mesh. However, it will use the names given to each boundary as the marker tags. These marker tags are used to set the boundary conditions in the configuration file. Therefore, it is recommended that the user give names to each boundary in their mesh generation package before exporting to CGNS. If you do not know the number of markers or their tags within a CGNS file, you can simply attempt a simulation in SU2_CFD (leaving out the boundary information in the configuration file at first), and during the preprocessing stage, SU2 will read and print the names of all boundary markers to the console along with other grid information before throwing an error due to incomplete boundary definitions. The user can then incorporate these marker tags into the configuration file with the appropriate boundary conditions.

My question is thus the last sentence. How do I do this within the config file?

I figured it would be, for e.g. the inlet marker

MARKER_INLET= ( velocity-inlet, 1.225, 0.10, 0, 1, 0 )
( marker, density, velocity (in Mach?), unit vector in x, unit vector in y, unit vector in z )

SU2 complains as follows:
Loading CGNS data into SU2 data structures...
Three dimensional problem.
155452 interior elements.
131752 tetrahedra.
23700 prisms.
38686 points.
8 surface markers.
4279 boundary elements in index 0 (Marker = SIMPLECAR).
342 boundary elements in index 1 (Marker = VELOCITY-INLET).
The configuration file doesn't have any definition for marker VELOCITY-INLET!!

Any help on how to implement boundary conditions is much appreciated!

-denzell
denzell is offline   Reply With Quote

Old   February 20, 2015, 02:04
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Hi Denzell,

Thanks for using SU2, the capitalization is important, could you please try with

MARKER_INLET= ( VELOCITY-INLET, 1.225, 0.10, 0, 1, 0 ).

The velocity should be in m/s or in/s

Best Regards,

Francisco Palacios
SU2 lead developer
fpalacios is offline   Reply With Quote

Old   February 20, 2015, 15:33
Default
  #3
New Member
 
denzell
Join Date: Mar 2014
Posts: 12
Rep Power: 12
denzell is on a distinguished road
Dear Mr. Palacios,

Thank you for your quick reply, that helped to resolve the problem.

The next problem I face is the following.

The CGNS mesh consists of a fluid volume "AIR" which is a rectangle with a boolean subtract operation of the vehicle geometry.

Because this volume has a name "AIR", I think SU2 interprets this volume such that it requires extra identification of what this volume is. I think this because of the following error:

The configuration file doesn't have any definition for marker AIR_1_1!!

Where the subscript _1_1 comes from is unclear to me by the way.

Do you maybe have a suggestion how I can indicate that AIR (_1_1) can be treated as a fluid?


Thanks again and have a nice weekend,

--denzell


PS: For the sake of completeness I have added the CGNS file and current config file within this folder if this helps:
https://www.dropbox.com/sh/xmvr86lvw...CgQ24S_La?dl=0
denzell is offline   Reply With Quote

Old   July 9, 2018, 06:58
Default
  #4
New Member
 
ria
Join Date: Jul 2018
Posts: 1
Rep Power: 0
RIA123 is on a distinguished road
I am new to SU2 and gmsh.
I've assigned the physical groups in gmsh but after exporting it to su2 and running it I get an error message:

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



What does this mean?
RIA123 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
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
[Netgen] boundary conditions and mesh exporting vaina74 OpenFOAM Meshing & Mesh Conversion 2 May 27, 2010 10:38
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 19:29


All times are GMT -4. The time now is 12:40.