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
added clarification to simple compressible model #2468
added clarification to simple compressible model #2468
Conversation
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.
I don't understand the issue, but the text reads nicely :-)
If others think that it's good to go ahead with this, it would be nice to copy the explanation you have in the class doc also into the string at the bottom of the file that is used for the manual.
* and isothermal compressibility. The density decays linearly with the | ||
* temperature and increases exponentially with pressure. | ||
|
||
* Note that this material model is not strictly self-consistent; |
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.
Add the asterisk also for the empty line.
|
||
* Note that this material model is not strictly self-consistent; | ||
* the partial derivative of the density with respect to temperature | ||
* at constant pressure is only equal to -alpha rho along the |
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.
can you use dollar-enclosed formulas here and below?
f3ca488
to
1c7e1eb
Compare
Thanks @bangerth. I discussed this with @gassmoeller and @jdannberg, and I think we're on the same page. I added similar text to both the .cc and .h; is there any other file I need to add the text to? |
"Note that this material model is not strictly self-consistent; " | ||
"$\\partial \\rho / \\partial T |_P = -\\alpha \\rho$ only along the " | ||
"reference isentrope, and " | ||
"$\partial \rho / \partial P |_T = \beta \rho$ only if the isentrope " |
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.
Almost. You need to double up the backslashes here.
I'll let @gassmoeller make the call here. |
1c7e1eb
to
1945655
Compare
1945655
to
88a5423
Compare
I've rephrased the comments to be more pragmatic, and will add a couple of paragraphs to the ASPECT manual to describe how to make thermodynamically self-consistent material models. |
@gassmoeller, @jdannberg, is this better now? |
Let's go with this. You were also willing to write a section for the manual about these issues in general, right? If so, can you open a github issue that reminds us to do this? |
…le_doc added clarification to simple compressible model
A few lines to explain that the simple compressible model doesn't obey Maxwell's relations.