scalarTransportModel: generalManual

Syntax

Defined in scalarTransportProperties dictionary.

scalarTransportModel generalManual;

generalManualProps
{
    phiFieldName     "phi";
    voidfractionFieldName "voidfraction";
    ScT              scalar;
    PrT              scalar;
    Cp               scalar;
    densityFieldName "rho";
    cpVolumetric     scalar;
    cpVolumetricFieldName word;
    rhoMixFieldName  word;
    eulerianFields   wordList;
    useIB            Switch;
    massBasedInternal   Switch;
}
  • phiName = name of the surface field for the SUPERFICIAL flux. (default: “phi”)

  • voidfractionName = name of the finite volume voidfraction field. (default: “voidfraction”)

  • ScT = turbulent Schmidt Nr, set to large value to suppress turbulent species transport (default: 0.7)

  • PrT = turbulent Prandtl Nr, set to large value to suppress turbulent heat transport (default: 0.7)

  • Cp = constant global heat capacity in J/K/kg which is used with the fluid density field to calculate a volumetric heat capacity cpVolumetric.

  • densityFieldName = density field to use in combination with Cp to calculate cpVolumetric. (default: “rho”)

  • cpVolumetric = set a constant volumetric heat capacity directly (units: J/K/m^3). This is the mixture density times the heat capacity specified via Cp in J/K/(m)^3_\mathrm{voidspace}.

    Note

    This setting will only be used if cpVolumetricFieldName is not set or updateMixtureProperties = false.

  • cpVolumetricFieldName = define volumetric heat capacity as a field with this name

    Note

    This field must exist. It is not created by the model.

  • rhoMixFieldName = mixture density field name

  • eulerianFields = list of fields to model, temperature field is identified by its name and must be T. Moreover, the temperature field must be the last entry in the list.

  • useIB = switch to indicate whether to consider IB style source terms (which can be written by other models) (default: false)

  • massBasedInternal = Switch how to solve the scalar transport equation internally (default: true)

Note

A heat capacity is only needed if you solve for a temperature field. If this is the case is identified by the units [K] of the corresponding scalar field.

Examples

generalManualProps
{
    phiFieldName "phi";
    ScT 0.7;
    PrT 0.7;
    Cp 1007;
    rhoMixFieldName "rhoMix";
    eulerianFields ( C  T );

    fvOptionsC {};
    fvOptionsT {};
}

Description

Solves the advection-diffusion transport equation for a dilute scalar quantity in the fluid phase. fvOptions can be specified to model sources, etc. in the fluid phase.

Exchange models with the particle phase can be included by including appropriate forceModels in couplingProperties, e.g. LaEuScalarTemp.

By default, input for all scalar transport equations for concentrations (not temperature) is expected for a volume-based concentration, i.e. c = V_c / V_fluid. Internally the transport equation is solved for a mass-based concentration (c = m_c / m_fluid). Required conversions are automatically computed internally. The switch massBasedInternal deactivates this behavior globally and directly solves the equations for the volume-based concentration scalar.

Restrictions

The user must ensure the phi field is superficial (i.e., the fluid-phase velocity times voidfraction interpolated at cell faces). The code cannot know or check whether this is the case, so the user of a certain solver has to ensure this.