diff --git a/include/core/parameters_lagrangian.h b/include/core/parameters_lagrangian.h index 22e7b93b1d..21d4ca6157 100644 --- a/include/core/parameters_lagrangian.h +++ b/include/core/parameters_lagrangian.h @@ -187,7 +187,7 @@ namespace Parameters Point<3> insertion_box_point_1, insertion_box_point_2; // Insertion initial velocity conditions - Tensor<1, 3> initial_vel, initial_ang_vel; + Tensor<1, 3> initial_vel, initial_omega; // Insertion distance threshold double distance_threshold; diff --git a/source/core/parameters_lagrangian.cc b/source/core/parameters_lagrangian.cc index 2b955897e6..98215d0608 100644 --- a/source/core/parameters_lagrangian.cc +++ b/source/core/parameters_lagrangian.cc @@ -444,7 +444,7 @@ namespace Parameters seed_for_insertion = prm.get_integer("insertion prn seed"); initial_vel = entry_string_to_tensor3(prm, "initial velocity"); - initial_ang_vel = + initial_omega = entry_string_to_tensor3(prm, "initial angular velocity"); // Read x, y and z lists diff --git a/source/dem/insertion.cc b/source/dem/insertion.cc index 28955448dc..8d0903bb9d 100644 --- a/source/dem/insertion.cc +++ b/source/dem/insertion.cc @@ -82,9 +82,9 @@ Insertion::assign_particle_properties( double vel_x = dem_parameters.insertion_info.initial_vel[0]; double vel_y = dem_parameters.insertion_info.initial_vel[1]; double vel_z = dem_parameters.insertion_info.initial_vel[2]; - double omega_x = dem_parameters.insertion_info.initial_ang_vel[0]; - double omega_y = dem_parameters.insertion_info.initial_ang_vel[1]; - double omega_z = dem_parameters.insertion_info.initial_ang_vel[2]; + double omega_x = dem_parameters.insertion_info.initial_omega[0]; + double omega_y = dem_parameters.insertion_info.initial_omega[1]; + double omega_z = dem_parameters.insertion_info.initial_omega[2]; double fem_force_x = 0.; double fem_force_y = 0.; double fem_force_z = 0.;