General

Salome 8.3.0 starts slowly

After I reinstall the CentOS 7.4, Salome 8.3.0 starts slowly in about one minute. The problem may be caused by the conflict of network.service and NetworkManager.service. The possible solution is sudo systemctl disable network.service sudo systemctl stop network.service reboot Because network.service does not work on my machine, it should be disabled. Then Salome 8.3.0 starts in one second. This also… Read more →

Install SALOME 8.3 on CentOS 7

After download the file from http://files.salome-platform.org/Salome/Salome8.3.0/SALOME-8.3.0-CO7.tgz. The script is as following sudo yum install freeglut -y cd /opt/ tar zxf ~/Downloads/SALOME-8.3.0-CO7.tgz ./ echo “alias salome830=’/opt/SALOME-8.3.0-CO7/salome'” >> ~/.bashrc . ~/.bashrc salome830    Send article as PDF   

OpenFOAM 并行计算

现在,大多数研究生使用的工作电脑或笔记本都是多核多线程的CPU,在 OpenFOAM 中使用并行计算也非常方便。 Step 1: Copy a decomposeParDict file to your case/system folder. cp $FOAMRUN/tutorials/multiphase/interFoam/laminar/damBreak/system/decomposeParDict ./system/ Step 2: edit the decomposeParDict file FoamFile { version 2.0; format ascii; root “”; case “”; instance “”; local “”; class dictionary; object decomposeParDict; } // * * * * * * * * * * * * * * * * * *… Read more →

blockMesh error

Recently, I met the problem when I ran blockMesh word::stripInvalid() called for word hostname localhost-01 For debug level (= 2) > 1 this is considered fatal the problem may come from postfix mail service. when checked your postfix, it output valid_hostname: invalid character 32(decimal): localhost-01 postfix: fatal: unable to use my own hostname localhost-01 The reason was that there’s a… Read more →

Running for 8 weeks

This picture shows that I have taken excercise for two months. I began to run two months ago. Here is the record for my running, which lasted for eight weeks. It looks fine and I finished the first training finally. It makes me stronger.    Send article as PDF