Andrew Moa Blog Site

STAR-CCM+ macro file recording and writing

STAR-CCM+ macro is essentially a java file, and the syntax is no different from ordinary java. Using macros can help us simplify the processing process, especially some repetitive process operations. Completing some process operations by writing macro files can greatly liberate human resources, and even complete certain operations during the solution process.

1. Record macros

The essence of STAR-CCM+ macro is a collection of various operation commands in the analysis process. Instead of explaining the complex and cumbersome java syntax + API from scratch, it is better to start with engineering issues directly.

6 minutes to read
Andrew Moa

Solve the “Authorization required, but no authorization protocol specified” error message of OpenMPI

Recently, when submitting calculations with OpenFOAM and SU2, the error message “Authorization required, but no authorization protocol specified” repeatedly appeared. Although the calculation was eventually completed by ignoring it, the constant error message made me feel uneasy.

I suspected that it was a problem with OpenMPI, and verified it with the following command:

mpirun -np 2 hostname

Sure enough, an error message appeared:

9369ef647d5aff57821c1d728ec4eca1.png

One minute to read
Andrew Moa

Abaqus and CFX solvers cannot be run in Linux mounts Windows shared folders

Recently, a problem was discovered that Abaqus and CFX cannot perform calculations on Windows shared folders mounted on Linux. Linux is deployed on a virtual machine. Although there will be no error when starting the calculation program on the local path of the virtual machine, it will cause the virtual disk to occupy more space and have a certain impact on the read and write efficiency.

1. SMB version problem

1.1 SMBv3

When using cifs to mount a shared folder before, I did not pay close attention to the version of the SMB protocol1. The following command line does not specify the protocol version:

4 minutes to read
Andrew Moa