u2.51.02 Plotting curves with Code_Aster#

Summary:

This document explains how, from a calculation result, one can produce tables or functions, extract the values from these tables or functions, manipulate them, and finally use the print commands to draw curves.

If you have a function or a table and you simply want to represent it as a curve, go directly to paragraph [§ 4], and consult the documentation for commands IMPR_FONCTION [U4.33.01] and IMPR_TABLE [U4.91.03].

Preliminary note

Post-processing should be done in POURSUITEet not as a result of the calculation. Several reasons for this:

  1. in case of error*, we do not lose the hours of calculation that made it possible to reach the* result ,

  2. we can perform numerous post-treatments directly by launching Stanley based on the result of the calculation (see astk [U1.04.00] or STANLEY [U4.81.31]),

  3. to simplify post-processing, we can use the possibilities offered by Python that require being in PAR_LOT =” NON “in POURSUITEce which prevents the use of eficas for this type of post-processing, while it is easier to use eficas to build the main dataset.