|
[Sponsors] |
Markers and parts name in SU2 and ICEM for my own case |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 4, 2017, 08:36 |
Markers and parts name in SU2 and ICEM for my own case
|
#1 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Hello all,
I am trying to use SU2 for my own projects, I have read the tutorials and the guides but still can`t run my own cases I exported the mesh file from ICEM as .cgns but I don`t know how to make the names for the parts as in the ICEM the same as for the .cfg file? To be more clear, I have a .cgns mesh file and the .cfg template and I want to define the Markers - as I understood - but I don`t know what markers represent the inlet, outlet symmetry, symmetry 2 and the airfoil or the wall for example. How to use them to run my own calculations? Thanks very much in advance |
|
November 4, 2017, 09:39 |
|
#2 |
Member
Mehdi Mortazawy
Join Date: Mar 2017
Posts: 30
Rep Power: 9 |
Hello McAero,
When you are generating the mesh (either in .CGNS or native .SU2 format) you will assign each of your boundaries a name (for example in your case I am assuming you have: inlet, outlet, symmetry, symmetry 2, airfoil or wall) l. These are the names that should be used exactly in the .cfg file. Take a look at config_template.cfg in the main source directory of SU2 code and you will find many different boundary conditions that you can use along with the format that they need to be in. For instance: if you are running inviscid calculation (EULER) when defining your airfoil, it is like this: MARKER_EULER=(airfoil) Here are some of the most common ones for your convenience: % Euler wall boundary marker(s) (NONE = no marker) MARKER_EULER= ( airfoil ) % % Navier-Stokes (no-slip), constant heat flux wall marker(s) (NONE = no marker) % Format: ( marker name, constant heat flux (J/m^2), ... ) MARKER_HEATFLUX= ( NONE ) % % Navier-Stokes (no-slip), isothermal wall marker(s) (NONE = no marker) % Format: ( marker name, constant wall temperature (K), ... ) MARKER_ISOTHERMAL= ( NONE ) % % Far-field boundary marker(s) (NONE = no marker) MARKER_FAR= ( farfield ) % % Symmetry boundary marker(s) (NONE = no marker) MARKER_SYM= ( NONE ) % % 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. % Mass Flow: (inlet marker, density, velocity magnitude, flow_direction_x, % flow_direction_y, flow_direction_z, ... ) where flow_direction is % a unit vector. % Incompressible: (inlet marker, NULL, velocity magnitude, flow_direction_x, % flow_direction_y, flow_direction_z, ... ) where flow_direction is % a unit vector. MARKER_INLET= ( NONE ) % % Supersonic inlet boundary marker(s) (NONE = no marker) % Format: (inlet marker, temperature, static pressure, velocity_x, % velocity_y, velocity_z, ... ), i.e. primitive variables specified. MARKER_SUPERSONIC_INLET= ( NONE ) % % Outlet boundary marker(s) (NONE = no marker) % Format: ( outlet marker, back pressure (static), ... ) MARKER_OUTLET= ( NONE ) % % Supersonic outlet boundary marker(s) (NONE = no marker) MARKER_SUPERSONIC_OUTLET= ( NONE ) % Let me know how it goes and if you have further questions. Cheers, Mehdi |
|
November 4, 2017, 10:06 |
|
#3 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Thanks Mehdi for your reply,
Excuse me, I saw the .cfg file but I don`t know what to replace by my boundaries , What shall i replace in cfg file by my parts names ? That`s the thing stopping me Thanks again for your support Mamnoon |
|
November 4, 2017, 10:36 |
|
#4 | |
Member
Mehdi Mortazawy
Join Date: Mar 2017
Posts: 30
Rep Power: 9 |
Quote:
Hello McAero, All you need to do is to replace the name of the MARKER with the name that you specified to each boundary when you generated your mesh. For instance I use Pointwise which has .SU2 output. In that case I only assign names in my mesh and then use those exact same names in the .cfg file for my case. For example for airfoil case you should usually have the followings: Inlet Outlet Top Bottom Airfoil Again it’s your choice some people also call the Top Bottom and Airfoil “wall” for convenience. Cheers, Mehdi |
||
November 4, 2017, 18:21 |
|
#5 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Thanks again very much
But I have a problem, I don`t know which marker to replace with a name of the part ? I see many markers like for heat flux, isothermal, interference, far-field and near field I`d be very glad if you can guide me how or if you can show me a photo Thanks very much for your support and concern |
|
November 5, 2017, 04:10 |
|
#6 | |
Member
Mehdi Mortazawy
Join Date: Mar 2017
Posts: 30
Rep Power: 9 |
Quote:
|
||
November 6, 2017, 18:48 |
|
#7 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Thanks very much for your reply
and sorry for my late reply In sometimes the number of BC is less than what i use for ICEM and CFX Like in the quickguide case of NACA0012 there is only two BCs (named airfoil and farfield) even for 3D cases like ONERA M6 they have only three BCs while my cases usually works this way : Inlet Outlet Airfoil Symm Symm2 I tried to see some test cases and relate it to my cases but I couldn`t succeed, for example, I wanna run a RANS. how should I make it in SU2? Thanks very much for your support |
|
November 7, 2017, 10:40 |
|
#8 | |
Member
Mehdi Mortazawy
Join Date: Mar 2017
Posts: 30
Rep Power: 9 |
Quote:
That is completely fine. Please share an image of your mesh + boundary conditions that you would like to impose and I can try to help you with how to impose them in SU2. Regards, Mehdi |
||
November 7, 2017, 11:37 |
|
#9 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Thanks very very much,
I made a 2D mesh then extruded it. kindly find attached the photos Thanks again very very much |
|
November 7, 2017, 12:07 |
|
#10 | |
Member
Mehdi Mortazawy
Join Date: Mar 2017
Posts: 30
Rep Power: 9 |
Quote:
Based on what is shown, you need to have these into your .cfg file under your BOUNDARY CONDITION DEFINITION: % Euler wall boundary marker(s) (NONE = no marker) MARKER_EULER= ( WALL ) % Symmetry boundary marker(s) (NONE = no marker) MARKER_SYM= ( FLUID , FLUID_2 ) % 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. % Mass Flow: (inlet marker, density, velocity magnitude, flow_direction_x, % flow_direction_y, flow_direction_z, ... ) where flow_direction is % a unit vector. % Incompressible: (inlet marker, NULL, velocity magnitude, flow_direction_x, % flow_direction_y, flow_direction_z, ... ) where flow_direction is % a unit vector. MARKER_INLET= ( OPEN, choose one from the three options above and input each value in the order specified ) % Outlet boundary marker(s) (NONE = no marker) % Format: ( outlet marker, back pressure (static), ... ) MARKER_OUTLET= ( OUT, input your back pressure here (static) ) Let me know if you still have questions Regards, Mehdi |
||
November 7, 2017, 19:05 |
|
#11 |
Member
MM
Join Date: Aug 2017
Posts: 30
Rep Power: 9 |
Thanks very much Mehdi,
I don`t know how to thank you, I used this way and seems working but only for 2D because it can`t capture the two symmetries ( FLUID and FLUID_2 ) so i exported another file but 2D mesh - not extruded and worked Do you have an idea how to use it for the 3D ( my original case )? Thanks very very much for your help ) |
|
|
|