Skip to content

Conversation

@bigfooted
Copy link
Contributor

@bigfooted bigfooted commented Nov 11, 2025

Proposed Changes

Give a brief overview of your contribution here in a few sentences.

  • implements FLUX and VALUE type wall boundary conditions for species
  • boundary condition can be modified using the python wrapper
  • default is zero flux when boundary condition is not defined

PR Checklist

Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

@bigfooted bigfooted marked this pull request as draft November 11, 2025 22:10
bigfooted and others added 5 commits November 12, 2025 09:29
@bigfooted bigfooted changed the title [WIP] custom species wall BC Custom species wall BC Dec 17, 2025
@bigfooted bigfooted marked this pull request as ready for review December 19, 2025 07:55
Comment on lines 453 to 457
for (auto iVar = 0u; iVar < nVar; iVar++) {

// Get wall species boundary condition type and value for this marker and species
su2double WallSpeciesValue = config->GetWall_SpeciesVal(Marker_Tag, iVar);
unsigned short wallspeciestype = config->GetWall_SpeciesType(Marker_Tag, iVar);
Copy link
Member

Choose a reason for hiding this comment

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

It would be better to fetch these values outside of the loop over vertices since they don't change for the marker

bigfooted and others added 13 commits December 24, 2025 08:06
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants