CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Limit on number of boundaries in .cfg? (https://www.cfd-online.com/Forums/su2/134444-limit-number-boundaries-cfg.html)

neetin April 29, 2014 17:25

Limit on number of boundaries in .cfg?
 
Is there a limit on number of boundary faces that can be set in .cfg file? I am trying to automate geometry-mesh-analysis process. For a complex geometry, the number of faces exceed 100 (geometry automation). And these face numbers/IDs are carried through meshing to SU2. Whenever the boundary face number exceeds 100, SU2 quits with segmentation fault.

TIA.
-Neetin.

fpalacios May 18, 2014 21:54

Quote:

Originally Posted by neetin (Post 489005)
Is there a limit on number of boundary faces that can be set in .cfg file? I am trying to automate geometry-mesh-analysis process. For a complex geometry, the number of faces exceed 100 (geometry automation). And these face numbers/IDs are carried through meshing to SU2. Whenever the boundary face number exceeds 100, SU2 quits with segmentation fault.

TIA.
-Neetin.

I see...
could you please go to option_structure.hpp and change

const unsigned int MAX_INDEX_VALUE = 100; /*!< \brief Maximum value for a marker index. */
const unsigned int MAX_NUMBER_MARKER = 200; /*!< \brief Maximum number of domains. */

by

const unsigned int MAX_INDEX_VALUE = 500; /*!< \brief Maximum value for a marker index. */
const unsigned int MAX_NUMBER_MARKER = 500; /*!< \brief Maximum number of domains. */

Thanks for using SU2,
Francisco

neetin June 5, 2014 08:50

Thank you, Francisco.


All times are GMT -4. The time now is 11:34.