Release Notes > The COMSOL API for Use with Java® > COMSOL 4.0a Java API Changes

COMSOL 4.0a Java API Changes
The following changes were made to the COMSOL API between versions 4.0 and 4.0a:
The units of the load face parameter (Fph) of the Phase feature in AcousticStructure, TransientAcousticStructure, ThermallyInducedStresses, SolidMechanics, JouleHeatingThermalExpansion, Poroelasticity, and FluidStructureInteraction have changed from degrees to radians.
The physics.field() operator for 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 a lowercase s now begin with an uppercase S. For variables names that ended in lowercase l (L), the letter was moved to the third position. For example, emXXl is now emlXX.
The acoustics interfaces (PressureAcoustics, TransientPressureAcoustics, AcousticStructure, and TransientAcousticStructure) have been moved from the material to the spatial frame. This means that the index notation of vector variables has changed from uppercase XYZ to lowercase xyz.
This concludes the release notes for COMSOL Multiphysics version 5.2aa.