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:
Figure 1. EQUATION_DISPLAY
ρ t + ∇⋅ ( ρ v ) = 0
(654)
where ρ is the density, that is, the mass per unit volume, and v is the continuum velocity.
Conservation of Linear Momentum
The time rate of change of linear momentum is equal to the resultant force acting on the continuum:
Figure 2. EQUATION_DISPLAY
(ρv)t+∇⋅(ρvv)=∇⋅σ+fb
(655)
where denotes the outer product, f b is the resultant of the body forces (such as gravity and centrifugal forces) per unit volume acting on the continuum, and σ is the stress tensor. For a fluid, the stress tensor is often written as sum of normal stresses and shear stresses, σ = p I + T , where p is the pressure and T is the viscous stress tensor, giving:
Figure 3. EQUATION_DISPLAY
(ρv)t+∇⋅(ρvv)=∇⋅(pI)+∇⋅T+fb
(656)
Conservation of Angular Momentum
Conservation of angular momentum requires that the stress tensor is symmetric:
Figure 4. EQUATION_DISPLAY
σ = σ T
(657)
Conservation of Energy
When the first law of thermodynamics is applied to the control volume, the conservation of energy can be written as:
Figure 5. EQUATION_DISPLAY
(ρE)t+∇⋅(ρEv)=fbv+∇⋅(vσ)∇⋅q+SE
(658)
where E is the total energy per unit mass, q is the heat flux, and SE is an energy source per unit volume.

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:
Figure 6. EQUATION_DISPLAY
Bt+×E=0
(659)
Figure 7. EQUATION_DISPLAY
Dt-×H=-J
(660)
Figure 8. EQUATION_DISPLAY
D=ρ
(661)
Figure 9. EQUATION_DISPLAY
B=0
(662)

where ρ is the electric charge density, J is the electric current density, E is the electric field, D is the electric flux density, H is the magnetic field, and B is the magnetic flux density.

Conservation of Electric Charge
The conservation of charge within a control volume is given by the continuity equation:
Figure 10. EQUATION_DISPLAY
J + ρ t = 0
(663)

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

The equations that describe a mathematical model require realistic conditions at the domain boundaries. The number and type of boundary conditions depend on the type and order of the equations (for example, steady or unsteady, first-order or second-order). In general, there are three main types of boundary condition:
  • 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.

Discretization methods follow a common procedure:
  • 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.