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

Specifying BC points of unstructured grid in NASTRAN format

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2014, 01:20
Default Specifying BC points of unstructured grid in NASTRAN format
  #1
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
Hi, I'm working on a solver for 2d unstructured grid. I built a grid for NACA0012 using pointwise and exported the data in NASTRAN format.

As you know, I need to set boundary conditions to solve the problem. But I cannot specify BC points(far field, surface) from those points listed.

I tried to export the data in CGNS format (because I can see BC points through a CGNS browser) and tried to match indices with those in NASTRAN format. But they didn't match at all.

What I want to know is;

Is there any option that I can set boundaries to connectors in pointwise? Or is there any way to specify BC points?

waiting for reply.
Attached Images
File Type: png 2.PNG (21.9 KB, 11 views)
File Type: png 1.PNG (40.2 KB, 8 views)
File Type: jpg 3.jpg (68.2 KB, 8 views)
nba1942 is offline   Reply With Quote

Old   July 31, 2014, 09:44
Default
  #2
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
As you found out NASTRAN does not include boundary condition information. To get access to boundary condition data you need to use a CAE type (in addition to the grid).

You mentioned CGNS already so that's one I might suggest, particularly since there's an existing IO library that you can interface with. If you want something really simple you might look at the ANSYS Fluent or OpenFOAM formats. You can readily find documentation on-line describing those format.

Lastly, if you want to do something a little more custom you might want to considering writing your own Pointwise CAE plugin. If you're interested you might want to start with David's blog post and then jump to the development documentation.
cnsidero is offline   Reply With Quote

Old   July 31, 2014, 11:28
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
Also see:
dgarlisch is offline   Reply With Quote

Old   July 31, 2014, 11:43
Default
  #4
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
What I want to know is;

Is there any option that I can set boundaries to connectors in pointwise? Or is there any way to specify BC points?
If I understand the Q correctly, the answer is yes.

First, you must be sure to set your grid to 2D mode in Pointwise. Use the CAE, Set Dimension, 2D menu. In 2D mode, Pointwise treats the connectors as Boundaries and the domains as blocks (volumes).

Next, select CAE solver using the CAE, Select Solver... menu. The solver you choose must support 2D.

Then, use the CAE, Set Boundary Conditions... and the CAE, Set Volume Conditions... menus to create and apply conditions to the connectors and domains.

To export the grid with BC and VC data, use the File, Export, CAE... menu.

If you cannot find an existing CAE export format that will work for your solver, as Chris said, your best option is to create your own CAE exporter using the Pointwise CAE Plugin SDK.

I will be more than happy to guide you if you go down this path.
dgarlisch is offline   Reply With Quote

Old   July 31, 2014, 12:31
Default
  #5
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
Thanks for reply I will try that way.
nba1942 is offline   Reply With Quote

Old   July 31, 2014, 12:33
Default
  #6
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
@dgarlisch So what you mean is that NASTRAN format cannot show the BC points in it and I should use CAE format? I want to use NASTRAN format if I can.
nba1942 is offline   Reply With Quote

Old   July 31, 2014, 13:40
Default
  #7
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
@dgarlisch So what you mean is that NASTRAN format cannot show the BC points in it and I should use CAE format? I want to use NASTRAN format if I can.
Short answer:

Pointwise only exports BC and VC data for the active CAE solver. Pointwise does not have a NASTRAN CAE exporter. However, one of the other CAE solvers may use NASTRAN format for their grid data. I will ask around to see if that is true.


Long answer:

Pointwise has two ways of exporting grid data.
  • File, Export, Grid...
  • File, Export, CAE...

A Grid export can be done at any time no matter which CAE Solver is active. However, since BC and VC types are solver dependent, grid export will not export any BC/VC data. Grid export will only export raw grid data.

A CAE export can only be done for the active solver. Pointwise uses the active solver to configure its behavior such as:
  • Support for 2D/3D grids
  • Supported file formats (binary, ascii, fortran)
  • Supported data byte order (big or little endian)
  • Supported Element types (tri, quad, tet, pyramid, etc)
  • Valid VC and BC types

While Pointwise will remember which pieces of a grid are in which BCs and VCs, changing the active solver will clear out the assigned types.
dgarlisch is offline   Reply With Quote

Old   July 31, 2014, 13:42
Default
  #8
Member
 
Join Date: Jul 2014
Posts: 31
Rep Power: 11
nba1942 is on a distinguished road
@dgarlisch I really appreciate for your reply. I will try that way. Thank you
nba1942 is offline   Reply With Quote

Reply

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
Convert 2d, diagonalized, unstructured grid to structured -- CGNS jgrisham Main CFD Forum 1 May 16, 2014 19:26
2D unstructured Grid prapanj Main CFD Forum 4 March 15, 2008 18:01
"grid points" or "grid interface" ztdep Main CFD Forum 1 June 6, 2007 16:00
unstructured mesh grid independence for Fluent Shane Schouten FLUENT 0 October 11, 2006 17:50
help with Intro to unstructured grid mc Main CFD Forum 1 June 8, 2006 14:36


All times are GMT -4. The time now is 04:56.