### ===================================================================================================================
### A13 Nonlinear static analysis with strengthening
### ===================================================================================================================
# Copyright ©VIIA 2024
### ===================================================================================================================
### 1. Import modules
### ===================================================================================================================
# General imports
from __future__ import annotations
from typing import TYPE_CHECKING
# References for functions and classes in the rhdhv_fem package
from rhdhv_fem.analyses import Analysis
# References for functions and classes in the viiaPackage
if TYPE_CHECKING:
from viiapackage.viiaStatus import ViiaProject
from viiapackage.analyses.analysis_nl_static import viia_create_analysis_nl_static
### ===================================================================================================================
### 2. Function to create the A13 analysis
### ===================================================================================================================
[docs]def viia_create_analysis_a13(project: ViiaProject) -> Analysis:
"""
This function creates the A13 analysis (Non-linear static analysis with strengthening). It depends on the software
set, which will switch between explicit (ABAQUS) and implicit (DIANA) analysis.
Input:
- project (obj): VIIA project object containing collections of fem objects and project variables.
Output:
- Creates and returns the A13 analysis object for the requested software with all settings for VIIA.
"""
# Validate requirements for A13, check for version
if project.version < 2:
raise ValueError("ERROR: The strengthening models should have a version number of at least 2.")
# Creation of the analysis object
return viia_create_analysis_nl_static(
project=project, name='A13 - Niet-lineair statische analyse met flexbase met versterkingen')
### ===================================================================================================================
### 3. End of script
### ===================================================================================================================