Passive Scalar Model Reference
The Passive Scalar model allows you to define variables of arbitrary value and assign them to fluid phases or individual particles.
Passive scalars can be used in physics continua for single phase and Two-Phase Thermodynamic Equilibrium flows. For Mixture Multiphase flows and all other multiphase flows, passive scalars can be used for each Eulerian phase or Lagrangian phase. Passive scalars can also flow through porous media, where they can exhibit anisotropic diffusion.
Provided By |
Single phase or mixture multiphase simulation:
Multiphase simulation:
|
||
Example Node Path | Single phase
simulation: Multiphase simulation: |
||
Requires |
Single phase simulation:
Multiphase simulation:
|
||
Properties | Key
properties are:
|
||
Right-click Actions |
On the New. node: |
||
Activates | Model Controls (child nodes) | Passive Scalars | |
Materials | Under the
Material Properties node of a passive
scalar:
|
||
Initial Conditions | Passive Scalar
See Initial Conditions. |
||
Boundary Inputs | See Boundary Settings. | ||
Region Inputs | Passive Scalar Source
Option
See Region Settings. |
||
Solvers | Passive Scalar | ||
Monitors | One residual monitor per passive scalar. | ||
Field Functions | See Field Functions. |
Passive Scalar Properties
The properties Secondary Gradients and Convection are available with the Segregated Flow and Coupled Flow models. The property SUPG is available only with the Viscous Flow model.
- Secondary Gradients
-
Neglect or include the boundary secondary gradients for diffusion and/or the interior secondary gradients at mesh faces.
- On: Default value. Solves for interior and boundary types of secondary gradient.
- Off: Does not solve for either type of secondary gradient.
- Interior Only: Solves for the interior secondary gradients only.
- Boundaries Only: Solves for the boundary secondary gradients only.
- Convection
-
In transport equations, you can choose from a range of schemes that calculate the convection term at a cell face. This calculation requires Simcenter STAR-CCM+ to compute the face value of a quantity from the surrounding cell values. The method used for computing this face value has a profound effect on the stability and accuracy of the numerical scheme. For guidance on selecting a convection scheme, see Convective Flux.
- 1st-order: First-order convection scheme.
- 2nd-order: Second-order convection scheme.
- Flow Boundary Diffusion
- When On, enables diffusion of the passive scalar along flow boundaries. Disables diffusion when Off. The default is On.
- SUPG
-
The Streamline-Upwind-Petrov-Galerkin advection stabilization term in Eqn. (1039). The default value is 1.0.
Materials and Methods
- Molecular Diffusivity
- Specifies the molecular diffusivity of the passive scalar.
- Turbulent Schmidt Number (for turbulent flows)
- Specifies the turbulent Schmidt number in Eqn. (1900) and Eqn. (1901).
Initial Conditions
- Passive Scalar
- Sets the passive scalar initial condition. The amount of passive scalar can be set as a constant array profile or a composite array profile.
For single phase and Eulerian Multiphase Mixture Two-Phase Thermodynamic Equilibrium flows, initial values of passive scalars are set for physics continua. For Segregated Multiphase, VOF Multiphase, and Eulerian Multiphase Mixture N-Phase Mixture flows, initial values of passive scalars are set for each phase.
These values can also be set on a region when custom initial conditions are specified for the region (that is, the Initial Condition Option is set to Specify Region Values).
Boundary Settings
For flow boundaries, you can set the amount of passive scalar crossing the boundary as a simple value. For wall boundaries, a choice is presented between a simple value, zero flux, specified flux, and flux derivative.
- Inflow and Outflow Boundaries
-
- Passive Scalar
- Sets the passive scalar profile.
For single phase flows, passive scalar profiles can be set for physics continua. For multiphase flows, passive scalar profiles can be set for each Eulerian phase and Lagrangian phase.
- Wall Boundaries
-
- Wall Passive Scalar Option
- Defines whether you want to enter a scalar value or a flux for this condition.
- Wall Passive Scalar Flux Derivative Option
-
This condition is available when the Specified Flux option is selected and allows you to specify a passive scalar flux derivative.
Specifying the derivative speeds up convergence. When the derivative is deactivated, oscillations occur in the passive scalar values near the wall and the solution does not converge fully.
Region Settings
For single phase flows, region sources of passive scalars are set at the region level. For multiphase flows, region sources of passive scalars are set for each phase in the region.
Applies to fluid and porous regions.
- Passive Scalar Source Option
- Defines a passive scalar source within a region.
- Passive Scalar Anisotropic Diffusion Option
- Applies to fluid regions associated with a porous phase and porous regions.
Passive Scalar Solver Properties
- Under-Relaxation Factor
- At each iteration, governs the extent to which the new solution replaces the old one. The default value is 0.8. For the theoretical background, see Eqn. (920) in "Implicit Iteration."
- Reconstruction Frozen
- When On, Simcenter STAR-CCM+ does not update reconstruction gradients with each iteration, but rather uses gradients from the last iteration in which they were updated. Activate Temporary Storage Retained in conjunction with this property. This property is Off by default.
- Reconstruction Zeroed
- When On, the solver sets reconstruction gradients to zero at the next iteration. This action means that face values used for upwinding (Eqn. (905)) and for computing cell gradients (Eqn. (917) and Eqn. (918)) become first-order estimates. This property is Off by default. If you turn this property Off after having it On, the solver recomputes the gradients on the next iteration.
- Relative Tolerance
- Sets the relative tolerance of the solver.
- Secondary Gradients
-
Neglect or include the boundary secondary gradients for diffusion and/or the interior secondary gradients at mesh faces.
- On: Default value. Solves for interior and boundary types of secondary gradient.
- Off: Does not solve for either type of secondary gradient.
- Interior Only: Solves for the interior secondary gradients only.
- Boundaries Only: Solves for the boundary secondary gradients only.
- Solver Frozen
- When On, the solver does not update any quantity during an iteration. It is Off by default. This is a debugging option that can result in non-recoverable errors and wrong solutions due to missing storage. See Finite Volume Solvers Reference for details.
Field Functions
- Boundary Passive Scalar Flux of <passive scalar>
- The rate per unit area at which a passive scalar quantity flows across a boundary.
- Diffusion Coefficient of <passive scalar>
- Diffusion coefficient of a particular passive scalar material, relating the diffusive transport of the material to the gradient. It has units of mass/length/time.
- Diffusivity of <passive scalar>
- Diffusivity of a particular passive scalar material, giving the rate at which it diffuses into another material. It has units of length2/time. This field function is activated only when you select the Laminar viscous option. This can use the Schmidt number method or a field function.
- <Passive Scalar>
- The field function object that corresponds to a particular passive scalar material. This object makes the passive scalar available as a field function.
- Turbulent Schmidt Number of <passive scalar>
- Turbulent Schmidt Number of a particular passive scalar material. This field function is activated only when you select the turbulent viscous option. This can be a constant or a field function.