Skip to content

Releases: sfu-nml/flexodeal

Flexodeal v0.2.1 (Jan 23, 2025)

24 Jan 03:46
Compare
Choose a tag to compare

Flexodeal 0.2.1 (Jan 23, 2024)

Here's what's new in Version 0.2.1.

Upgrade Steps

  • None required. Use the code in the same way you would use Flexodeal v0.2.0 or FlexodealLite v1.3.X and above.

New Features

  • Added add_columns_to_qp_file.sh to add columns with constant values without the need to open the file externally. For instance, if quadrature points were generated in the file quadrature_point_data.csv, the following command adds the necessary columns to run the code:
bash add_columns_to_qp_file.sh quadrature_point_data.csv max_iso_stress_muscle 200000 muscle_fibre_orientation_x 1 muscle_fibre_orientation_y 0 muscle_fibre_orientation_z 0 fat_fraction 0 tissue_id 1

The general usage of this file is:

bash add_columns_to_qp_file.sh file.csv col1 val1 col2 val2 ...

This means that we set every quadrature point to have a maximum isometric stress of 200000 Pa, a fibre orientation of (1,0,0) (i.e. parallel fibres), no fat (fat_fraction = 0) and tissue_id = 1.

Breaking Changes

  • None.

Bug Fixes & Minor Updates

  • Added (mesh) scaling and reference volume computation to read_grid (the case when an external mesh is read),
  • In the section "Double check that quadrature points are correctly listed" within Solid<dim>::setup_qph, modified distance by relative distance and change the tolerance from 1e-8 to 1e-4. This means we want at least 4 significant digits

Flexodeal v0.2.0 (Dec 2, 2024)

02 Dec 21:01
Compare
Choose a tag to compare

Flexodeal 0.2.0 (Dec 2, 2024)

Here's what's new in Version 0.2.0.

Upgrade Steps

  • None required. Use the code in the same way you would use FlexodealLite v1.3.X and above.

New Features

  • Implemented the Marker<dim> class, a generalization of the Point<dim> class meant to implement u_left, u_mid, u_right displacement-tracking points and the four points in the mid cross section used to compute bulging. It is now possible to add an arbitrary number of markers using the markers.dat file.

Breaking Changes

  • Removed output_bulging_info since this function only works for the cuboidal geometry. As an alternative, we are now outputting the displacement at these four points in the displacements-3d.csv file so that bulging can be computed elsewhere.
  • subsection Measurement locations in parameters.prm now only stores the file's name containing the markers (i.e., markers.dat).

Bug Fixes & Minor Updates

  • Renamed ouput_displacements_at_select_locations to output_displacements_at_select_locations (fixed typo).
  • Removed the word "Lite" from code comments (in flexodeal.cc and parameters.prm).

Flexodeal v0.1.0 (Nov 23, 2024)

23 Nov 22:55
Compare
Choose a tag to compare

Flexodeal v0.1.0 (Nov 23, 2024)

Here's what's new in Version 0.1.0.

Upgrade Steps

  • Use it in the same way as Flexodeal Lite v1.4.1.

Breaking changes

  • N/A

New features

In addition to the features already included in Flexodeal Lite v1.4.1, the code can now:

  • Read a mesh from file.
  • Include Hadi Rahemi's M4 model for intramuscular fat.
  • Export a list of quadrature points (QP) without running the entire code.
  • Read the following QP data: maximum isometric stress, fibre orientation, tissue_id, fat fraction.

The main difference with Flexodeal Lite is that the code now requires the user to provide QP data in a CSV file. Review the README.md file for instructions on how to use these features.

Bug Fixes & Minor Updates

  • None. This is the first version of Flexodeal "full".