muScaling
Syntax
Configured in constant/heRhoThermoCFDEMDict dictionary.
muScaling
{
muScalingField <nameOfScalingField>;
muScalingFunction <Function1>;
}
muScalingFieldis the name of the field to used to scale the viscostymuScalingFunctionis the OpenFOAMFunction1type encoding the viscosity scaling as a function ofmuScalingField(applied on a per cell basis)
Examples
Example uses the void fraction to scale the viscosity according the Krieger-Dougherty viscosity model using a table type Function1 to encode the scaling:
muScaling
{
muScalingField voidfraction;
muScalingFunction
{
type table;
values
(
(0.354500 3232.3164292368783)
(0.355000 2723.691700747595)
(0.375000 199.21942875099307)
(0.400000 64.58890881481676)
(0.425000 33.42024670841939)
(0.450000 20.94036293570043)
(0.500000 10.835174464418385)
(0.600000 4.724237149970423)
(0.700000 2.7344729555333895)
(0.800000 1.8176651042516498)
(0.900000 1.3118821838273398)
(1.000000 1.0)
);
outOfBounds clamp; // optional, will clamp values outside the range to the nearest value
interpolation linear; // optional, sets linear interpolation between values
}
}
For a full list of Function1 types please consult your OpenFOAM distribution.
Description
Calculates the viscosity used in solving the flow equations and for particle drag calculation.
Restrictions
Available for solvers that use a thermoType to configure the fluid properties, i.e. compressible flow solvers, and that use the heRhoThermoCFDEM type in the thermoType.
Home