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

Divide rectangles into triangles

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 16, 2014, 06:32
Default Divide rectangles into triangles
  #1
New Member
 
nilesh
Join Date: Mar 2014
Location: Kanpur / Mumbai, India
Posts: 27
Rep Power: 3
nilesh is on a distinguished road
Hi,
I created a mesh containing rectangles and enabled this option in the config file:
% Divide rectangles into triangles (NO, YES)
DIVIDE_ELEMENTS= YES

However, the results are exactly the same. I opened some flow result files and found that the grid still contained rectangles. Is there anything else that needs to be changed?

Thanks.
nilesh is offline   Reply With Quote

Old   June 24, 2014, 17:02
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260
Rep Power: 5
economon is on a distinguished road
Hi,

The element division capability is currently supported only for the mesh deformation code, SU2_DEF.

If you would like to experiment with the element division for the CFD solver, you can comment out the following around line near ~1200 of config_structure.cpp:

if (Kind_SU2 != SU2_DEF) Divide_Element = false;

However, please note that there are no guarantees on performance with this modification, but you might give it a try.

Cheers,
Tom
economon is offline   Reply With Quote

Old   June 25, 2014, 02:49
Default
  #3
New Member
 
nilesh
Join Date: Mar 2014
Location: Kanpur / Mumbai, India
Posts: 27
Rep Power: 3
nilesh is on a distinguished road
Quote:
Originally Posted by economon View Post
Hi,

The element division capability is currently supported only for the mesh deformation code, SU2_DEF.

If you would like to experiment with the element division for the CFD solver, you can comment out the following around line near ~1200 of config_structure.cpp:

if (Kind_SU2 != SU2_DEF) Divide_Element = false;

However, please note that there are no guarantees on performance with this modification, but you might give it a try.

Cheers,
Tom
Thanks a lot. I will give it a try and compare the results.
nilesh is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Divide Prismatic Boundary Layer Mesh causes overlapping faces SilentRunner42 enGrid 4 May 4, 2015 03:37
How to divide all entries in 0/p by rho lentschi OpenFOAM 1 March 16, 2011 14:42
[ICEM] Importing a set of triangles into ICEM CFD rambabu ANSYS Meshing & Geometry 5 November 12, 2009 18:13
how to divide domain? manish Phoenics 0 May 10, 2006 02:25
higher gauss Quadrature rule for triangles R.A.Khurram Main CFD Forum 1 September 27, 2001 13:39


All times are GMT -4. The time now is 01:25.