fea

The compas_fea package supports Abaqus, Ansys, Sofistik and OpenSees as analysis backends.

Classes

Writer(structure, software, filename, fields)

Initialises base file writer.

Backends

abaq

input_generate(structure, fields, output)

Creates the Abaqus .inp file from the Structure object.

extract_data(structure, fields, exe, output, ...)

Extract data from the Abaqus .odb file.

launch_process(structure, exe, cpus, output)

Runs the analysis through Abaqus.

ansys

input_generate(structure)

Generates Ansys input file.

make_command_file_static(structure, path, name)

Generates Ansys input file for static analysis.

make_command_file_modal(structure, path, name)

Generates Ansys input file for modal analysis.

make_command_file_harmonic(structure, ...)

Generates Ansys input file for harmonic analysis.

ansys_launch_process(path, name[, cpus, ...])

Launches an analysis using Ansys.

ansys_launch_process_extract(path, name[, ...])

Calls an extraction of results from Ansys.

delete_result_files(path, name)

Deletes Ansys result files.

extract_rst_data(structure[, fields, steps, ...])

Extracts results from Ansys rst file.

write_results_from_rst(structure, fields, steps)

Writes results request file from Ansys.

load_to_results(structure, fields, steps)

Loads results from Ansys txt files to Structure object.

opensees

input_generate(structure, fields, output, ndof)

Creates the OpenSees .tcl file from the Structure object.

extract_data(structure, fields)

Extract data from the OpenSees .out files.

launch_process(structure, exe, output)

Runs the analysis through OpenSees.