Prescribing Conditions on Fluid-Solid Interfaces
Defining conditions on interfaces between different phases, typically a wall in contact with a fluid, it is worthwhile to be careful with how variables in the conditions are evaluated. COMSOL Multiphysics supports that variables are defined differently on adjacent domains (or any other geometry dimension). Evaluating a variable with differing definitions, the mean value is returned on a boundary separating the different domains. The density, pressure, or temperature are examples of variables that may differ in a fluid and a solid. In order to specify on which side a variable is evaluated, the up and down operators (described in the COMSOL Multiphysics Reference Manual) can be used.