OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

NASsurfaceFormat< Face > Class Template Reference

Nastran surface reader. More...

Inheritance diagram for NASsurfaceFormat< Face >:
Collaboration diagram for NASsurfaceFormat< Face >:

List of all members.


Public Member Functions

 NASsurfaceFormat (const fileName &)
 Construct from file name.
virtual ~NASsurfaceFormat ()
virtual bool read (const fileName &)
 Read from a file.

Static Public Member Functions

static autoPtr< MeshedSurface
< Face > > 
New (const fileName &name)
 Read file and return surface.

Detailed Description

template<class Face>
class Foam::fileFormats::NASsurfaceFormat< Face >

Nastran surface reader.

  • Uses the Ansa "$ANSA_NAME" or the Hypermesh "$HMNAME COMP" extensions to obtain zone names.
  • Handles Nastran short and long formats, but not free format.
  • Properly handles the Nastran compact floating point notation:
        GRID          28        10.20269-.030265-2.358-8
    

Source files

Definition at line 58 of file NASsurfaceFormat.H.


Constructor & Destructor Documentation

NASsurfaceFormat ( const fileName &  filename  )  [inline]

Construct from file name.

Definition at line 26 of file NASsurfaceFormat.C.

virtual ~NASsurfaceFormat (  )  [inline, virtual]

Definition at line 94 of file NASsurfaceFormat.H.


Member Function Documentation

static autoPtr<MeshedSurface<Face> > New ( const fileName &  name  )  [inline, static]

Read file and return surface.

Reimplemented from MeshedSurface< Face >.

Definition at line 83 of file NASsurfaceFormat.H.

bool read ( const fileName &  filename  )  [inline, virtual]

Read from a file.

Reimplemented from MeshedSurface< Face >.

Definition at line 38 of file NASsurfaceFormat.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd