analyticsimdatafactory.py

Helper functions and mini factory for building standard test meshes with analytic functions for the physical fields.

standard_case_2d()[source]

Created the standard 2D analytic test case which is a plate with dimensions 10x7.5 (x,y), number of elements 40x30 (x,y), and time steps of 0 to 10 in increments of 1.

Returns:

AnalyticCaseData2D – _description_

class AnalyticCaseFactory[source]

Bases: object

Namespace for function used to build pre-defined 2D meshes and fields based on analytic functions for testing the sensor simulation functionality of pyvale.

static scalar_linear_2d()[source]

_summary_

Returns:

tuple[mh.SimData,AnalyticSimDataGenerator] – _description_

static scalar_quadratic_2d()[source]

_summary_

Returns:

tuple[mh.SimData,AnalyticSimDataGenerator] – _description_