This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.
Inlet Boundary Conditions
At the inlet of the model there is a number of boundary conditions that can be prescribed. Depending on the machine type, data available and many more. There is always a set of boundary conditions for velocity and pressure at the same time. Turbulent quantities as e.g. kinetic energy of turbulence , or e.g. rate of dissipation of kinetic energy of turbulence they have more simple approach and are not dependent on the choice of velocity and pressure boundary conditions.
NOTE: Inlet boundary conditions are usually supported by boundary type patch, defined in the mesh file boundary.
Function fieldAverage is included in file controlDict and it is a part of libfieldFunctionObjects.so library. Definition of these functions are created in file fieldAvg.fun. This function samples temporal average of fields and over a fixed time interval given by window parameter. Averaging function for rotor region is listed below:
fieldAverageRotor
{
// Type of functionObject
type fieldAverage;
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
// Function object enabled flag
enabled true;
// When to output the average fields
outputControl outputTime;
// Region option
region rotor;
// Reset on output
resetOnOutput true;
// Fields to be averaged - runTime modifiable
fields
(
U
{
mean on;
prime2Mean off;
base time;
window 100; // optional averaging window
}
p
{
mean on;
prime2Mean off;
base time;
window 100; // optional averaging window
}
p_rgh
{
mean on;
prime2Mean off;
base time;
window 100; // optional averaging window
}
);
}