CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > Pointwise & Gridgen

Setting an order to U.S. grid points.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By dgarlisch

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2014, 22:02
Default Setting an order to U.S. grid points.
  #1
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
Hello, I am working on unstructured-grid solver as I mentioned before.

I exported a grid data using CAE solver(tecplot format) and exported it again through tecplot.(Because a grid data was written in binary, I wanted a ASCII type.)

Anyway, I could see that boundary points were listed seperately from points inside the domain(which are not in boundaries) but their order was quite messy;

for example, for far-field points, I want them listed in counter-clockwise, while solid wall points listed in clockwise.

But now, see those figures.


So here my questions;

Is there any way I can try to set a proper order to grid points?

Thanks for reading. Waiting for replies.


P.S.
my grid has four connectors; two for solid wall, two for far-field.
and one domain.
Attached Images
File Type: jpg 1.jpg (27.7 KB, 12 views)
File Type: jpg 2.jpg (62.2 KB, 17 views)
nba1942 is offline   Reply With Quote

Old   August 10, 2014, 22:07
Default P.S.
  #2
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
I want this result.
Attached Images
File Type: jpg 3.JPG (56.6 KB, 13 views)
nba1942 is offline   Reply With Quote

Old   August 11, 2014, 11:12
Default
  #3
Senior Member
 
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14
dgarlisch is on a distinguished road
Unfortunately, you cannot control the ordering of the points being exported from Pointwise. The clockwise/counterClockwise ordering that your solver requires is not explicitly supported by Pointwise.

The best workarounds I can offer to you are:
  1. Change your solver code to order the points during grid import.
  2. Write a CAE plugin that exports the data in exactly the order and format that you need.
  3. Write a stand-alone program to post-process the data exported by Pointwise that renumbers the points as you need them.

I think changing your solver import code is the best, long-term solution. It gives you the most import flexibility.

If changing your solver import code is not an option, I would suggest creating a Pointwise CAE plugin. This will give you the most control over the format of the exported grid data. You can find more information on the Pointwise CAE Plugin SDK website.

I hope this helps.
nba1942 likes this.
dgarlisch is offline   Reply With Quote

Old   August 11, 2014, 21:44
Default @dgarlisch
  #4
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
Thanks for your reply, dgarlisch. I will try that way
nba1942 is offline   Reply With Quote

Old   August 12, 2014, 10:36
Default
  #5
Senior Member
 
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14
dgarlisch is on a distinguished road
Quote:
Originally Posted by nba1942 View Post
Thanks for your reply, dgarlisch. I will try that way
Which way? 1, 2, or 3?
dgarlisch is offline   Reply With Quote

Old   August 12, 2014, 22:44
Default I think it would be no. 3 :)
  #6
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
My prof. gave me a program which finds boundary points.

I will modify that code
nba1942 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
I need help in setting up grid for cylinder thethirdfarial Main CFD Forum 5 April 6, 2017 21:26
First order upwind on collocated grid arrangement Hooman Main CFD Forum 1 July 13, 2010 08:46
Warning 097- AB Siemens 6 November 15, 2004 04:41
Grid Independent Solution Chuck Leakeas Main CFD Forum 2 May 26, 2000 11:18
Findig grid points in BFC ? Frank Rueckert Main CFD Forum 0 September 16, 1999 10:26


All times are GMT -4. The time now is 20:50.