-
Notifications
You must be signed in to change notification settings - Fork 11
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
Adds Permeability #225
Adds Permeability #225
Conversation
Co-authored by: Jacob Frasunkiewicz <jfrasunk@hotmail.com>
Co-authored by: Jacob Frasunkiewicz <jfrasunk@hotmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files📢 Thoughts on this report? Let us know! |
|
||
function compute_permeability!(k::AbstractArray, s::ConstantPermeability; kwargs...) | ||
@unpack_val k_val = s | ||
k[:] .= k_val |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k[:] .= k_val | |
k .= k_val |
Not sure why you want to convert it into a vector.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has also been done here. This can be removed in both cases I guess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes indeed
src/Viscosity/BulkViscosity.jl
Outdated
end | ||
|
||
|
||
### Georg Adjoint 2 pahse paper, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Georg Adjoint 2 pahse paper, | |
### Georg Adjoint 2 phase paper, |
src/Viscosity/BulkViscosity.jl
Outdated
""" | ||
function bulk_viscosity(η_shear, ϕ, C, R, λ, P_eff) | ||
|
||
η_bulk = η_shear / ϕ * C * (1.0 + 0.5 * (inv(R) - 1.0) * (1.0 + tanh(-P_eff * inv(λ)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
η_bulk = η_shear / ϕ * C * (1.0 + 0.5 * (inv(R) - 1.0) * (1.0 + tanh(-P_eff * inv(λ)))) | |
η_bulk = η_shear / ϕ * C * (1 + 0.5 * (inv(R) - 1) * (1 + tanh(-P_eff * inv(λ)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file slipped into the PR, should be removed or adapted to GP syntax
Co-authored-by: Albert de Montserrat <58044444+albert-de-montserrat@users.noreply.github.com>
This adds a first part of permeability to GP:
ConstantPermeability
HazenPermeability
PowerLawPermeability
CarmanKozenyPermeability