The following changes were made to the COMSOL API between version 4.0 and 4.0a:

  • The load face parameter (Fph) of the Phase feature in AcousticStructure, TransientAcousticStructure, ThermallyInducedStresses, SolidMechanics, JouleHeatingThermalExpansion, Poroelasticity, and FluidStructureInteraction has changed interpretation from degrees to radians.
  • physics.field() of Beam and Truss are not backward compatible with 4.0. Scalar fields are now vector fields.
  • The variables for strain and stress in the Shell interface have been renamed. Variable names that began with lowercase s now begin with uppercase S. For variables names that ended in lowercase l (L), the letter was moved to the third position, e.g., emXXl is now emlXX.
  • Force loads on solids and trusses have been moved from material to spatial frame. This implies that index notation of some variables have changed from uppercase XYZ to lowercase xyz.
  • The acoustics interfaces (PressureAcoustics, TransientPressureAcoustics, AcousticStructure, and TransientAcousticStructure) have been moved from material to spatial frame. This implies that index notation of vector variables have change from uppercase XYZ to lowercase xyz.