The things that are highlighted, should be copied/pasted into the terminal.
- IF you plan a deployment inside a virtual machine, install virtualbox: (If you don't know what virtualbox is, you can ignore this section.)
- Then install ubuntu 64 bit.
- Setup memory and CPU info (virtual machine not yet booted)
- Auto-mount a shared folder so that you can move files back and forth.
- Install "guest additions" (the CD should be mounted... browse files and look for the CD, the run software)
- (Restart for ease of explanation)
- Install CalculiX software dependencies
- You may use the "software center" or ...
- Alternatively, you may use the command line of a terminal. I prefer this.
- To launch the terminal:
- Applications menu -> Accessories -> Terminal.
- Keyboard Shortcut: Ctrl + Alt + T
- Make yourself the root user.
- sudo su
- Pull the latest list of packages from Ubuntu
- apt-get update
- Upgrade to the latest available packages of those that are currently installed. This will take some time (the first time especially).
- apt-get upgrade
- Install the compilers we need:
- apt-get install libexodusii-dev libspooles-dev libblas3 libblas-dev liblapack3 liblapack-dev libarpack2 libarpack2-dev libparpack2 gfortran
- Install some (essential) software:
- apt-get install emacs paraview
- To launch the terminal:
- Become a regular use again (exit from root)
- exit
- Setup a CalculiX environment
- Follow the instructions 2-4 at here
- cd CalculiX/ccx_2.17/src
- In the src directory, alter the make process using these files:
- patch -p3 < ../../../ccx_extras.2.17.exo.patch
- patch -p3 < ../../../ccx_extras.2.17.solver.patch
- wget ubuntu-ccx-makefile-2.17.zip
- unzip -o ubuntu-ccx-makefile.zip
- Edit the makefile as necessary
- emacs Makefile
- Then make the binary:
- make -j8
- For convenience, add this working directory to your PATH
variable. This needs only be done once:- echo PATH=$PATH:~/CalculiX/ccx_2.17/src >> ~/.bashrc
- source ~/.bashrc
- Then run a test job:
- cd
- cd CalculiX
- mkdir test
- cd test
- wget /assets/examples/simplebeam.zip
- unzip simplebeam.zip
- ccx_2.17 simplebeam_spol -o exo
- Visualize with Paraview
- paraview simplebeam_spol.exo &
- In paraview, in the lower left corner, toggle U, S, and E.
- Click "apply" at the top Change the "solid color" (near top) to "S".
- Change "Surface" to "Surface with Edges"
- Spin the model in the window
-
- Support the maintenance of this software
- Support the maintenance of this software
PREVIOUSCalculix Extras