Skip to content

Erroneous trace compound calculation inside GunnsFluidSourceBoundary #179

@CsurillaK

Description

@CsurillaK

While experimenting with trace compounds in my trickless environment, I have found that the resulting steady state concentrations scale with the square of the GunnsFluidSourceBoundary flow demand:

Image

It appears that after trace compound rates are multiplied with the flow rate, the resulting mass, hence mole fraction "fluxes" are then multiplied once again with the flow rate (under the disguise of totalMolesIn) later in the influx mix call chain. Removing the first multiplication results in the theoretically correct, linearly scaling steady state concentrations for me (not saying that this is necessarily the solution though):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions