nastran Package

agps Module

Inheritance diagram of pyNastran.converters.panair.agps

class pyNastran.converters.panair.agps.AGPS(log=None, debug=False)[source]

Bases: object

read_agps(infilename)[source]

panairGrid Module

Inheritance diagram of pyNastran.converters.panair.panairGrid

class pyNastran.converters.panair.panairGrid.PanairGrid(log=None, debug=True)[source]

Bases: object

_read_alphas(section)[source]

$angles-of-attack =alpc 4. =alpha(1) alpha(2) alpha(3) 4. 10. 0.

_read_betas(section)[source]

$angles-of-attack =alpc 4. =alpha(1) alpha(2) alpha(3) 4. 10. 0.

_read_cases(section)[source]

$cases - no. of solutions =nacase 1.

_read_circular_section(section)[source]

@code $circular sections - nacelle with composite panels =kn 2. =kt 1. =nopt netname 0. cowlu =nm 20. =xs(1) ri(1) xs(2) ri(2) xs(*) ri(*)

2.0000 2.3000 1.5756 2.3000 1.1486 2.3000 0.7460 2.3030 0.4069 2.3286 0.1624 2.3790 0.0214 2.4542 -0.0200 2.5485 0.0388 2.6522 0.2056 2.7554 0.4869 2.8522 0.8883 2.9413 1.4250 3.0178 2.1188 3.0656 2.9586 3.0658 3.8551 3.0175 4.6715 2.9439 5.3492 2.8700 6.0000 2.7842 6.4687 2.7442

=nn 5. =th(1) th(2) th(3) th(4) th(5) -90. -45. 0. 45. 90. @endcode

_read_data_check(section)[source]
_read_end(section)[source]
_read_flowfield_properties(section)[source]
_read_grid(section)[source]
_read_liberalized_abutments(section)[source]
_read_mach(section)[source]

$mach number =amach .6

_read_partial_edge_abutments(section)[source]
_read_points(section)[source]

@code $points - wing-body with composite panels =kn cpnorm 4. 2. =kt 1. =nm nn netname 11. 3. winga =x(1,1) y(1,1) z(1,1) x(,) y(,) z(,)

69.4737 9.2105 0.0000 63.7818 9.5807 0.7831

@endcode

_read_printout(section)[source]

@code isings igeomp isingp icontp ibconp iedgep ipraic nexdgn ioutpr ifmcpr icostp @endcode

_read_reference_quantities(section)[source]

$references for accumulated forces and moments =xref yref zref nref 46. 0. 0. =sref bref cref dref 2400. 60. 40. 90.

_read_sectional_properties(section)[source]
_read_streamlines(section)[source]
_read_symmetry(section)[source]

@code $symmetry - xz plane of symmetry =misymm mjsymm 1. 0. @endcode

@warning
doesnt consider antisymmetryic
_read_title(section)[source]
_read_trailing_wakes(section)[source]

@code $trailing wakes from body =kn cpnorm 2. =kt matcw 18. 1. =inat insd xwake twake netname bodyl 3. 100. .0 bodylwk bodyu 3. 100. .0 bodyuwk @endcode

_read_xyz(section)[source]
add_patch(netName, kt, cpNorm, x, y, z)[source]
add_wake_patch(netName, options, x, y, z)[source]
find_patch_by_name(netName)[source]
getPointsElementsRegions(get_wakes=False)[source]
get_panel_point_IDs(iPanel)[source]
get_panel_points(iPanel)[source]
get_patch(ID)[source]
group_sections(sections, sectionNames)[source]
modelType = 'panair'
nPanels()[source]
nPatches()[source]
print_file()[source]
read_panair(infileName)[source]
remove_comments(lines)[source]
set_alphas(alphas, alphaC)[source]
set_betas(betas, betaC)[source]
set_mach(mach)[source]
split_into_sections(lines)[source]
split_points(lines, nActual, nRemainder)[source]

reads the points

update_cases()[source]

reduces confusion by only printing cases that will run

write_alphas()[source]
write_betas()[source]
write_cases()[source]
write_data_check()[source]
write_end()[source]
write_liberalized_abutments()[source]
write_mach()[source]
write_panair(outfileName)[source]
write_plot3d(p3dname, is_binary=False, is_iblank=False)[source]
write_printout()[source]
write_reference_quantities()[source]
write_title()[source]
pyNastran.converters.panair.panairGrid.fortran_value(value)[source]

panairGridPatch Module

Inheritance diagram of pyNastran.converters.panair.panairGridPatch

class pyNastran.converters.panair.panairGridPatch.PanairPatch(iNetwork, netName, kt, cpNorm, x, y, z, log)[source]

Bases: object

fix_point(pointIn)[source]
get_edge(edgeNumber)[source]

gets all the points associated with a given edge

        edge1
      0  1  2   -> i (row)
edge4 3  4  5
      6  7  8  edge2
      9  10 11
    |   edge3
    j
get_edges()[source]
get_elements(pointI)[source]
get_ipoint(iPoint)[source]
get_panel_area(iPanel)[source]
get_panel_area_normal(iPanel)[source]
get_panel_point_IDs(iPanel)[source]
get_panel_points(iPanel)[source]
get_panel_properties(iPanel)[source]
get_point(row, col)[source]
get_point_ID(row, col)[source]
get_points()[source]
get_subpanel_properties(iPanel)[source]
is_wake()[source]
nPanels()[source]
nPoints()[source]
process()[source]
quick_summary(cumPts, cumPn)[source]
rotate()[source]

not complete...

write_as_plot3d()[source]
write_plot3d(f, dim)[source]

..todo: is the normal defined correctly? ..todo: will this load into tecplot

write_point(point1)[source]
write_points(point1, point2)[source]
class pyNastran.converters.panair.panairGridPatch.PanairWakePatch(iNetwork, netName, options, x, y, z, log)[source]

Bases: pyNastran.converters.panair.panairGridPatch.PanairPatch

is_wake()[source]
pyNastran.converters.panair.panairGridPatch.sInt(value)[source]

int represented as a short float

panairIO Module

panairWrite Module

Inheritance diagram of pyNastran.converters.panair.panairWrite

class pyNastran.converters.panair.panairWrite.PanairWrite[source]

Bases: object

print_abutments()[source]
print_grid_summary()[source]
print_options()[source]
print_out_header()[source]
write_data_check()[source]
write_printout()[source]