Andrew Moa Blog Site

Ubuntu compile and install SU2

SU2 is an open source CFD solver developed by the School of Aeronautics and Astronautics at Stanford University. It is based on C++ and Python and is similar to OpenFOAM, but does not support polyhedral meshes. Compared with OpenFOAM, SU2 has more advantages in solving high-speed compressible flows.

Download SU2 source code:

mkdir $HOME/su2code && cd $HOME/su2code
# Only clone the latest commit version to speed up downloading
git clone https://github.com/su2code/SU2.git --depth=1

Define environment variables and create a new configuration file su2.env:

2 minutes to read
Andrew Moa

Install Ansys2025R1 on Ubuntu24.04

1. Preparation

161GB of disk space is required for the full installation. Please ensure that the remaining available disk space meets the requirements. You can choose the installation content according to your needs.

e8b6a55779447694ef28a8a9560f2bab.png
3f912a7795844465627dc878eb409e95.png

At least 8GB of memory is required during the installation process, and 16~32GB of memory is recommended.

6 minutes to read
Andrew Moa

Ubuntu24.04 builds Samba server

Since Ubuntu runs in a virtual machine, when you mount a Windows shared folder through Ubuntu, some CAE software will report a calculation error when running it in the mount point. Consider sharing the Ubuntu folder with Windows, so you need to build a Samba server on the Ubuntu system.

First, install the samba package on Ubuntu:

sudo apt install samba -y

Create a shared folder:

mkdir ${HOME}/LinuxShare

Edit the Samba configuration file /etc/samba/smb.conf:

2 minutes to read
Andrew Moa