cape.pyfun.options.Mesh: FUN3D Meshing Options¶
This module provides options for surface and volume meshes in FUN3D. This consists of three parts, although the second or third option (but never both) may be optional depending of the configuration
Provides the name of the FUN3D
.mapbcfile using the option BCFile. This specifies the FUN3D boundary condition for each surface componentSpecifies the name of a volume mesh, MeshFile (which can also be grown from the surface using AFLR3)
Specifies a surface triangulation either for creating a volume mesh with AFLR3 and/or providing a surface for thrust BC definitions
The FUN3D version also provides options for Faux and Freeze (or point to an external one) in combination with mesh adaptation.
- See Also:
- class cape.pyfun.options.Mesh.Mesh(**kw)¶
Dictionary-based interface for FUN3D meshing options
- get_Faux(comp=None)¶
Get the geometry information for
faux_inputfor a component- Call:
>>> faux = opts.get_Faux(comp=None)
- Inputs:
- opts:
pyFun.options.Options Options interface
- comp: {
None} |str Name or number of component to process (all if
None)
- opts:
- Outputs:
- faux:
dict(float|list) faux_inputplane definition(s)
- faux:
- Versions:
2017-02-23
@ddalle: First version
- get_FauxFile(i=None)¶
Get the
faux_inputfile if specifiedThis reads the
"Mesh">"FauxFile"option- Call:
>>> fname = opts.get_FauxFile(i=None)
- Inputs:
- opts:
pyFun.options.Options Options interface
- i: {
None} |int Phase number
- opts:
- Outputs:
- fname:
None|str Faux geometry file
- fname:
- Versions:
2017-02-23
@ddalle: First version
- get_FreezeComponents()¶
Get the list of components to freeze during adaptation
This reads the
"Mesh">"FreezeComponents"option- Call:
>>> comps = opts.get_FreezeComponents()
- Inputs:
- opts:
pyFun.options.Options Options interface
- opts:
- Outputs:
- comps:
list(int|str) List of face numbers or face names (using
mapbclookup)
- comps:
- Versions:
2017-02-23
@ddalle: First version
- get_FreezeFile(i=None)¶
Get the file that lists component IDs to freeze during adaptation
This reads the
"Mesh">"FreezeFile"option- Call:
>>> fname = opts.get_FreezeFile(i=None)
- Inputs:
- opts:
pyFun.options.Options Options interface
- i: {
None} |int Phase number
- opts:
- Outputs:
- fname:
None|str Faux geometry file
- fname:
- Versions:
2017-02-23
@ddalle: First version
- get_MapBCFile(i=None)¶
Return the name of the boundary condition map file
- Call:
>>> fname = opts.get_MapBCFile(i=None)
- Inputs:
- opts:
pyFun.options.Options Options interface
- i:
int Phase index
- opts:
- Outputs:
- fname:
str Boundary condition file name
- fname:
- Versions:
2016-03-29
@ddalle: First version