When working on complex models, single named degrees of freedom, or states, may be needed to track and update information that is not logically related to any particular point in space. The evolution of these states is generally governed by equations, which are independent of space, but often time-dependent. In particular, such situations arise when modeling physics in interaction with an external system — for example, a controller or an electrical circuit built from standard components. It is often possible to describe such external systems by a system of ordinary differential equations (ODEs) with a limited number of degrees of freedom. It is also possible to create a model in COMSOL Multiphysics that only solves a set of ODEs or DAEs.
The Global ODEs and DAEs Interface has a Global Equations node that is designed for implementing this type of external equation. Such equations are often tightly coupled to a model in a physical domain. The
Global Equations node is also available for any of the physics interfaces.
where the indicator variable q is zero as an initial value and remains at zero until
T exceeds
Tmelt; it then takes on a nonzero positive value. You can then use
q to switch from one set of material properties to another set that is valid when it exceeds
Tmelt.