The cape.pyfun
moduleΒΆ
The cape.pyfun
module contains the top-level interface for FUN3D
setup, execution, and post-processing. It loads some of the most
important methods from the various submodules so that they are easier
to access. Most tasks using the pyFun API can be accessed by loading
this module and reading one instance of the
cape.pyfun.cntl.Cntl
class.
import cape.pyfun
For example the following will read in a global settings instance assuming that the present working directory contains the correct files. (If not, various defaults will be used, but it is unlikely that the resulting setup will be what you intended.)
import cape.pyfun cntl = cape.pyfun.Cntl()
Most of the pyFun submodules essentially contain a single class
definition, which is derived from a similarly named cape
module.
For example, cape.pyfun.dataBook.DBComp
is subclassed to
cape.cfdx.dataBook.DBComp
, but several functions are edited
because their functionality needs customization for FUN3D. For
example, reading iterative force & moment histories require a
customized method for each solver.
The following classes are imported in this module, so that code like
cape.pyfun.Cntl
will work (although cape.pyfun.cntl.Cntl
will
also work).
cape.pyfun.runmatrix.RunMatrix
Modules included within this one are outlined below.
- FUN3D and Cape files
cape.pyfun.runmatrix
- Supporting modules
cape.pyfun.cntl
: FUN3D control modulecape.pyfun.options
: FUN3D and pyFun settingscape.pyfun.case
: FUN3D case control modulecape.namelist
: FUN3D namelist modulecape.pyfun.mapbc
: FUN3D boundary condition modulecape.pyfun.faux
: FAUXGeom interface modulecape.pyfun.rubberData
: FUN3D filerubber.data
cape.pyfun.bin
: FUN3D binary interface modulecape.pyfun.cmd
: Create commands for FUN3D executablescape.pyfun.dataBook
: pyFun data book modulecape.pyfun.lineLoad
: Sectional loads modulecape.pyfun.pointSensor
: FUN3D point sensors modulecape.pyfun.plt
: Interface to FUN3D Tecplot PLT filescape.pyfun.report
: Automated report interfacecape.pyfun.manage
: Manage pyFun case folderscape.pyfun.tricli
: Special FUN3D triangulation interfacescape.pyfun.util
: Utilities for pyFun