fan
Description
The fan is a general boundary condition to simulate a jump
condition between a pair of patches, using the cyclic condition as a base.
The condition can accept user-defined fan curve of pressure rise vs velocity.
The non-dimensional flux is calculated as follows:
The non-dimensional pressure:
| Property | Description |
|---|---|
| Fan mean diameter | |
| Fan rpm | |
| Pressure drop | |
| Rotational speed [rad/s] |
The non-dimensional table should be given as .
Usage
The condition requires entries in both the boundary and field files.
Boundary file
<patchName>
{
type cyclic;
...
}
Field file
<patchName>
{
// Mandatory entries
type fan;
jumpTable <Function1<Type>>;
// Optional entries
phi <word>;
rho <word>;
uniformJump <bool>;
nonDimensional <bool>;
// Conditional entries
// if 'nonDimensional' is true
rpm <Function1<scalar>>;
dm <Function1<scalar>>;
// Inherited entries
patchType cyclic;
...
}
where:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
type | Type name: fan | word | yes | - |
jumpTable | Jump dataset | Function1<Type> | yes | - |
phi | Name of the flux transporting the field | word | no | phi |
rho | Name of the density field for normalising the mass flux | word | no | rho |
uniformJump | Flag to apply uniform pressure drop | bool | no | false |
nonDimensional | Flag to use non-dimensional curves | bool | no | false |
rpm | Fan rpm (for non-dimensional curve) | Function1<scalar> | conditional | - |
dm | Fan mean diameter (for non-dimensional curve) | Function1<scalar> | conditional | - |
The inherited entries are elaborated in:
- The underlying
patchTypeshould be set tocyclic.
Further information
Tutorial:
Source code:
API:
History: Introduced in version 1.5