WriteEnSight()

Write a file with mesh and results which can be loaded into EnSight for postprocessing.

Essential Keyword Arguments

FileName : ValidFileName

Defines the base name for EnSight files. System Coupling generates a <base>.encas file which can be loaded into EnSight. Other files are generated for geometry and variables.

Optional Keyword Arguments

Binary : Boolean

Controls whether the file is to be written in binary format or ASCII format. (ASCII slows down performance, but may be useful for debugging and viewing raw data.)

Defaults to True.

Return Type

None

Examples

Example 64: Write an EnSight file with the base name of '"test"


WriteEnSight(FileName='test')


Example 65: Write an EnSight file with the base name of '"test" in ASCII format


WriteEnSight(FileName='test', Binary = False)