Skip to content

Provide a dedicated subroutine to evaluate the integrated value of a field #288

@mathrack

Description

@mathrack

Several cases estimate the integrated value of a field on

  • a face, for instance the inlet or the outlet
  • a volume, for instance to estimate the total flow rate in the domain

In case of stretching, the integration is often approximate :

ut1=ut1+(yp(j+1)-yp(j))*(ux2(1,j+1,k)-half*(ux2(1,j+1,k)-ux2(1,j,k)))

It would be best to use the stretching (ppy) to integrate exactly fields :

ub = ub + ux(i,jloc,k) / ppy(j)

It might be best to provide a dedicated module with subroutines to integrate fields on faces and volumes to avoid code duplication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions