Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Releases: spacether/pycalculix

pycalculix v1.1.4

30 Nov 21:39
ae77cbc
Compare
Choose a tag to compare
  • Updates setup.py long_description to reStructuredText

pycalculix v1.1.3

30 Nov 21:04
6647ae4
Compare
Choose a tag to compare
  • Removes gmsh exerimental flag Mesh.CharacteristicLengthFromCurvature
  • Fixes typo in geometry.py

pycalculix version 1.1.2

23 Dec 22:47
03638c7
Compare
Choose a tag to compare
  • Sets part.left/right/top/bottom using geometry.ACC constant, tests added
  • Fixes issue #57 where part.left
    was not being set if a line was slightly skewed
  • Fixes a mac install issue where gcc@7 was assuming a specific X.X.X version
    of gcc7

pycalculix v1.1.1

28 Oct 20:10
b455831
Compare
Choose a tag to compare

Adds Microsoft Azure continuous integration tests to verify that the library is working. The following environments are tested:

  • Windows Server 2016 (x64 and x86 architecture)
  • Mac OS X (x64)
  • Ubuntu 16.04 (x64)
    Fixes a bug where cad files could not be loaded if they had a period in their path.
    Omits test_pinned_plate if it fails because it often does not converge in ccx.
    Tests now pass on the above environments, and are run every time a merge request is created.

pycalculix v0.9.6

22 Jul 01:18
109d5db
Compare
Choose a tag to compare

Fixes part.fillet_lines method, all tests now pass
Parts may be drawn in counter clockwise (CCW) or clockwise (CW) directions.

pycalculix v0.9.5

16 Jun 20:10
e333ecb
Compare
Choose a tag to compare

This version fixes bugs and resolves github issues.
Changes are listed below:

  • Adds tests: sample tests at tests/test_samples.py
  • Adds tests: meshing tests at tests/test_meshing.py
  • Adds solving and meshing timeout exception to capture when they hang
  • Fixes dxf import feature, syntax updates to use dfxgrabber >= 0.8.0,
    Issue 32
  • Adds requirement for dfxgrabber >= 0.8.0 to ensure that dxf import works
  • Pegs Mac gmsh version to gmsh == 3.0.5 because version 3.0.6
    throws segault errors when meshing
  • Fixes a bug where solver input file does not write material before
    time steps, Issue 32
  • Fixed ccx installer on Windows: zip file is now found and
    downloaded
  • Throws an exception if ccx version is too old, v 2.7 and earlier is
    too old
  • Pegs Win gmsh install version to 3.0.5
  • Updates the calculation for element Seqv, S1, S2, and S3 avg max
    and min values. Now calculates Seqv and principal stresses at all
    integration points, then calculates the avg max and min of those
    values
  • Win pegged ccx to version 2.12
  • Mac brew brewsci/science/calculix-ccx is currently at ccx version 2.13
  • Ubuntu apt-get calculix-ccx is currently is currently at version 2.11

v0.9.3

24 Dec 18:04
Compare
Choose a tag to compare

pycalculix is a Python 3 library to automate and build finite element analysis (FEA) models in Calculix.
Meshing uses Calculix or GMSH.
Website: http://justinablack.com/pycalculix/
Source Code: https://github.com/spacether/pycalculix
This file includes binaries (programs): Gmsh (meshing), and Calculix (FEA solver).
It works on Linux and Windows.

Windows Installation:
This release is a python installation file.
One must have python 3+ installed, and the pip library.
To install it, in your console, type:
pip install pycalculix
or manually download this file and type:
pip install Drive:/folder/pycalculix-0.9.3.zip [you insert the location that you downloaded the zip file to]

Linux Linux:
Calculix binaries removed from pycalculix.
See installation instructions at: https://github.com/spacether/pycalculix
Calculix must be installed separately.

pycalculix Features:
-Static structural models can be made and analyzed
-Triangular or quadratic first or second order elements
-Plane stress, plane strain, and axisymmetric elements
-Loads: pressure, forces, water pressure, rotational speed, gravity
-Constraints: displacement constraints
-All results can be plotted and queried from python
-CAD import from dxf files
-Single or multiple parts with contact

Single parts can be analyzed or
Multiple parts with contact between them
See example files: pipe-crush-elastic.py, pinned-plate.py

0.9.3
ADDED: Import CAD geometry from dxf file
See pycalculix.CadImporter
ADDED: multiple parts with contacts
See example files: pipe-crush-elastic.py, pinned-plate.py
ADDED: Element results plotting added
Element results plotting: pycalculix.Problem.rfile.eplot()
Nodal results plotting: pycalculix.Problem.rfile.nplot()
Number Formatting:
Strain results now use scientific formatting
Others use nearest 10**3 suffixes
Max and min values now listed above the colorbar
ADDED: method to draw an arc by swept angle in degrees
part.draw_arc_angle(degrees_ccw, center_x, center_y)
ADDED: min_val and max_val can now be passed to eplot and nplot
This lets the user set the results range that they want to see:
min_val <= colored results <= max_val
Values under and over are greyed out, darker under, lighter over
ADDED: internal holes in parts
One can make circular holes, or draw complicated holes.
See example 7
ADDED: Added set_ediv method to FeaModel class.
This method sets the number of elements on a line.
line.set_ediv still works.
ADDED: Robust selection object: feamodel.view
This object is feamodel.view Most important methods are:
view.select_all, view.select, view.allsel_under
All plotting now uses the current selection set
SYNTAX: updated how parts, materials, problems are made
Make part:
pycalculix.FeaModel.make_part or pycalculix.Part
Make material:
pycalculix.FeaModel.make_matl or pycalculix.Material
Make problem (previously called model):
pycalculix.FeaModel.make_problem or pycalculix.Problem
Make Results File:
pycalculix.Problem.rfile or pycalculix.ResultsFile(problem)

pycalculix v0.92 (use with pip)

28 Dec 03:59
Compare
Choose a tag to compare

v0.92 released
pycalculix is a Python 3 library to automate and build finite element analysis (FEA) models in Calculix.
Meshing uses Calculix or GMSH.
Website: http://justinablack.com/pycalculix/
Source Code: https://github.com/spacether/pycalculix
This file includes binaries (programs): Gmsh (meshing), and Calculix (FEA solver).
It works on Linux and Windows.

Installation:
This release is a python installation file.
One must have python 3+ installed, and the pip library.
To install it, in your console, type:
pip install pycalculix
or manually download this file and type:
pip install Drive:/folder/pycalculix-0.92.zip [you insert the location that you downloaded the zip file to]

pycalculix Features:
-Static structural models can be made and analyzed
-Triangular or quadratic first or second order elements
-Plane stress, plane strain, and axisymmetric elements
-Loads: pressure, forces, water pressure, rotational speed, gravity
-Constraints: displacement constraints
-All results can be plotted and queried from python

Single parts can be analyzed or
multiple parts without contact between them