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

Problems with inputting ansys mesh(.cgns) to SU2

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2022, 03:29
Default Problems with inputting ansys mesh(.cgns) to SU2
  #1
New Member
 
jim
Join Date: May 2022
Posts: 6
Rep Power: 3
Jim gigi is on a distinguished road
Hello everyone,

I'm trying to use the mesh made in Ansys workbench(fluent) to work in the inv_naca0012 simulation which can be find in https://su2code.github.io/docs_v7/Quick-Start/ .

I had have read the manuals and knew that SU2 can use mesh file type such as .cgns and .su2 , however when i tried to export the mesh(.cgns) from ansys and input it in the inv_naca0012.cfg the following issue occured,


------------------- Geometry Preprocessing ( Zone 0 ) -------------------
Reading the CGNS file: ansys_mesh_naca0012_2.cgns.
WARNING: The CGNS file version (3.21) is old and may cause high memory usage issues, consider updating the file with the cgnsupdate tool.
CGNS file contains 1 database(s).
Database 1, BASE#1: cell dimension of 2, physical dimension of 3.
1 total zone(s).
Zone 1, ansys_mesh_naca0012_2: 71616 total vertices, 71118 total elements.
Loading CoordinateX values.
Loading CoordinateY values.
Number of connectivity sections is 3.
Section SURFACE_BODY_1_1 contains 71118 elements of type Mixed.
Section FARFIELD contains 941 elements of type Line.
Section AIRFOIL contains 200 elements of type Line.
Loading volume section SURFACE_BODY_1_1 from file.
Loading surface section FARFIELD from file.
Loading surface section AIRFOIL from file.
Two dimensional problem.
71616 grid points.
71118 volume elements.
2 surface markers.
941 boundary elements in index 0 (Marker = FARFIELD).


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


It seems like SU2 can't recognize the boundary condition although that i have set the b.c. in the configuration file,

MARKER_EULER= ( airfoil )
MARKER_FAR= ( farfield )


The mesh for naca0012 is a unstructured C-type mesh, and has two nameselection as to farfield and airfoil.



Have anyone encountered this problem and how to resolve this,
Thanks so much for your help.

Test condition Info:
OS: Windows 10
SU2 Version: 7.3.1 Blackbird
Mesh File: Made from ansys
Configuration File: inv_NACA0012.cfg
Operation Running: SU2_CFD
Jim gigi is offline   Reply With Quote

Old   May 31, 2022, 05:26
Default
  #2
Member
 
na
Join Date: Jul 2018
Posts: 81
Rep Power: 7
TKatt is on a distinguished road
upper- lower case


as far as I see:



MARKER_EULER= ( AIRFOIL )
MARKER_FAR= ( FARFIELD )


should do the trick.


Best, Tobi
TKatt is offline   Reply With Quote

Old   May 31, 2022, 09:34
Default
  #3
New Member
 
jim
Join Date: May 2022
Posts: 6
Rep Power: 3
Jim gigi is on a distinguished road
Hello TKatt,

Thanks for the quick reply,

I have change all my b.c. to capital and some how it works but soon diverge(i think its because i put the "type line" that are not really b.c. to marker_far).

And the lines that in ansys mesh are for sizing(numbers of divisions), has no physical meaning to the flow.

Hence, i made a mesh with a circle, no other lines ,and it runs perfectly.

so, if i have a complicated mesh with lots of lines for sizing , how to deal with those lines in SU2 ? because if i don't give them a marker SU2 will not run and i don't see any command that categorize those lines that are in no use.

Thanks for the tips,

best,
JIM GIGI
Jim gigi is offline   Reply With Quote

Reply

Tags
.cgns, ansys, markers, mesh, su2

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
A CFX-POST error (ver 14.5.7) wangyflp88 CFX 2 July 22, 2017 01:17
Ansys SIG$ILL error loth ANSYS 3 December 24, 2015 06:31
ANSYS QA problems ahorvat ANSYS 9 October 29, 2009 12:40
Simple problems with ansys CFX Luk_Fiz CFX 11 October 26, 2009 18:17
Ansys CFX 11 SP1 runs on Vista with problems kayp CFX 3 February 5, 2008 17:49


All times are GMT -4. The time now is 23:49.