Skip to content

Pressure Controller#544

Merged
FreddieWitherden merged 10 commits intoPyFR:developfrom
TobyFlynn:peter/pressure-controller-pr
Apr 15, 2026
Merged

Pressure Controller#544
FreddieWitherden merged 10 commits intoPyFR:developfrom
TobyFlynn:peter/pressure-controller-pr

Conversation

@TobyFlynn
Copy link
Copy Markdown
Contributor

This rebases @pv101 pressure controller PR #533 onto the head of develop with some refactoring. I don't have access rights to the original PR's branch, hence the new PR.

- ``pressure`` --- target area-averaged static pressure on the
boundary. Also used as the initial Riemann invariant pressure.

*float* | *string*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

String?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is evaluated with _eval_opts so it can be an expression/string that is then evaluated

Comment thread pyfr/solvers/euler/inters.py Outdated
Comment thread pyfr/solvers/euler/inters.py Outdated
Comment thread pyfr/solvers/euler/inters.py Outdated
Comment thread pyfr/solvers/navstokes/inters.py Outdated
Comment thread pyfr/solvers/euler/inters.py Outdated
Comment thread pyfr/solvers/euler/inters.py Outdated
Comment thread pyfr/solvers/euler/inters.py Outdated
Comment thread pyfr/solvers/euler/inters.py Outdated
Comment thread pyfr/solvers/euler/inters.py
@FreddieWitherden
Copy link
Copy Markdown
Contributor

Are you able to do a final test?

@TobyFlynn
Copy link
Copy Markdown
Contributor Author

Are you able to do a final test?

There was a bug where the np.void type that is used for sdata doesn't support slice indexing. Now everything works in my tests.

@FreddieWitherden FreddieWitherden merged commit da7bbc8 into PyFR:develop Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants