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

added clarification to simple compressible model #2468

Merged
merged 1 commit into from Jun 27, 2018

Conversation

bobmyhill
Copy link
Member

A few lines to explain that the simple compressible model doesn't obey Maxwell's relations.

Copy link
Contributor

@bangerth bangerth left a 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;
Copy link
Contributor

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
Copy link
Contributor

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?

@bobmyhill bobmyhill force-pushed the improve_compressible_doc branch 3 times, most recently from f3ca488 to 1c7e1eb Compare June 26, 2018 05:30
@bobmyhill
Copy link
Member Author

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 "
Copy link
Contributor

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.

@bangerth
Copy link
Contributor

I'll let @gassmoeller make the call here.

@bobmyhill
Copy link
Member Author

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.

@bobmyhill
Copy link
Member Author

@gassmoeller, @jdannberg, is this better now?

@bangerth
Copy link
Contributor

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?

@bangerth bangerth merged commit 8803573 into geodynamics:master Jun 27, 2018
freddrichards pushed a commit to freddrichards/aspect that referenced this pull request May 20, 2019
…le_doc

added clarification to simple compressible model
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.

None yet

2 participants