transferFields

Syntax

Defined in couplingProperties dictionary.

forceModels
(
    transferFields
);

transferFieldsProps
{
    scalarFields
    {
        fieldName
        {
            interpolate         word;
            interpolationScheme word;
            defaultValue        scalar;
        }
    }

    vectorFields
    {
        fieldName
        {
            interpolate         word;
            interpolationScheme word;
            defaultValue        vector;
        }
    }
};
  • interpolate = interpolate field data to particle position (default: false)

  • interpolationScheme = interpolation scheme to use for interpolation (default: cellPoint for scalarFields and cellPointFace for vectorFields)

  • defaultValue = default value to apply in case particle position cannot be mapped to a CFD cell. (default: 0 for scalar fields, (0 0 0) for vector fields)

Examples

forceModels
(
    transferFields
);

transferFieldsProps
{
    scalarFields
    {
        T {}
        p { interpolate true; }
    }
}

Description

This forceModel maps user specified Eulerian fields to particles and transfers data to Aspherix. If the interpolation switch is set, fields are interpolated to particle positions.

To avoid naming conflicts, fields transferred by this model receive a prefix (tF_) on the DEM side. To access the temperature T from the above example you, consequently, need to refer to id_tF_T. This model can also transfer thermo data, e.g. thermo:rho, on the DEM side the colon will then be replaced by an underscore.

An (optional) default value for each field can be set using the defaultValue keyword. This value is applied whenever the DEM particle cannot be mapped to a CFD cell.

Restrictions

None.