Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add phase ratio calculations on velocity and shear stress nodes #161

Merged
merged 15 commits into from
Nov 5, 2024

Conversation

albert-de-montserrat
Copy link
Member

@albert-de-montserrat albert-de-montserrat commented Oct 24, 2024

PhaseRatios are now defined at cell centres, cell vertices, velocity nodes, and shear stress nodes

struct PhaseRatios{Backend,T} <: AbstractParticles
    center::T
    vertex::T
    Vx::T
    Vy::T
    Vz::T # 3D only
    yz::T # 3D only
    xz::T # 3D only
    xy::T # 3D only
end

update_phase_ratios!(phase_ratios, particles, xci, xvi, phases) will update the phase ratios in all these positions

@albert-de-montserrat albert-de-montserrat changed the title Add phase ratio calculations on velocity nodes Add phase ratio calculations on velocity and shear stress nodes Nov 4, 2024
@albert-de-montserrat albert-de-montserrat merged commit d340a7f into main Nov 5, 2024
13 of 14 checks passed
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.

1 participant