Skip to content

Conversation

@BenjaminRodenberg
Copy link
Member

This is the actually correct fix for the bug mentioned in #126.

With this fix we do not have to change the OpenFOAM side of the simulation, which expects a scalar valued flux. We now provide a subspace of the vector valued function space V_g as write_object. V_g.sub(1) is scalar and we can still write the scalar valued flux flux_y.

@BenjaminRodenberg
Copy link
Member Author

BenjaminRodenberg commented Dec 10, 2020

Tested functionality of this case with:

  • fenicsprecice-1.0.0rc2 (develop), runs and results look good (but I cannot plot contour lines anymore own stupidity)
  • fenicsprecice-1.0.0rc2+109.ge3878dc (parallelMidLevel), does not work due to problem with dimensions. Needs precice-config.xml from Modify FEniCS tutorials to enable parallel runs #120. However, then still says
Rank 0: Nothing to Receive
Rank 0: Nothing to Send

I think it is still safe to merge this PR, since develop is fixed and the parallel setup of this case is a different story.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants