Targets and weighting functions
Introduction
When all geometrical entities are uploaded, the physics and boundary conditions are set, and the design volume is defined, are you able to dictate what ColdStream needs to optimize. This can be defined through targets. ColdStream also gives its users control over the priority of these targets through weighting functions.
Targets
Introduction
To create a design, one or multiple design targets should be set. A target is a goal that the design process of a component should aim to meet. A design problem can have a single or multiple targets. For multiple target problems, these are often not complementary, therefore in practice, a design will mostly incorporate tradeoffs. To better manage those trade-offs, targets can be of one of two types: an objective or a constraint.
The following article goes into more detail about how changing the weighting values impacts the optimized designs.
To better manage those trade-offs, targets can be of one of two types: (1) an objective or (2) a constraint.
ImportantA design objective is a target or goal which is minimized or maximized. It is a target which is aimed to have “as little as possible” or “as much as possible”. An example goal could be maximal cooling efficiency.
A design constraint is a target which has to be satisfied, in terms of “less than X” or “more than Y”. An example could be weight, or the required pumping power being lower than the available one.
NoteA target should be measurable and should be rigorously defined. A target is set on an entity (region, subregion, boundary). Every target or every combination of targets can lead to a unique output.
| Region | Sub region | Boundary | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Inlet | Outlet | Wall | ||||||||||||||
| Solid | Fluid | Design | General | FixedFlowRateInlet | PressureInlet | FanInlet | PumpInlet | PressureOutlet | FanOutlet | PumpOutlet | HeatedWall | ExternalWall | FixedTemperatureWall | InsulatedWall | ||
| Objectives | ||||||||||||||||
| PowerDissipationMinimization | ||||||||||||||||
| PressureLossMinimization | ||||||||||||||||
| RelativeVolumeMinimization | ||||||||||||||||
| RelativeVolumeMaximization | ||||||||||||||||
| TemperatureMinimization | ||||||||||||||||
| TemperatureSpreadMinimization | ||||||||||||||||
| TemperatureVarianceMinimization | ||||||||||||||||
| VelocityVarianceMinimization | ||||||||||||||||
| VelocitySpreadMinimization | ||||||||||||||||
| ElectricWirePowerMinimization | ||||||||||||||||
| Constraints | ||||||||||||||||
| PowerDissipation | ||||||||||||||||
| PressureLoss | ||||||||||||||||
| MinimumRelativeVolume | ||||||||||||||||
| MaximumRelativeVolume | ||||||||||||||||
| MinimumTemperature | ||||||||||||||||
| MeanTemperature | ||||||||||||||||
| MaximumTemperature | ||||||||||||||||
| TemperatureVariance | ||||||||||||||||
| VelocityVariance | ||||||||||||||||
| MaximumElectricWirePower | ||||||||||||||||
| MaximumHeatingTime | ||||||||||||||||
| HeatFluxMaximization | ||||||||||||||||
| HeatFluxMinimization | ||||||||||||||||
Objectives
- PowerDissipationMinimization
- PressureLossMinimization
- RelativeVolumeMinimization
- RelativeVolumeMaximization
- TemperatureMinimization
- TemperatureSpreadMinimization
- TemperatureVarianceMinimization
- VelocityVarianceMinimization
- VelocitySpreadMinimization
- ElectricWirePowerMinimization
- HeatFluxMaximization
- HeatFluxMinimization
PowerDissipationMinimization
| Name | PowerDissipationMinimization | |
|---|---|---|
| Goal | Minimize the Power Dissipation of the flow through the design. | |
| Applicable to | Region | Fluid |
| Subregion | Not applicable to any subregion types | |
| Boundary | Not applicable to any boundary types | |
Use this goal function if you want to reduce the viscous and pressure losses of the flow through the design. This is of special importance on complex systems, where the fluid flows through several components, each with specific optimal operating conditions that need to be met. Furthermore, if the flow is driven by pumps or fans, minimizing the power dissipation results in a general improvement of efficiency. The power losses in the flow are usually related to recirculation bubbles, turbulence and sudden changes in the flow velocity, so by using this objective, the flow should become more uniform. In other words, the fluid will flow through the design with minimal energy dissipation, thus increasing the mechanical efficiency.
Mathmatical formulation
Where:
- is the value of the objective in .
- is the volumetric flux in .
- is the velocity in .
- is the pressure in .
- is the density in .
- and are respectively the inlet and outlet surfaces in .
- are the internal power sources, such as fans in .
PressureLossMinimization
| Name | PressureLossMinimization | |
|---|---|---|
| Goal | Minimize the pressure loss of the flow through the design. | |
| Applicable to | Region | Not applicable to any region types |
| Subregion | Not applicable to any subregion types | |
| Boundary | fixedFlowRateInlet fanInlet pumpInlet fanOutlet pumpOutlet |
|
Use this goal function if you want to reduce the pressure loss of the flow through the design. The pressure loss is measured as the difference in pressure between two points on the flow. This objective is useful for example when the flow is driven by a fan or pump: a higher pressure drop requires a higher input of energy, thus reducing the efficiency of the system. Furthermore, in cases where the pressure is restricted by structural or operational constraints, high pressure losses may require inlet pressures that are not possible. In other words, the difference between the pressure at the target area and the ambient pressure will be minimized. For the majority of cases these are respectively the inlet and the outlet pressures.
Mathematical formulation
Where:
- is the value of the objective in .
- is pressure distribution at the boundary where the constraint is set in .
- is the ambient pressure in .
- is the full surface of the boundary in .
RelativeVolumeMinimization
| Name | RelativeVolumeMinimization | |
|---|---|---|
| Goal | Minimize the volume of the design with respect to the available design region. | |
| Applicable to | Region | Not applicable to any region types |
| Subregion | Design | |
| Boundary | Not applicable to any boundary types | |
Use this goal function if you want to decrease the quantity of added material. This objective by itself, will generate an empty design, however when combined with other objectives or constraints it can be very useful. If the added material has a higher cost, a higher weight or has generally less attractive specifications than the original one, it is important to use as little of it as possible, while meeting the other objectives and constraints.
Mathematical formulation
Where:
- is the value of the objective in .
- is the volume of the new design, the added material in .
- is the volume of the design region in .
Advised to be used together with
As stated earlier, this objective function will on its own return the trivial solution where no structures are being added. Users are thus advised to use this objective always in conjunction with another objective or constraint.
RelativeVolumeMaximization
| Name | RelativeVolumeMaximization | |
|---|---|---|
| Goal | Maximize the volume of the design with respect to the available design region. | |
| Applicable to | Region | Not applicable to any region types |
| Subregion | Design | |
| Boundary | Not applicable to any boundary types | |
Use this goal function if you want to increase the quantity of added material. This objective by itself will generate a design that matches the design region, however when combined with other objectives or constraints it can be very useful. If the added material has a lower cost, a lower weight or is more resistant than the secondary material (the material of the parent region), it is important to use as much of it as possible, while meeting the other objectives and constraints. In other words, if the added material is “better” than the one it is substituting, this objective will substitute as much as possible.
Mathematical formulation
Where:
- is the value of the objective in .
- is the volume of the new design, the added material in .
- is the volume of the design region in .
Advised to be used together with
As stated earlier, this objective function will on its own return the trivial solution where the design region is completely filled with material. Users are thus advised to use this objective always in conjunction with another objective or constraint.
TemperatureMinimization
| Name | TemperatureMinimization | |
|---|---|---|
| Goal | Lower the temperature of a component or a region. | |
| Applicable to | Region | Solid Fluid |
| Subregion | Design General |
|
| Boundary | heatedWall externalWall |
|
Use this goal function if you want to reduce the temperature across a component by focusing on the highest temperatures. Reducing the highest temperatures on a component will results that its mean temperature will also decrease. Furthermore, the location of the highest temperature in a component may also change.
Mathematical formulation
Region/subregion:
Boundary:
Where:
- is the value of the objective in .
- is the temperature distribution on a boundary or a volume in .
- is the boundary where the objective is calculated in .
- is the (sub)region where the objective is calculated in .
TemperatureSpreadMinimization
| Name | TemperatureSpreadMinimization | |
|---|---|---|
| Goal | Bring the temperature spread across the whole component as close as possible to a specified temperature. | |
| Applicable to | Region | Solid Fluid |
| Subregion | Design General |
|
| Boundary | heatedWall externalWall |
|
Use this goal function when you want a component to run at a specified temperature. The spread of temperatures occurring in a component will be made as close as possible to the specified temperature. This can be important for thermal stresses, or when the component functions optimally at a specified temperature. In other words, temperatures of the component will be made as uniformly as possible around the specified temperature. Thus, ideally, the component would have the reference temperature everywhere. If you do not have any reference temperature to set, you can use the temperature variance minimization target instead.
Mathematical formulation
Region/subregion:
Boundary:
Where:
- is the value of the objective in .
- is the temperature distribution on a boundary or a volume in .
- is the reference temperature to be met in .
- is the boundary where the objective is calculated in .
- is the (sub)region where the objective is calculated in .
TemperatureVarianceMinimization
| Name | TemperatureVarianceMinimization | |
|---|---|---|
| Goal | Reduce the temperature variations across the whole component. | |
| Applicable to | Region | Solid Fluid |
| Subregion | Design General |
|
| Boundary | heatedWall externalWall |
|
Use this goal function if you want to reduce the temperature fluctuations across a component and make the temperature spread as uniform as possible. This can be especially important for thermal stresses. In other words the temperature will be made as uniform as possible across the complete component. If you have a specific reference temperature to focus on, you can use the temperature spread minimization target instead.
Mathematical formulation
Region/subregion:
Boundary:
Where:
- is the value of the objective in .
- is the temperature distribution on a boundary or a volume in .
- is the reference temperature to be met in .
- is the boundary where the objective is calculated in .
- is the (sub)region where the objective is calculated in .
Advised to be used together with
This objective function's sole purpose is to reduce the temperature spread as much as possible. However, this minimal temperature spread may lay at incredibly high temperatures. It is thus advised to use this objective in combination with the a temperatureMinimization objective or maximumTemperature constraint.
VelocityVarianceMinimization
| Name | VelocityVarianceMinimization | |
|---|---|---|
| Goal | Reduce the velocity variations across the whole boundary. | |
| Applicable to | Region | Not applicable to any region |
| Subregion | Not applicable to any subregions | |
| Boundary | pressureInlet pressureOutlet |
|
Use this goal function if you want to reduce the velocity fluctuations across a boundary and make the velocity spread as uniform as possible.
Mathematical formulation
Where:
- is the value of the objective in .
- is the velocity distribution on a boundary or a volume in .
- is the mean velocity in the boundary in .
- is the boundary where the objective is calculated in .
Advised to be used together with
This objective function's sole purpose is to reduce the velocity spread as much as possible at the desired boundary patch. However, this minimal velocity spread may be achieved by reducing the fluid velocity to almost 0 m/s. It is thus advised to use this objective in combination with the a powerDissipationMinimization or pressureLossMinimization objective (or their equivalent constraints).
VelocitySpreadMinimization
| Name | VelocitySpreadMinimization | |
|---|---|---|
| Goal | Bring the velocity across the entire entity as close as possible to the specified target velocity. | |
| Applicable to | Region | Not applicable to any region |
| Subregion | General subregions of a fluid body | |
| Boundary | pressureOutlet | |
Use this goal function if you want to get the velocity on an entity as close as possible to a desired target velocity. This target function is ideal if you have multiple outlets and are not looking for a uniform flow distribution.
Mathematical formulation
Where:
- is the value of the objective in .
- is the velocity distribution on the entity in .
- is the target velocity on the entity in .
- is the boundary where the objective is calculated in .
ElectricWirePowerMinimization
| Name | ElectricWirePowerMinimization | |
|---|---|---|
| Goal | Apply heating by an electric wire in the design region, but minimize the heating power. | |
| Applicable to | Region | Not applicable to any region types |
| Subregion | Design | |
| Boundary | Not applicable to any boundary types | |
| Additional input parameters |
in : The supplied voltage.
in : Electrical resistivity of the wire. |
|
Use this goal function if you use the design region to determine the circuit of an electric wire which heats the region(s) touching the design region and you want to minimize the required electric power. The voltage supplied to the wire circuit and the electrical resistivity of the wire material have to be specified. The result will be an electric circuit with a single wire with a diameter determined by the 'Electric wire' manufacturing specifications. Voltage or frequency control will not be applied, so the wire length will be varied to reach the minimal electric power. The design region has to have a constant height. The design region material to be specified is the material of the electrical wire.
Mathematical formulation
Where:
- is the value of the objective, or the electric wire power, in .
- is the supplied voltage in V.
- is the electrical resistance in .
- is the wire diameter, taken from manufacturing specifications in .
- is the electrical resistivity of the wire material in .
- is the wire length in .
Advised to be used together with
Use this target in combination with a constraint target specified on another region or boundary, such as minimumTemperature.
Heat flux maximization/minimization
The heat flux measures the flow of energy per unit area per unit time, [W/m²]. The heat flux can be mathematically formulated using Fourier’s law:
