huilinye / OpenFSI

A highly efficient and portable fluid-structure simulation package based on immersed-boundary method
GNU General Public License v3.0
29 stars 20 forks source link

fix fcm argument numbers #2

Open ChiaCheng-Tsai opened 3 years ago

ChiaCheng-Tsai commented 3 years ago

Dear all,

I found the 2D (in in.2d_beam) and 3D cases (Flapping of plate/in.adsphere) used "fix 1 all fcm 1" and "fix 1 all fcm 1 1", respectively. There are 5 and 6 arguments for the two cases. However, in src/IB_interface/fix_fcm, we have

if (narg < 5) error->all(FLERR,"Illegal fix FCM command");.

This code gave trouble for the 2D case (Illegal fix fcm command). How can I fix it?

CC Tsai