Skip to content

Does the lack of communication between processes cause issues with the pressure gradient output? #2828

@jones-zero

Description

@jones-zero

Describe the bug
I tried to output a certain component of the pressure gradient in v8.3.0, and only modified the following code:

void CFlowCompOutput::LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint){
  SetVolumeOutputValue("GRADP",     iPoint, Node_Flow->GetGradient_Primitive(iPoint, nDim+1, 1));}
void CFlowCompOutput::SetVolumeOutputFields(CConfig *config){
  AddVolumeOutput("GRADP",     "GRADP",     "SOLUTION", "GRADP");}

The results are shown in the figure, which looks like there is no communication between processes. The same issue exists in v8.2.0 and v8.5.0, but not in v7.5.1.

Image

Bug report checklist
Please make sure that you have followed the checklist below, many common problems can be solved by:

Desktop (please complete the following information):

  • Linux (Ubuntu 22.04)
  • C++ compiler and version: g++ (GCC) 11.4.0
  • MPI implementation and version: OpenMPI 4.1.2
  • SU2 Version: v8.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions