Skip to content

UML-Linux-Club/moose-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 

Repository files navigation

MOOSE Framework Information

The MOOSE framework is an open-source, parallel finite element method framework. Here we collect information for installation of MOOSE on typical systems of members of the UML Linux Club.

A course on ODE/PDEs, Engy-5310 Computational Continuum Transport Phenomena (Nuclear Energy) at UMass Lowell, Dept. of Chemical Engineering, Nuclear Energy Program, is in development where the notes and homework could be used during club meetings on this topic: MOOSE.

Table of Contents

Gentoo users are well accustomed to building from source hence these notes are brief and sufficient.

  1. Build a system-wide PETSc library.
  2. mkdir ~/pick-a-place
  3. cd ~/pick-a-place
  4. git clone https://github.com/idaholab/moose
  5. cd ~/pick-a-place/moose
  6. git checkout master

Update moose:

  1. git fetch origin
  2. git rebase origin/master
  3. git pull

Make sure environment variables are set before compiling LibMesh. Examples are left below:

  • export MOOSE_JOBS=8
  • export MOOSE_DIR=/home/moose-projects/moose
  • export PETSC_DIR=/usr/local/petsc_ompi
  • export MPI_HOME=/usr/local/ompi
  • export PATH=$MOOSE_DIR/python/peacock:$PATH

Build everything:

  • ./scripts/update_and_rebuild_libmesh.sh

Testing

  1. cd test
  2. make -j 4
  3. ./run_tests -j 4

Rebuilding or updating moose. This should be done from time to time but it will be time-consuming.

  1. cd ~/path-to-moose/
  2. git clean -xfd
  3. git submodule deinit -f libmesh
  4. git submodule update --init --recursive libmesh
  5. ./scripts/update_and_rebuild_libmesh.sh
  6. go back above and re-do the testing step

This options has not been sucessfull to anyone in our club who tried. The reason is...

  1. Peacock is not working on Ubuntu/WSL nor is Paraview.
  2. The alternative for visualization of MOOSE files is to install Paraview in the Windows 10 side (see below).

Some Important Installation Commands in 'Order'for successfull installation and compilation of Moose on Windows 10 WSL using Ubuntu (after Ubuntu is installed)

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. sudo apt-get install x11-apps libglu1-mesa
  4. sudo apt-get install build-essential
  5. echo "export DISPLAY=localhost:0" >> ~/.bashrc
  6. Restart
  7. curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  8. bash Miniconda3-latest-Linux-x86_64.sh -b -p ~/miniconda3
  9. export PATH=$HOME/miniconda3/bin:$PATH
  10. conda config --add channels conda-forge
  11. conda config --add channels idaholab
  12. export PATH=~/miniconda3/bin:$PATH
  13. conda init bash
  14. Restart
  15. conda create --name moose moose-libmesh moose-tools
  16. conda activate moose
  17. mkdir ~/projects
  18. cd ~/projects
  19. git clone https://github.com/idaholab/moose.git
  20. cd moose
  21. git checkout master
  22. cd ~/projects/moose/test
  23. make -j 4

Install Notes of Paraview for Windows 10 WSL

  1. Go to the Paraview site
  2. Install ParaView-5.8.0-Windows-Python3.7-msvc2015-64bit.exe
  3. Completely install and run
  4. Type paraview in my PC search bar
  5. Locate the paraview application and create a shortcut to desktop
  6. In Ubuntu 20.0.4 type:
    explorer.exe .
  7. Go to the projects folder in the MOOSE installation
  8. Go to results you'd like to see i.e ex01_out
  9. Open with paraview application; recall you defined the application as a shortcut to your desktop
  10. Go to desktop and open ex01_out with the paraview application.
  11. When it is up, go to the upper left corner, you should see gradient icons, and click the chain gradient icon
  12. Next to this icon is a drop down tap called vtxblockcolors
  13. Change this to the variable of interest.

We are still havig issues with the Mac install...

Installing Peacock for Mac

About

General information (installation etc.) about the MOOSE framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published