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

Tau/Delta composition derivatives not available for multifluid_mutant #123

Closed
fefiedler opened this issue Apr 26, 2024 · 1 comment
Closed
Milestone

Comments

@fefiedler
Copy link
Contributor

Hi Ian,

I created a multifluid_mutant in python from a teqp basemodel. The basemodel has the composition derivative functions of tau and delta, like get_AtaudeltaXi, attached but the mutant not.
Here is the error when I call:

mutant.get_AtaudeltaXi(tau,ntau,delta,ndelta,x,comp,nx)

RuntimeError: Cannot take derivatives of a class that doesn't define the alphar_taudelta method

The derivative at constant temperature/density is working:

mutant.get_ATrhoXi(Temp, nt, rho, nrho, x, comp, nx)
@fefiedler fefiedler changed the title Tau/Delta Composition Derivatives not available for Multifluid_mutant Tau/Delta composition derivatives not available for multifluid_mutant Apr 26, 2024
@ianhbell
Copy link
Collaborator

Thanks for the bug report. Fix is done and being tested

@ianhbell ianhbell added this to the 0.20.0 milestone Apr 26, 2024
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

No branches or pull requests

2 participants