Fundamental Equations
Simcenter STAR-CCM+ models a range of physics phenomena including fluid mechanics, solid mechanics, heat transfer, electromagnetism, and chemical reactions. On a macroscopic scale, where the typical lengths are much greater than the inter-atomic distances, the discrete structure of matter can be neglected and materials can be modeled as continua. The mathematical models that describe the physics of continua are derived from fundamental laws that express conservation principles.
The conservation laws for a continuum can be expressed using an Eulerian approach or a Lagrangian approach. In the Eulerian approach, a given volume represents a portion of space where material can flow through. In the Lagrangian approach, a given volume represents a portion of material in the body, so that an observer follows the material as it moves through space.
Simcenter STAR-CCM+ employs both Lagrangian and Eulerian descriptions, whichever is most convenient for modeling a particular field of physics. For dispersed phases, Simcenter STAR-CCM+ offers a choice, as it implements both Eulerian and Lagrangian descriptions to describe similar phenomena.
Most of the physics represented in Simcenter STAR-CCM+ stem from a core set of fundamental laws. These fundamental laws are presented here in differential form, for an infinitesimal control volume. Further sections of the theory guide develop these laws into the numerical solution techniques that Simcenter STAR-CCM+ employs.
Mechanics
Continuum mechanics studies the behavior of continua in response to mechanical forces. The fundamental laws that govern the mechanics of fluids and solids are the conservation of mass, linear momentum, angular momentum, and energy.
- Conservation of Mass
- The balance of mass through a control volume is expressed by the continuity equation:
- Conservation of Linear Momentum
- The time rate of change of linear momentum is equal to the resultant force acting on the continuum:
- Conservation of Angular Momentum
- Conservation of angular momentum requires that the stress tensor is symmetric:
- Conservation of Energy
- When the first law of thermodynamics is applied to the control volume, the conservation of energy can be written as:
Electromagnetism
Electromagnetism studies the behavior of continua in response to electromagnetic fields. The fundamental laws that describe the electromagnetic behavior of a continuum are Maxwell's equations and the conservation of electric charge.
- Maxwell's Equations
- Maxwell's equations can be written as:
- Conservation of Electric Charge
- The conservation of charge within a control volume is given by the continuity equation:
Simcenter STAR-CCM+ also models chemical reactions, radiation, and a variety of other phenomena. The mathematical models that describe these phenomena are discussed in specific sections.
Constitutive Laws
In most cases, the partial differential equations of a mathematical model are not a closed set, that is, the number of unknown quantities exceeds the number of equations. To provide closure, additional equations are added to the mathematical models. These additional equations, called constitutive laws, depend on the material under consideration.
Boundary Conditions
- Dirichlet (or first-type): specifies the values of a primary variable (that is, one of the quantities that the governing equations are solving for) at the domain boundary. Prescribed displacement in solid mechanics and prescribed pressure or velocity in fluid mechanics are Dirichlet boundary conditions.
- Neumann (or second-type): specifies the derivative of a variable at the domain boundary. Prescribed loads in solid mechanics and prescribed electric current density in electromagnetism are Neumann boundary conditions.
- Robin (or third type): specifies a linear combination of the values of a variable and its derivative at the domain boundary. Robin boundary conditions are a weighed combination of Dirichlet and Neumann boundary conditions and are less common.
Discretization and Solution
Simcenter STAR-CCM+ uses discretization methods to convert the continuous system of equations to a set of discrete algebraic equations, which can be solved using numerical techniques.
- the continuous domain is divided into a finite number of subdomains (cells/elements)
- the unknowns are stored at specific locations of the mesh (vertices, cell centroids, face centroids, or edges)
- an integral or weak form of the differential equations is employed for spatial discretization. After discretizing the time derivative, a coupled system of algebraic equations (nonlinear, in general) results that needs to be solved at each time-step
Depending on the mathematical model, Simcenter STAR-CCM+ discretizes the continuous equations using either the Finite Volume or the Finite Element method.