Skip to content
Snippets Groups Projects
Commit a1149efb authored by athomps's avatar athomps
Browse files

Added elastic constant example at finite temperature

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14102 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 8a024fa6
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,9 @@ variable C56all equal 0.5*(${C56}+${C65})
variable C11cubic equal (${C11all}+${C22all}+${C33all})/3.0
variable C12cubic equal (${C12all}+${C13all}+${C23all})/3.0
variable C44cubic equal (${C44all}+${C55all}+${C66all})/3.0
# Average moduli for cubic crystals
variable bulkmodulus equal (${C11cubic}+2*${C12cubic})/3.0
variable shearmodulus1 equal ${C44cubic}
variable shearmodulus2 equal (${C11cubic}-${C12cubic})/2.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment